[FFmpeg-devel] [PATCH] Relaxed pattern to find ProRes in MXF.

Steve Dierker steve.dierker at flavoursys.com
Tue Mar 31 14:41:44 CEST 2015


Hello List,

I found another MXF File containing ProRes with the following
codec_uls: 060E2B34040101010E04020102110500
Therefor I relaxed the pattern.

Related to issue #4349
---
 libavformat/mxf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 61b37f8..e57ac34 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -50,7 +50,7 @@ const MXFCodecUL ff_mxf_codec_uls[] = {
     { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x32,0x00,0x00 },  
14,       AV_CODEC_ID_H264 }, /* H.264/MPEG-4 AVC Intra */
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x31,0x11,0x01 },
14,       AV_CODEC_ID_H264 }, /* H.264/MPEG-4 AVC SPS/PPS in-band */
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x01 },
16,       AV_CODEC_ID_V210 }, /* V210 */
-
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0E,0x04,0x02,0x01,0x02,0x11,0x04,0x00 },
15,     AV_CODEC_ID_PRORES }, /* PRORES */
+
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0E,0x04,0x02,0x01,0x02,0x11,0x00,0x00 },
14,     AV_CODEC_ID_PRORES }, /* PRORES */ /* SoundEssenceCompression
*/
{ { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x03,0x04,0x02,0x02,0x02,0x03,0x03,0x01,0x00 },
14,        AV_CODEC_ID_AAC }, /* MPEG2 AAC ADTS (legacy) */
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x01,0x00,0x00,0x00,0x00 },
13,  AV_CODEC_ID_PCM_S16LE }, /* Uncompressed */
-- 
1.7.10.4

-- 
Email: steve.dierker at flavoursys.com
Github: github.com/bigzed
XMPP: bigzed at jabber.ccc.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Relaxed-pattern-to-find-ProRes-in-MXF.patch
Type: text/x-patch
Size: 1704 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150331/bfa443af/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150331/bfa443af/attachment.asc>


More information about the ffmpeg-devel mailing list