[FFmpeg-trac] #1957(undetermined:new): Invalid channel layout '0x0' when processing an MXF with 16 channel audio

FFmpeg trac at avcodec.org
Sat Nov 24 10:18:27 CET 2012


#1957: Invalid channel layout '0x0' when processing an MXF with 16 channel audio
-------------------------------------+-------------------------------------
             Reporter:  shroomM      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  mxf audio    |               Blocked By:
  channel layout                     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Trying to convert a 16 channel audio of an MXF file fails.
 The file was recorded by an Omneon playout system.

 Sample file (130 MB):
 [https://dl.dropbox.com/u/132558/16ch.mxf]

 How to reproduce:
 {{{
 ffmpeg -v 9 -loglevel 99 -i 16ch.mxf -map 0:a -c:a pcm_s24le audio.wav
 ffmpeg version N-36011-gf1470ca Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Nov 24 2012 09:44:06 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-nonfree --enable-version3
   libavutil      52.  8.100 / 52.  8.100
   libavcodec     54. 76.100 / 54. 76.100
   libavformat    54. 37.100 / 54. 37.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 23.102 /  3. 23.102
   libswscale      2.  1.102 /  2.  1.102
   libswresample   0. 17.101 /  0. 17.101
   libpostproc    52.  2.100 / 52.  2.100
 [mxf @ 0x290e220] Format mxf probed with size=2048 and score=100
 [mxf @ 0x290e220] invalid KAGSize 0 - guessing 1
 [mxf @ 0x290e220] invalid KAGSize 0 - guessing 1
 [mxf @ 0x290e220] index entry 381 + TemporalOffset 1 = 382, which is out
 of bounds
 [mxf @ 0x290e220] File position before avformat_find_stream_info() is
 180354
 [mxf @ 0x290e220] Probe buffer size limit 5000000 reached
 rfps: 24.083333 0.018822
     Last message repeated 1 times
 rfps: 24.166667 0.015556
     Last message repeated 1 times
 rfps: 24.250000 0.012600
     Last message repeated 1 times
 rfps: 24.333333 0.009956
     Last message repeated 1 times
 rfps: 24.416667 0.007622
     Last message repeated 1 times
 rfps: 24.500000 0.005600
     Last message repeated 1 times
 rfps: 24.583333 0.003889
     Last message repeated 1 times
 rfps: 24.666667 0.002489
     Last message repeated 1 times
 rfps: 24.750000 0.001400
     Last message repeated 1 times
 rfps: 24.833333 0.000622
     Last message repeated 1 times
 rfps: 24.916667 0.000156
     Last message repeated 1 times
 rfps: 25.000000 0.000000
 rfps: 25.083333 0.000156
 rfps: 25.166667 0.000622
 rfps: 25.250000 0.001400
 rfps: 25.333333 0.002489
 rfps: 25.416667 0.003889
 rfps: 25.500000 0.005600
 rfps: 25.583333 0.007622
 rfps: 25.666667 0.009956
 rfps: 25.750000 0.012600
 rfps: 25.833333 0.015556
 rfps: 25.916667 0.018822
 rfps: 49.083333 0.018822
     Last message repeated 1 times
 rfps: 49.166667 0.015556
     Last message repeated 1 times
 rfps: 49.250000 0.012600
     Last message repeated 1 times
 rfps: 49.333333 0.009956
     Last message repeated 1 times
 rfps: 49.416667 0.007622
     Last message repeated 1 times
 rfps: 49.500000 0.005600
     Last message repeated 1 times
 rfps: 49.583333 0.003889
     Last message repeated 1 times
 rfps: 49.666667 0.002489
     Last message repeated 1 times
 rfps: 49.750000 0.001400
     Last message repeated 1 times
 rfps: 49.833333 0.000622
     Last message repeated 1 times
 rfps: 49.916667 0.000156
     Last message repeated 1 times
 rfps: 50.000000 0.000000
 rfps: 50.083333 0.000156
 rfps: 50.166667 0.000622
 rfps: 50.250000 0.001400
 rfps: 50.333333 0.002489
 rfps: 50.416667 0.003889
 rfps: 50.500000 0.005600
 rfps: 50.583333 0.007622
 rfps: 50.666667 0.009956
 rfps: 50.750000 0.012600
 rfps: 50.833333 0.015556
 rfps: 50.916667 0.018822
 [mxf @ 0x290e220] File position after avformat_find_stream_info() is
 5305906
 Input #0, mxf, from '16ch.mxf':
   Metadata:
     timecode        : 08:26:17:02
   Duration: 00:00:15.00, start: 0.000000, bitrate: 69798 kb/s
     Stream #0:0, 14, 1/25: Video: mpeg2video (4:2:2), yuv422p, 1920x1080
 [SAR 3:4 DAR 4:3], 1/50, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Stream #0:1, 14, 1/48000: Audio: pcm_s24be, 48000 Hz, 16 channels,
 s32, 18432 kb/s
 File 'audio.wav' already exists. Overwrite ? [y/N] y
 Setting entry with key 'time_base' to value '1/48000'
 [abuffer @ 0x290cce0] Setting entry with key 'sample_rate' to value
 '48000'
 [abuffer @ 0x290cce0] Setting entry with key 'sample_fmt' to value 's32'
 [abuffer @ 0x290cce0] Setting entry with key 'channel_layout' to value
 '0x0'
 [graph 0 input from stream 0:1 @ 0x290b560] Invalid channel layout '0x0'
 Error opening filters!
 Statistics: 5191292 bytes read, 3 seeks
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1957>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list