[FFmpeg-devel] [PATCH]Set sample_aspect_ratio in real demuxer

Paul B Mahol onemda at gmail.com
Wed Dec 19 02:30:52 CET 2012

On 12/18/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Paul B Mahol <onemda <at> gmail.com> writes:
>> > Attached patch sets the sample_aspect_ratio similar
>> > to how the mov demuxer does it.
>> Huh? How that make any sense?
>> If format do not store ratio than there is no point
>> to set it in demuxer either.
> It is stored in the file format, why should the demuxer
> not set it?

Where it is stored? Your patch use width and height which have nothing
to do with sample aspect ratio.

You better fix tiff encoder and decoder where sample aspect ratio is
ignored or wrongly set in encoder case...

More information about the ffmpeg-devel mailing list