[FFmpeg-devel] [PATCH] mov tkhd' width and height usage
Maksym Veremeyenko
verem
Fri Feb 25 16:51:46 CET 2011
24.02.11 11:03, Benjamin Larsson ???????(??):
[...]
>> + if (track->enc->codec_type == AVMEDIA_TYPE_VIDEO) {
>> + double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio);
>> + if (0.0 != sample_aspect_ratio&& 1.0 != sample_aspect_ratio)
>> + mov_write_tapt_tag(pb, track);
>> + };
>
> I'm quite sure this in not valid for mp4 so this needs to be
>
> if(track->enc->codec_type == AVMEDIA_TYPE_VIDEO&&
> track->mode == MODE_MOV) {
that is correct - i created some mp4 files with Quicktime and they did
not contains *tapt*, so i updated a patches...
--
________________________________________
Maksym Veremeyenko
More information about the ffmpeg-devel
mailing list