[FFmpeg-devel] [PATCH] mov tkhd' width and height usage

Baptiste Coudurier baptiste.coudurier
Wed Jan 26 21:50:49 CET 2011

On 01/26/2011 08:34 AM, Ronald S. Bultje wrote:
> Hi,
> On Jan 26, 2011, at 4:06 AM, Maksym Veremeyenko<verem at m1stereo.tv>  wrote:
>> Maksym Veremeyenko ???????(??):
>>> Ronald S. Bultje ???????(??):
>>>> Hi,
>>>> 2011/1/20 Maksym Veremeyenko<verem at m1stereo.tv>:
>>>>> Maksym Veremeyenko ???????(??):
>>> [...]
>>>>>> Would it be a solution to set width and height equal to codec parameter
>>>>>> for mov format only (not mp4 etc..), please find attached patch...
>>>>> ping?
>>>> Is this a bug? Can you provide a commandline that produces a file that
>>>> quicktime fails to read without this patch and is fixed with it?
>>> i did not say there is a bug - i said quicktime generate mov file without any visual presentation in *tkhd* atom.
>>> Furthermore quicktime specifiaction says nothing about that - the only *ISO/IEC 14496-12* mention that.
>>> So i propose split behavior of *tkhd* width/height generating for MOV and MP4,3GP etc...
>> ping?
> I have no opinion unless it fixes a bug in eg Quicktime. Baptiste?

I think we can do that for all formats and write the "pasp" atom for 
them all. It is now part of ISO Media since the 2008 specifications and
last time I tried all players supported it.

Maksym, can you please check this ?

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list