[FFmpeg-trac] #4592(undetermined:new): Sony mxf file fails to decode
FFmpeg
trac at avcodec.org
Thu Jun 4 23:04:40 CEST 2015
#4592: Sony mxf file fails to decode
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: mxf h264 | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by Tjoppen):
Some quick analysis:
{{{
$ mxfdump sonyx180-1080-i50.MXF
Dump an MXF file using MXFLib
- using dictionary "dict.xml"
ERROR: Cannot find valid key in first 65536 bytes of file
"sonyx180-1080-i50.MXF"
sonyx180-1080-i50.MXF: Success
}}}
mxfdump doesn't seem to think it's an MXF file. Let's have a quick look
with a hex editor:
{{{
0000 0000: 06 0E 2B 34 02 05 01 01 0D 01 03 01 04 01 01 00 ..+4....
........
0000 0010: 83 00 00 39 5E 04 00 00 00 00 00 06 0E 2B 34 04 ...9^...
.....+4.
0000 0020: 01 01 03 0D 01 03 01 02 7F 01 00 00 00 00 00 00 ........
........
0000 0030: 00 00 00 00 00 00 00 00 00 00 00 00 81 06 31 21 ........
......1!
}}}
Looks like there's two ULs here. There first one (at 0000 0000) seems to
be an UMID, while the second one (at 0000 001B) is "MXF-GC Generic Essence
Multiple Mappings". In other words, this is just an SMPTE generic essence
container. There's no header, footer or index to help demux the file and
it is not MXF. Indeed, ffmpeg considers it raw H.264, not MXF.
I suggest working out the format for yourself, then writing a simple
little tool to split it up into raw video and audio.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4592#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list