[FFmpeg-devel] [PATCH] Clip-Wrapped MXF support (attempt #4)

Maksym Veremeyenko verem
Mon Feb 14 14:17:27 CET 2011


Tomas H?rdin ???????(??):
[...]
>>> I'd need a place to upload them to. There's four of them, ranging from
>>> 100 megs to 400 megs each. Since they have the index in the footer I
>>> can't cut them down to size for upload to the MPlayer ftp.
>> could you upload this file to my ftp if i provide you with 
>> login/password?
> 
> Yes, of course.

First, thanks for files.

The files you provided has AVID (i think) essence identifier:

tidkod-svep-avcintra100-1280x720-50.mxf

[mxf @ 0x95fb7a0] data definition   ul 80.7D.00.60.08.14.3E.6F 
6F.3C.8C.E1.6C.EF.11.D2
[mxf @ 0x95fb7a0] essence codec     ul 06.0E.2B.34.04.01.01.0A 
04.01.02.02.01.32.31.09
[mxf @ 0x95fb7a0] essence container ul 06.0E.2B.34.01.01.01.FF 
4B.46.41.41.00.0D.4d.4F

tidkod-svep-avcintra50-1440x1080-50i.mxf

[mxf @ 0x989c7a0] data definition   ul 80.7D.00.60.08.14.3E.6F 
6F.3C.8C.E1.6C.EF.11.D2
[mxf @ 0x989c7a0] essence codec     ul 06.0E.2B.34.04.01.01.0A 
04.01.02.02.01.32.21.02
[mxf @ 0x989c7a0] essence container ul 06.0E.2B.34.01.01.01.FF 
4B.46.41.41.00.0D.4d.4F

tidkod-svep-avcintra50-960x720-25.mxf

[mxf @ 0x88b97a0] data definition   ul 80.7D.00.60.08.14.3E.6F 
6F.3C.8C.E1.6C.EF.11.D2
[mxf @ 0x88b97a0] essence codec     ul 06.0E.2B.34.04.01.01.0A 
04.01.02.02.01.32.21.09
[mxf @ 0x88b97a0] essence container ul 06.0E.2B.34.01.01.01.FF 
4B.46.41.41.00.0D.4d.4F

that actually not listed in *RP 224.10* (http://www.smpte-ra.org/mdd/), 
so they (files) are not good for testing new feature in ffmpeg...

anyway we can try to do some assumption about uls and apply attached patch.

as result:

[root at story-parts ffmpeg]# ./ffmpeg_g -debug 5 -i 
/mnt/spool/tmp/devels/mxf/tidkod-svep-avcintra50-960x720-25.mxf -an 
-vcodec copy -f rawvideo -y 
/mnt/spool/tmp/devels/mxf/tidkod-svep-avcintra50-960x720-25.h264

/.../
[mxf @ 0x9a507a0] only frame wrapped mappings are correctly supported
[mxf @ 0x9a507a0] read packet 06.0E.2B.34.01.02.01.01 
0D.01.03.01.15.01.06.01
[mxf @ 0x9a507a0] size 105250816 offset 0x5ffe7
[mxf @ 0x9a507a0] Clip-wrapped reading. mxf->current_klv_bsize=65536, 
klv.length=105250816
[mxf @ 0x9a507a0] read packet data 06.0E.2B.34.01.02.01.01 
0D.01.03.01.15.01.06.01
[mxf @ 0x9a507a0] data size 65536 offset 0x5ffe7
/.../

[root at story-parts ffmpeg]# ls -als 
/mnt/spool/tmp/devels/mxf/tidkod-svep-avcintra50-960x720-25.h264
102784 -rw-r--r-- 1 root root 105250816 ??? 14 15:12 
/mnt/spool/tmp/devels/mxf/tidkod-svep-avcintra50-960x720-25.h264

as seen resulted file is 105250816 bytes exactly the same as logged 
above: /size 105250816 offset 0x5ffe7/

so... no garbage found...

-- 
________________________________________
Maksym Veremeyenko



More information about the ffmpeg-devel mailing list