[FFmpeg-cvslog] avformat/movenc: Add 2048x1080 to the aivx case

Rens Dijkshoorn git at videolan.org
Mon Dec 8 04:57:20 CET 2014


ffmpeg | branch: master | Rens Dijkshoorn <rens at offlinemedia.nl> | Sat Dec  6 02:20:38 2014 +0100| [dceb8b12525c8236ffb389bbd9bf04423a570c1a] | committer: Michael Niedermayer

avformat/movenc: Add 2048x1080 to the aivx case

This improves compatibility of such files with apple tools

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dceb8b12525c8236ffb389bbd9bf04423a570c1a
---

 libavformat/movenc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 10e883c..2321748 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -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 (   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');
         }
     }



More information about the ffmpeg-cvslog mailing list