[FFmpeg-devel] [PATCH] libavformat/mxfdec.c: support demuxing opatom audio without index

Mark Reid mindmark at gmail.com
Mon Dec 22 02:46:47 CET 2014


hi,

Media Composer generates audio OPAtom mxf files that don't have index segments.
All the uncompressed pcm audio essence data contained in a single KLV packet.

This is my initial attempt to get demuxing working, I'm not too familiar with demuxing
audio or generating packets. I'm sure I'm not setting pts and dts correctly.
Using the mxf_read_packet_old function also works too but it reads the entire
essence KLV packet in to memory and these mxf files can be gigs.

I haven't seen any raw video data encoded the same way yet, so this patch only
enables demuxing uncompressed pcm audio mxf files without indexs.

I uploaded a sample mxf encoded to ftp://upload.ffmpeg.org/incoming

opatom_missing_index.mxf

I can also provide more samples if need.

Mark Reid (1):
  libavformat/mxfdec.c: support demuxing opatom audio without index

 libavformat/mxfdec.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 63 insertions(+), 3 deletions(-)

-- 
2.0.0



More information about the ffmpeg-devel mailing list