[FFmpeg-devel] movenc.c extradata handling for "aivx" video streams

Vincent Olivier vincent at up4.com
Wed Mar 12 15:00:23 CET 2014


MKTAG('a', 'i', 'v', 'x') was recently added to isom.c for FCPX-remuxed XAVC 4:2:2 10bit (originally MXF-wrapped). It is correctly linked to AV_CODEC_ID_H264. But it requires a “passthrough” handling of the extradata (because it actually is not AVCC, but Annex-B, as per probing extensively with ffprobe). What would be the best way to patch this: to provide an AVOption to force extradata passthrough for the MOV muxer in “movenc.c” or to write the provided extra data as-is when the codec tag is set to “aivx”? Or is there even a way to do so programmatically without patching?



More information about the ffmpeg-devel mailing list