[Ffmpeg-devel] [PATCH] Set input channel on vide4linux withchannel parameter

Michael Niedermayer michaelni
Sat Oct 7 13:24:04 CEST 2006


On Sat, Oct 07, 2006 at 12:38:21PM +0200, Silvano Galliani (kysucix) wrote:
> Luca Abeni wrote:
> >Hi Silvano,
> >
> >On Fri, 2006-10-06 at 17:13 +0200, Silvano Galliani (kysucix) wrote:
> >>Here is a simple patch to video4linux (grab.c) letting input to select 
> >>video source (composite or s-video, ...) with channel option.
> >>ffmpeg help has been updated too. It was just for DV1394.
> >I think the video source selection code should not be in libavformat,
> >but in a separate program (like v4lctl), that you run before ffmpeg to
> >setup the video device.
> Imho it makes no sense at all using an external program to control your 
> video4linux behaviour. User would be obliged to install xawtv just to 
> select the s-video input of its v4l card. One external package Vs ~15 
> lines of code.
> And also, if that's the policy of video4linux in ffmpeg, all the code 
> concerning channel and normalization in grab.c shouldn't be there.
> If libavformat allow the user to read from a v4l device why deny the 
> capability to switch tuner, input, normalization and so on. ?

id also vote for channel selection support in libavformat but iam not
libavformat/v4l* maintainer ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list