You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/movenc: Add 2048x1080 to the aivx case
This improves compatibility of such files with apple tools Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
208c03a4d8
commit
dceb8b1252
@@ -1279,7 +1279,8 @@ static int mov_get_h264_codec_tag(AVFormatContext *s, MOVTrack *track)
|
|||||||
else if (rate == 60) tag = MKTAG('a','i','1','6');
|
else if (rate == 60) tag = MKTAG('a','i','1','6');
|
||||||
}
|
}
|
||||||
} else if ( track->enc->width == 4096 && track->enc->height == 2160
|
} else if ( track->enc->width == 4096 && track->enc->height == 2160
|
||||||
|| track->enc->width == 3840 && track->enc->height == 2160) {
|
|| track->enc->width == 3840 && track->enc->height == 2160
|
||||||
|
|| track->enc->width == 2048 && track->enc->height == 1080) {
|
||||||
tag = MKTAG('a','i','v','x');
|
tag = MKTAG('a','i','v','x');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user