Selecting Video Input

David Röthlisberger david at rothlis.net
Tue Dec 11 05:48:19 PST 2012


On 11 Dec 2012, at 13:35, Ian Davidson wrote:
> 
> The device is set to /dev/video0.  Looking in /dev, I can see /dev/video0 - but I cannot see anything else relevant.
> 
> xawtv uses /dev/video0 and then sets the input from "input = Television | Composite1 | S-Video | ..." - but I cannot see how to do that with v4l2src.  I think that it is defaulting to "Television".

Try using v4l2-ctl to configure your capture card. "v4l2-ctl --help" shows "--get-input" and "--set-input=<num>" which may be what you're looking for.

On Fedora, at least, v4l2-ctl is provided by the "v4l-utils" package.



More information about the gstreamer-devel mailing list