Re: [libav-devel] [PATCH] gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps

2011-06-23 Thread Tomas Härdin
Tomas Härdin skrev 2011-06-23 16:22: Hi It seems 25 fps DV muxed in GXF is misdetected as 50 fps by lavf. The attached patch fixes this issue by setting the duration of DV packets to fields_per_frame. Oops, forgot to rebase. Updated patch attached. /Tomas >From 642a2f05468d0d53e7587d8efae0040

[libav-devel] [PATCH] gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps

2011-06-23 Thread Tomas Härdin
Hi It seems 25 fps DV muxed in GXF is misdetected as 50 fps by lavf. The attached patch fixes this issue by setting the duration of DV packets to fields_per_frame. Without this ffprobe reports packets as having duration=1, but all dts:es are even (0, 2, 4, time_base=1/50) which confuses lavf.