The video flag for mediastreamer actually provides v4l version 1 support. Renaming the flag v4l or v4l1 or v4l-old would better reflect its purpose and be consistent with its v4l2 flag. Reproducible: Always Steps to Reproduce: 1. USE="video -v4l2" emerge mediastreamer Actual Results: build fails with >=linux-header-2.6.38 do to missing videodev.h (v4l version 1 header) This won't fix any problems, just reflect the real use of the flag and clarify which packages use v4l-1 during phase out since 2.6.38 kernels/headers no longer support it.
Well, actually mediastreamer does much more then support for webcams: Mediastreamer2 is a powerful and lightweighted streaming engine specialized for voice/video telephony applications. It is the library that is responsible for all the receiving and sending of multimedia streams in linphone, including voice/video capture, encoding and decoding, and rendering. Features Read/Write from to an alsa device, an oss device, a windows waveapi device Send and receive RTP packets Encode and decode the following formats: speex, G711, GSM, iLBC, AMR , H263, theora, MPEG4, and H264. Read and write from/to a wav file Read YUV pictures from a webcam (provided that it has video4linux v1 or v2 driver) Display YUV pictures (using SDL library or native apis on windows) Dual tones generation Echo cancelation, using the extraordinary echo canceler algorithm from the speex library Audio conferencing Audio parametric equalizer using a FIR filter Volume control, automatic gain control Thus video is better suited name for this task. While build issue should be fixed.
Also taking into account that configure script asks to enable v4l2 in any case, I'm going to drop v4l2 USE flag and keep video in next version bump. In any case thank you for report!
video USE flag works for me. v4l2 was dropped from ebuild, to avoid automagic dep reported in bug 352713.
and just to put final dot here: mediastreamer is useful with USE=video but without v4l2. I don't have webcam, but I'd like to see face of my peer. So I've put v4l2 back and I've fixed automagic dependency on libv4l{1,2} for bug 361107.