diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-12-02 23:35:40 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-12-02 23:35:40 +0100 |
commit | 7a4be4315fd6c5e80cd24697d1a5b67c9a3cfcaf (patch) | |
tree | 43cea41db212d575425a1ecb4c39114b8c4544bb /libavformat/movenc.c | |
parent | ebc29e8625b0c3f9c39e2b1fb17a5eab2c939c49 (diff) | |
download | ffmpeg-7a4be4315fd6c5e80cd24697d1a5b67c9a3cfcaf.tar.gz |
Support muxing 4k AVC Intra in mov.
Reported and tested by Rens Dijkshoorn, rens onlinemedia nl
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 6e5142423b..10e883c923 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1278,6 +1278,9 @@ static int mov_get_h264_codec_tag(AVFormatContext *s, MOVTrack *track) else if (rate == 50) tag = MKTAG('a','i','1','5'); else if (rate == 60) tag = MKTAG('a','i','1','6'); } + } else if ( track->enc->width == 4096 && track->enc->height == 2160 + || track->enc->width == 3840 && track->enc->height == 2160) { + tag = MKTAG('a','i','v','x'); } } |