[FFmpeg-user] Quicktime Files create with -vtag aivx

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Dec 2 13:19:31 CET 2014


Rens Dijkshoorn <rens <at> onlinemedia.nl> writes:

> If you change vtag to use -vtag ai12. Then the file will 
> playback in Quicktime Player 7 but not in Quicktime Player 
> X. Then if you search the resulting movie file for the 
> vtag and hexedit to 'ai12 to aivx' the file will play in 
> both version of Quicktime Player.

Could you test the following inlined patch?

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 6e51424..842b4bf 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1278,6 +1278,8 @@
                 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) {
+            tag = MKTAG('a','i','v','x');
         }
     }



Thank you, Carl Eugen



More information about the ffmpeg-user mailing list