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

Rens Dijkshoorn rens at onlinemedia.nl
Tue Dec 2 14:27:36 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'); 
> } 
> } 
> 

With this patch no matter what you use as -vtag ai12 or no vtag option.
The vtag is always set to aivx (checked with Dumpster). But the resulting
file won't play in any Quicktime Player or FCPX 


More information about the ffmpeg-user mailing list