[FFmpeg-devel] [PATCH 3/4] mxf: Add two codec ULs for V210
Baptiste Coudurier
baptiste.coudurier at gmail.com
Tue Sep 27 11:23:25 CEST 2011
Hi Thomas,
On 9/27/11 2:13 AM, Tomas Härdin wrote:
>
>
> 0003-mxf-Add-two-codec-ULs-for-V210.patch
>
>
> From 1dabdaea6a1f41d2e210dd6e2ef6bd48c1d96bbc Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <tomas.hardin at codemill.se>
> Date: Mon, 26 Sep 2011 11:24:11 +0200
> Subject: [PATCH 3/4] mxf: Add two codec ULs for V210
>
> ---
> libavformat/mxf.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libavformat/mxf.c b/libavformat/mxf.c
> index 1b85a89..ad384f2 100644
> --- a/libavformat/mxf.c
> +++ b/libavformat/mxf.c
> @@ -43,6 +43,8 @@ const MXFCodecUL ff_mxf_codec_uls[] = {
> { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x01,0x7F,0x00,0x00,0x00 }, 13, CODEC_ID_RAWVIDEO }, /* Uncompressed */
> { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x03,0x02,0x00,0x00 }, 14, CODEC_ID_DNXHD }, /* SMPTE VC-3/DNxHD */
> { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x32,0x00,0x00 }, 14, CODEC_ID_H264 }, /* H.264/MPEG-4 AVC Intra */
> + { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x02 }, 16, CODEC_ID_V210 }, /* V210 */
> + { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x01 }, 16, CODEC_ID_V210 }, /* V210 */
It seems that only 15 bytes are relevant, and version should be ignored,
I think there is a function that does this already.
--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list