Opened 8 years ago

Closed 6 years ago

#5866 closed defect (fixed)

mxf regression with xiph sample file

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mxf regression
Cc: lvml@5t9.de Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Lutz Vieweg reported an mxf regression since bf2290a80c124c5168f78be64ee87d9efdd4040d for the following file:
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

$ ffmpeg -i MERIDIAN_SHR_C_EN-XX_US-NR_51_LTRT_UHD_20160909_OV_01_EN_20_B.mxf out.wav
ffmpeg version N-81774-g64545dd Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 30.100 / 55. 30.100
  libavcodec     57. 58.100 / 57. 58.100
  libavformat    57. 50.100 / 57. 50.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 63.100 /  6. 63.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[mxf @ 0x293c3a0] 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 @ 0x293c3a0] 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@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-09T11:29:38.000000Z
    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 'out.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-09T11:29:38.000000Z
    material_package_umid: 0x060A2B340101010501010F20130000002C3E49A0BD1548ACD65D70EA10FAEB6B
    ISMP            : 00:00:17;12
    ISFT            : Lavf57.50.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)

Change History (5)

comment:1 by lvml, 8 years ago

Cc: lvml@5t9.de added

comment:2 by smallishzulu, 7 years ago

Before -i if you define;

-f s24le -ar 48000 -ac X (X is number of audio channels)

FFmpeg decodes the input fine.

in reply to:  2 comment:3 by Carl Eugen Hoyos, 7 years ago

Replying to smallishzulu:

Before -i if you define;

-f s24le -ar 48000 -ac X (X is number of audio channels)

FFmpeg decodes the input fine.

Did you test this?

comment:4 by ddennedy, 7 years ago

I tried the following, and it produces a file with a lot of static noise in addition to some discernible sounds (but no dialog) from having watched the clip on Netflix and YouTube.

$ ffmpeg -f s24le -ar 48000 -ac 6 -i MERIDIAN_SHR_C_EN-XX_US-NR_51_LTRT_UHD_2016090 9_OV_01_EN_51_A.mxf -c copy -y MERIDIAN_SHR_C_EN-XX_US-NR_51_LTRT_UHD_20160909_OV_0 1_EN_51_A.wav

ffmpeg version N-86755-g0780ad9 Copyright (c) 2000-2017 the FFmpeg developers       
  built with gcc 7.1.0 (GCC)                                                        
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enabl
e-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-b
zlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-lib
ass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enab
le-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-l
ibopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --e
nable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-l
ibvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libweb
p --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzi
mg --enable-lzma --enable-zlib                                                      
  libavutil      55. 67.100 / 55. 67.100                                            
  libavcodec     57.100.104 / 57.100.104                                            
  libavformat    57. 75.100 / 57. 75.100                                            
  libavdevice    57.  7.100 / 57.  7.100                                            
  libavfilter     6. 95.100 /  6. 95.100                                            
  libswscale      4.  7.101 /  4.  7.101                                            
  libswresample   2.  8.100 /  2.  8.100                                            
  libpostproc    54.  6.100 / 54.  6.100                                            
[s24le @ 0000000002b425e0] Estimating duration from bitrate, this may be inaccurate 
Guessed Channel Layout for Input Stream #0.0 : 5.1                                  
Input #0, s24le, from 'MERIDIAN_SHR_C_EN-XX_US-NR_51_LTRT_UHD_20160909_OV_01_EN_51_A.mxf':                                                                              
  Duration: 00:11:58.95, bitrate: 6911 kb/s                                         
    Stream #0:0: Audio: pcm_s24le, 48000 Hz, 5.1, s32 (24 bit), 6912 kb/s           
Output #0, wav, to 'MERIDIAN_SHR_C_EN-XX_US-NR_51_LTRT_UHD_20160909_OV_01_EN_51_A.wav':                                                                                 
  Metadata:                                                                         
    ISFT            : Lavf57.75.100                                                 
    Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1, s32 (24 bit), 6912kb/s                                                                       
Stream mapping:                                                                     
  Stream #0:0 -> #0:0 (copy)                                                                                                         

I also tried without "-c copy" before that. Using "-c pcm_s24le" failed with:

[pcm_s24le @ 000000000073e880] Multiple frames in a packet.d=33.2x
[pcm_s24le @ 000000000073e880] Invalid PCM packet, data has size 13 but at least a size of 18 was expected
Error while decoding stream #0:0: Invalid data found when processing input

comment:5 by Marton Balint, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.