[FFmpeg-user] XAVC to Quicktime MOV

Rens Dijkshoorn rens at onlinemedia.nl
Fri Nov 28 17:49:24 CET 2014

On Fri, Nov 28, 2014 at 4:06 PM, Rens Dijkshoorn <rens at onlinemedia.nl> wrote: 
> The ffmpeg-2.4.3 version is broken for this command 
> ffmpeg -i AVC100CBG_1920_1080_H422IP.MXF -map 0:0 -map 0:1 -map 0:2 -c copy -vtag ai12 FFMPEG.MOV 

Just curious but why ai12 when it's XAVC? Isn't aivx the correct 
fourCC in this case? 


When i rewrap using -vtag aivx

ffmpeg -i AVC100CBG_1920_1080_H422IP.MXF -map 0:0 -map 0:1 -map 0:2 -c copy -vtag aivx FFMPEG.MOV

Then Quicktime ( only tested with 7 ) can't play the file, furter more FCPX-10.1.3 uses the same
vtag ai12 when rewrapping this to an original AVC-Intra format in mov.

The logic I found checking what FCPX uses to rewrap to mov but not
completly tested all possible combinations

- ai12 is used for HD 25, 29,97
- ai13 is used for HD 23.98 

- aivx is used for 4K formats

If i use -vtag aivx in ffmpeg then playing in Quicktime won't work but cmd-I shows the correct info
but the player window remains green. Mplayer will playback video.

FFmbc refuses to use -vtag aivx but when using -vtag ai12 produces a 4K file that plays in quicktime
the cmd-I info is not consistend with the video as would be expected ( wrong frame rate).
Trying same thing in FFMPEG but this won't work for an AVC_4096_2160_H422IP at L52 50FPS file.

A AVC_4096_2160_H422IP at L51 25FPS -vtag ai12 plays when rewrapped bij FFMBC and FFMPEG in Quicktime-7,
Quicktime PlayerX prompts an error " operation could not be completed ".

There are a lot more options to investigate but the initial conclusion is that everything above HD frame
size has problems in just rewrapping to quickitme mov. FFmbc-7.1 seems to produce a more tolerant
version but is not prefect either.

Om my test system i have FCPX installed and the Sony XAVC plugin.

Any Suggestion to get this fixed are more then welcome.


More information about the ffmpeg-user mailing list