[Ffmpeg-devel] [PATCH] dv pixel format encoding fix
Thu Mar 9 17:13:11 CET 2006
Here is a patch to fix pixel format while encoding in dv.
SMPTE 314M defines 411P and 422P, and specifies atp as 1. Appendix A
shows that IEC 61834 used 0 as atp. SMPTE 314 specifies STYPE to be 1
for 422P and 0 for 411P, I assume 420 is 0.
That fixes pix_fmt detection on most dv streams.
I still have problems with DV in MOV since I could not figure out yet
where atp is set in codec encoding functions. Roman could you help me on
this one ?
It seems since you removed the profile check, encoding with incorrect
pix_fmt or resolution produces 0 bytes frames.
I think that this check should really be resurrected until codec
restrictions are handled differently, at least for encoder, else it's
hard to figure out that something went wrong, what do you think ?
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel