[PATCH 8/8] assume AVID's uls
Maksym Veremeyenko
verem
Mon Feb 14 14:04:48 CET 2011
---
libavformat/mxf.c | 1 +
libavformat/mxfdec.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 643a952..e4bc61b 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -27,6 +27,7 @@
const MXFCodecUL ff_mxf_data_definition_uls[] = {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x02,0x01,0x00,0x00,0x00 }, 13, AVMEDIA_TYPE_VIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x02,0x02,0x00,0x00,0x00 }, 13, AVMEDIA_TYPE_AUDIO },
+ { { 0x80,0x7D,0x00,0x60,0x08,0x14,0x3E,0x6F,0x6F,0x3C,0x8C,0xE1,0x6C,0xEF,0x11,0xD2 }, 16, AVMEDIA_TYPE_VIDEO }, /* assume AVID video track */
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AVMEDIA_TYPE_DATA },
};
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 13f6a35..d473d45 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -785,6 +785,7 @@ static const MXFContainerUL mxf_essence_container_uls[] = {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0D,0x01,0x03,0x01,0x02,0x02,0x7F,0x02 }, 16, CODEC_ID_DVVIDEO, Clip }, /* MXF-GC Clip-wrapped DV-based UndefinedSource */
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x0D,0x01,0x03,0x01,0x02,0x10,0x60,0x01 }, 16, CODEC_ID_H264, Frame }, /* MXF-GC AVC Byte Stream With VideoStream-0 SID Frame-wrapped */
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x0D,0x01,0x03,0x01,0x02,0x10,0x60,0x02 }, 16, CODEC_ID_H264, Clip }, /* MXF-GC AVC Byte Stream With VideoStream-0 SID Clip-wrapped */
+ { { 0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0xFF,0x4B,0x46,0x41,0x41,0x00,0x0D,0x4d,0x4F }, 16, CODEC_ID_H264, Clip }, /* assume AVID's clip-wrapped AVC-Intra */
// sound essence container uls
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0D,0x01,0x03,0x01,0x02,0x06,0x01,0x00 }, 16, CODEC_ID_PCM_S16LE, Frame }, /* BWF Frame wrapped */
--
1.7.4
--------------000204040006040706070000--
More information about the ffmpeg-devel
mailing list