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

Maksym Veremeyenko verem
Sun Feb 6 09:27:32 CET 2011


Baptiste Coudurier ???????(??):
> On 01/28/2011 06:31 AM, Maksym Veremeyenko wrote:
[...]
>> i updated a patches.
>>
>> *pasp* atom did not affect quicktime player in my case, so the proper
>> solution is add *clef* atom that really affect player....
>>
>>
>>
>> 0001-move-visual-presentation-dims-apertures-from-tkhd-to.patch
[...]
>> +static int mov_write_clef_tag(ByteIOContext *pb, MOVTrack *track)
>> +{
>> +    int32_t width;
>> +    double sample_aspect_ratio;
>> +
>> +    sample_aspect_ratio = av_q2d(track->enc->sample_aspect_ratio);
>> +
>> +    if(!sample_aspect_ratio || track->height != track->enc->height)
>> +        sample_aspect_ratio = 1;
> 
> In that you must not write the atom.
> 
> Let me check the situation first.
> 

any news?

-- 
________________________________________
Maksym Veremeyenko



More information about the ffmpeg-devel mailing list