[Ffmpeg-devel] [PATCH] Set input channel on vide4linux withchannel parameter
Sat Oct 7 16:42:10 CEST 2006
On Sat, 07 Oct 2006 12:38:21 +0200
"Silvano Galliani (kysucix)" <kysucix at dyne.org> 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.
I agree but for different reasons. They are a lot of programs linking to
lavc/lavf. Why would all of those need to reinvent the wheel by adding
their own input selection code instead of using the one in lavf ?
This feature is quite mandatory to use v4l in lavf...
More information about the ffmpeg-devel