[Ffmpeg-devel] [PATCH] grabbing with V4L

Luca Abeni lucabe72
Thu Feb 2 15:36:44 CET 2006

Hi Michael,

On Thu, 2006-02-02 at 15:00 +0100, Michael Niedermayer wrote:
> Hi
> On Mon, Jan 09, 2006 at 04:45:22PM -0200, Flavio Pimentel Duarte wrote:
> > I have reported that capturing movies with ffmpeg and Creative Notebook 
> > Webcam produces a very dark movie. Later I saw the same problem with 
> > Creative NX PRO. I took a look at V4L documentation and at the mplayer 
> > source code and realized that the problem was some initialization was 
> > missing or misplaced. I reorganized the code in grab.c to solve the 
> > problem. The patch is attached.
> any volunteers for v4l in ffmpeg maintainaence or should we drop it
> in favor of v4l2?
Being the one who wrote v4l2.c, I think I have to speak up :)
I'd like to propose a tradeoff solution: let's leave grab.c coexist with
v4l2.c for some time as a backup solution (or as the solution for those
who have not v4l2), removing it only after some time (6 months?).

About v4l maintainance: I think that if grab.c fails but v4l2.c works,
people should switch to v4l2 (so, in this case I see fixing grab.c as a
waste of time).

So, Flavio, can you test the current CVS, to see if the v4l2 input works
for you?
If it works, I think we can leave grab.c as it is.
If it does not, I'll look at fixing it, and I'll also have a look at
your grab.c patch and test it.

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Solo 10 Euro per chiamare in tutto il mondo!! Scopri il vantaggio di Email Phone Card,        clicca subito
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2685&d=2-2

More information about the ffmpeg-devel mailing list