[FFmpeg-devel] DV Video and SAR

Charles Yates charles.yates
Wed Oct 14 21:58:47 CEST 2009

Hi all,

Wondered if you might consider the attached patches to dv handling.

First part corrects the SAR for anamorphic DVCPRO - basically, 960x720 16:9
material has a SAR of 4:3 (giving a presentation of 1280x720).

Second part enables the determination of the SAR from a direct use of the
codec (as opposed to restricting it to only being available via the avformat
raw dv avformat parser). There seems to be a hint in ffplay that SAR
reporting at the decode level should migrate to the AVFrame (would be nice
:-)), so this is certainly moving it in the right direction - but it's a
minimalist effort on my part, effectively copy/pasting the relevant parts
from the avformat side. Probably better to refactor correctly in parallel
with the AVFrame migration, but figured that it's better than nothing for


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvcpro.patch
Type: text/x-patch
Size: 1033 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091014/9b06babe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dv_sar.patch
Type: text/x-patch
Size: 1016 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091014/9b06babe/attachment-0001.bin>

More information about the ffmpeg-devel mailing list