[FFmpeg-devel] Regression with AVC-intra in MXF container

Joseph Artsimovich joseph at mirriad.com
Tue Dec 4 12:41:21 CET 2012

I am using the following command-line to convert an AVC-intra MXF file 
to something else:
ffmpeg -i avci100.mxf -an -vcodec qtrle out.mov

It used to work fine but now it fails with:
Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> qtrle)
Could not write header for output file #0 (incorrect codec parameters 
?): Operation not permitted

I believe the "Operation not permitted" part is misleading though.

I uploaded a sample affected file [150MB] here: 
It's from last year's MXF PlugFest and I believe it's redistributable.

Using git bisect I identified the offending commit:

commit 3e1cf49676fb2df6445000c30dc6377b808b96da
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Sat Aug 4 15:39:22 2012 +0200

     compute_pkt_fields: do not attempt to calculate dts when the delay 
hasnt been estimated.

     Fixes ticket1242

     Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

Joseph Artsimovich
Senior C++ Applications Developer
MirriAd Ltd

More information about the ffmpeg-devel mailing list