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

Tomas Härdin tomas.hardin at codemill.se
Sat Dec 27 16:35:19 CET 2014

On Sun, 2014-12-21 at 17:46 -0800, Mark Reid wrote:
> 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.

Have you looked at what mxf_handle_small_eubc() does? I feel this should
work similarly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141227/9845d30a/attachment.asc>

More information about the ffmpeg-devel mailing list