[FFmpeg-trac] #5671(avformat:open): FFmpeg unable to decode PCM in MXF

FFmpeg trac at avcodec.org
Mon Sep 26 23:48:26 EEST 2016


#5671: FFmpeg unable to decode PCM in MXF
-------------------------------------+-------------------------------------
             Reporter:  steved       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mxf          |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by lvml):

 The same bug applies to MXF files from other sources, e.g. the soundtrack
 of "Meridian", a professionally made 4k HDR video sample that Netflix
 recently published under a Creative Commons license for the purpose of
 video encoder testing.

 The Meridian MXF files are available e.g. from the xiph.org site at
 https://media.xiph.org/video/derf/

 When trying to probe https://media.xiph.org/video/derf/meridian
 /MERIDIAN_SHR_C_EN-XX_US-NR_51_LTRT_UHD_20160909_OV/MERIDIAN_SHR_C_EN-
 XX_US-NR_51_LTRT_UHD_20160909_OV_01_EN_20_B.mxf with ffprobe compiled from
 the current git master, the output looks like this:

 {{{
 [mxf @ 0x227ae20] OPAtom misinterpreted as OP1a? KLV for edit unit 0
 extending into next edit unit is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means
 that your file has a feature which has not been implemented.
 [mxf @ 0x227ae20] If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)
 Input #0, mxf, from 'MERIDIAN_SHR_C_EN-XX_US-
 NR_51_LTRT_UHD_20160909_OV_01_EN_20_B.mxf':
   Metadata:
     application_platform: Microsoft Windows 7 Professional Service Pack 1
 (Build 7601)
     uid             : cdb57bb1-4f06-4c77-64e4-c0293f2c7163
     generation_uid  : 2d654592-04ae-4cf4-35ab-69707dc0de3a
     company_name    : Colorfront
     product_name    : Transkoder
     product_uid     : 3a4fe380-0d01-11e4-869f-3cd92b5c1dfc
     product_version : 2.7.3.20150121
     modification_date: 2016-09-09 11:29:38
     material_package_umid:
 0x060A2B340101010501010F20130000002C3E49A0BD1548ACD65D70EA10FAEB6B
     timecode        : 00:00:17;12
   Duration: 00:11:58.92, start: 0.000000, bitrate: 2304 kb/s
     Stream #0:0: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit),
 2304 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010F2013000000AE2179BC93E24600C47112668D9E21FB
 }}}

 When trying to transcode the PCM audio track in the same MXF file with
 "ffmpeg" from current git master, the output looks like this:

 {{{
 ./ffmpeg -i MERIDIAN_SHR_C_EN-XX_US-
 NR_51_LTRT_UHD_20160909_OV_01_EN_20_B.mxf test.wav
 ffmpeg version N-81773-g69449da Copyright (c) 2000-2016 the FFmpeg
 developers
 ...
 [mxf @ 0x20f1660] OPAtom misinterpreted as OP1a? KLV for edit unit 0
 extending into next edit unit is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means
 that your file has a feature which has not been implemented.
 [mxf @ 0x20f1660] If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)
 Guessed Channel Layout for Input Stream #0.0 : stereo
 Input #0, mxf, from 'MERIDIAN_SHR_C_EN-XX_US-
 NR_51_LTRT_UHD_20160909_OV_01_EN_20_B.mxf':
   Metadata:
     application_platform: Microsoft Windows 7 Professional Service Pack 1
 (Build 7601)
     uid             : cdb57bb1-4f06-4c77-64e4-c0293f2c7163
     generation_uid  : 2d654592-04ae-4cf4-35ab-69707dc0de3a
     company_name    : Colorfront
     product_name    : Transkoder
     product_uid     : 3a4fe380-0d01-11e4-869f-3cd92b5c1dfc
     product_version : 2.7.3.20150121
     modification_date: 2016-09-09 11:29:38
     material_package_umid:
 0x060A2B340101010501010F20130000002C3E49A0BD1548ACD65D70EA10FAEB6B
     timecode        : 00:00:17;12
   Duration: 00:11:58.92, start: 0.000000, bitrate: 2304 kb/s
     Stream #0:0: Audio: pcm_s24le, 48000 Hz, stereo, s32 (24 bit), 2304
 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010F2013000000AE2179BC93E24600C47112668D9E21FB
 Output #0, wav, to 'test.wav':
   Metadata:
     application_platform: Microsoft Windows 7 Professional Service Pack 1
 (Build 7601)
     uid             : cdb57bb1-4f06-4c77-64e4-c0293f2c7163
     generation_uid  : 2d654592-04ae-4cf4-35ab-69707dc0de3a
     company_name    : Colorfront
     product_name    : Transkoder
     product_uid     : 3a4fe380-0d01-11e4-869f-3cd92b5c1dfc
     product_version : 2.7.3.20150121
     modification_date: 2016-09-09 11:29:38
     material_package_umid:
 0x060A2B340101010501010F20130000002C3E49A0BD1548ACD65D70EA10FAEB6B
     ISMP            : 00:00:17;12
     ISFT            : Lavf57.44.100
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 stereo, s16, 1536 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010F2013000000AE2179BC93E24600C47112668D9E21FB
       encoder         : Lavc57.58.100 pcm_s16le
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_s24le (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 }}}

 Whatever options I tried, the result is always "an empty output file".

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5671#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list