[Ffmpeg-devel] video4linux2 input format?

Erik Slagter erik
Thu Jan 26 12:59:39 CET 2006


On Thu, 2006-01-26 at 13:02 +0100, Luca Abeni wrote:

> The idea is:
> 	- First try to use the pixel format requested by the user
> 	- If it is not supported by the card, then discover which format
> 	  the card uses by default, map it to the ffmpeg PIX_FMT_* name,
> 	  and change st->codec->pix_fmt to it
> the alternative is to try all the possible formats supported by ffmpeg
> until we find one that the card likes.

This is suboptimal, because you may end up with reading YUV420 and
converting it to YUV422 inside ffmpeg, for example. This is a problem I
also would have liked to have solved (but in the end didn't ;-)).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060126/4ad3c1e5/attachment.bin>



More information about the ffmpeg-devel mailing list