[Ffmpeg-devel] [PATCH] video4linux2 input

Luca Abeni lucabe72
Mon Jan 30 15:04:58 CET 2006


Hi all,

I think my video4linux2 input format is ready for inclusion. It still
has some unimplemented features (for example, read() and user-pointer
based input still have to be implemented, and QBUF/DQBUF failures are
currently not handled) but it works fairly well (for me, it works better
than the current video4linux input), and I think missing features can be
added later.

So, attached are the new v4l2.c file and a patch for ffmpeg CVS (I hope
I got the configure part right... ;-).

Changes from the previous version of v4l2.c:
- removed the crop stuff
- introduced code to correctly (I hope ;-) set interlaced_frame and top_field_first
- changed some constants from "#define" to "enum"
- changed the code to use as many video buffers as possible
- some cleanups

If there are problems in the code preventing its inclusion in ffmpeg
CVS, let me know and I'll do my best to fix them.


			Thanks,
				Luca
-- 
_____________________________________________________________________________
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
 
 Sponsor:
 Trova la tua anima gemella con Meetic. Iscriviti subito gratis: potrai trovare migliaia di single in linea e chattare con loro!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4048&d=30-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.c
Type: text/x-csrc
Size: 13233 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060130/15e62e84/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.diff
Type: text/x-patch
Size: 3904 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060130/15e62e84/attachment.bin>



More information about the ffmpeg-devel mailing list