[FFmpeg-cvslog] mxfdec: detect uncomp pictures using essence container ul

Philip de Nier git at videolan.org
Tue Feb 28 20:36:58 CET 2012


ffmpeg | branch: master | Philip de Nier <philipn at rd.bbc.co.uk> | Tue Feb 28 14:16:38 2012 +0000| [c2d11a8b863fcc89104fd3b39ecdd940a6072904] | committer: Michael Niedermayer

mxfdec: detect uncomp pictures using essence container ul

This supports detection of uncompressed picture in files that
didn't include a Picture Coding Label. The lables weren't
available until SMPTE 377-1 and RP224v10

Reviewed-by: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c2d11a8b863fcc89104fd3b39ecdd940a6072904
---

 libavformat/mxfdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 26bd0ad..13d2638 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -872,6 +872,7 @@ static const MXFCodecUL mxf_picture_essence_container_uls[] = {
     // video essence container uls
     { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x02,0x0D,0x01,0x03,0x01,0x02,0x04,0x60,0x01 }, 14, CODEC_ID_MPEG2VIDEO }, /* MPEG-ES Frame wrapped */
     { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0D,0x01,0x03,0x01,0x02,0x02,0x41,0x01 }, 14,    CODEC_ID_DVVIDEO }, /* DV 625 25mbps */
+    { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0D,0x01,0x03,0x01,0x02,0x05,0x00,0x00 }, 14,   CODEC_ID_RAWVIDEO }, /* Uncompressed Picture */
     { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },  0,      CODEC_ID_NONE },
 };
 static const MXFCodecUL mxf_sound_essence_container_uls[] = {



More information about the ffmpeg-cvslog mailing list