[FFmpeg-devel] [PATCH]lavf/mxfdec: Allow MXF parser to identify the Canon XF-HEVC codec/format for video essence
Tomas Härdin
tjoppen at acc.umu.se
Mon Mar 4 20:11:33 EET 2019
sön 2019-03-03 klockan 21:59 -0500 skrev Matthew McKenna:
> Hello ffmpeg-devel:
>
> Attached is a patch to allow the MXF parser to identify the Canon
> XF-HEVC codec for video essence.
>
> This codec/containerization is found in the Canon XF-705 camera that
> Canon released in 2018. The camera can encode video using HEVC at
> either a 110 or 160 Mbps bitrate, and the video is 3840x2160, YCC 4:2:2
> at 10-bit depth (at a variety of choosable framerates).
>
> At the moment there is little information published about the
> containerization of the video, and I am not aware of it being a SMPTE
> standard or otherwise. However, by identifying the video as
> AV_CODEC_ID_HEVC by way of its universal label (UL), ffmpeg can make use
> of the video. Bitrate, resolution, color space, framerate, and bit
> depth all seem to be correctly identified.
>
> Sample MXF files, as well as their successful conversion thru a patched
> ffmpeg, are available at
> http://www.matthewmckenna.com/contrib/ffmpeg/xf-hevc
>
> + { {
> 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0a,0x0e,0x15,0x00,0x04,0x02,0x10
> ,0x00,0x01 }, 14, AV_CODEC_ID_HEVC, NULL, 15 }, /* Canon XF-
> HEVC */
Got any idea what other ULs there are for this? If not then you should
probably be more strict and pick a matching length of 16 instead of 14.
Especially since you say there is no speficiation for it yet.
/Tomas
More information about the ffmpeg-devel
mailing list