[FFmpeg-trac] #10395(undetermined:new): Broken MXF support
FFmpeg
trac at avcodec.org
Thu Jun 1 14:59:00 EEST 2023
#10395: Broken MXF support
-------------------------------------+-------------------------------------
Reporter: slydiman | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Here is the MXF sample recorded by Canon C300
http://slydiman.me/ffmpeg/mxf/test.mxf (60MB)
I used ffmpeg nightly build version 20230507 with libavformat 60.5.100
ffmpeg_2021 is ffmpeg version 20210714 with libavformat 59.4.100
How to reproduce:
{{{
ffmpeg -i test.mxf -c:v copy -y video.h264
ffmpeg_2021 -i video.h264 -c:v copy -y test1_ok.mxf
ffmpeg -i video.h264 -c:v copy -y test2_fail.mxf
[mxf @ 000002e37b40eac0] Unsupported frame rate 1200000/1. Set -strict
option to 'unofficial' or lower in order to allow it!
[out#0/mxf @ 000002e37b409900] Could not write header (incorrect codec
parameters ?): Invalid argument
Invalid argument
ffmpeg -r 25 -i video.h264 -c:v copy -y test3_ok.mxf
}}}
{{{
ffmpeg -i test.mxf -c:v copy -an -y video.mp4
ffmpeg -i video.mp4 -c:v copy -y test4_fail.mxf
[mxf @ 0000022e9ad499c0] Unsupported frame rate 12800/1. Set -strict
option to 'unofficial' or lower in order to allow it!
[out#0/mxf @ 0000022e9ad49880] Could not write header (incorrect codec
parameters ?): Invalid argument
Invalid argument
ffmpeg -r 25 -i video.mp4 -c:v copy -y test5_fail.mxf
[mxf @ 00000246dee3b180] h264 profile not supported
[mxf @ 00000246dee3b180] could not get h264 profile
av_interleaved_write_frame(): Operation not permitted
[out#0/mxf @ 00000246dceb9400] Error muxing a packet
[out#0/mxf @ 00000246dceb9400] Error writing trailer: Unknown error
occurred
[out#0/mxf @ 00000246dceb9400] video:1878kB audio:0kB subtitle:0kB other
streams:0kB global headers:10kB muxing overhead: unknown
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10395>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list