[FFmpeg-trac] #7208(ffmpeg:new): Input channel layout '5 channels (FL+FR+FC+LFE+BL)' is not supported

FFmpeg trac at avcodec.org
Mon May 14 23:44:36 EEST 2018


#7208: Input channel layout '5 channels (FL+FR+FC+LFE+BL)' is not supported
-------------------------------------+-------------------------------------
             Reporter:  ralambda     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  audio        |  master
  mapping, auto_resampler, 5.1       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 '''Summary of the bug'''
 When using input sources with 1 video stream and 1 audio stream that
 contains 5 channels, within a MOV container; FFmpeg assumes the audio
 stream has a 5.1 surround channel layout in the following pattern:
 "FL+FR+FC+LFE+BL".

 This is not a valid 5.1 layout - it is missing channel "BR".

 But in reality it is not a 5.1 layout at all. It's just 5 mono channels
 contained within 1 audio stream.

 '''How to reproduce'''

 {{{
 ffmpeg -i {input}.mov {output}.mp4
 }}}


 '''Input must contain'''
 - mov container
     - video stream
         - video track
     - audio stream
         - audio track (channel 1)
         - audio track (channel 2)
         - audio track (channel 3)
         - audio track (channel 4)
         - audio track (channel 5)

 '''Command and Error'''
 {{{
 ffmpeg -i {input}.mov {output}.mp4

 ffmpeg version N-90584-g37d472a906 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
   configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
 --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-
 libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
 libx264 --enable-libx265 --enable-libopus --enable-libxvid --samples=fate-
 suite/
   libavutil      56. 12.100 / 56. 12.100
   libavcodec     58. 17.100 / 58. 17.100
   libavformat    58. 10.100 / 58. 10.100
   libavdevice    58.  2.100 / 58.  2.100
   libavfilter     7. 14.100 /  7. 14.100
   libswscale      5.  0.102 /  5.  0.102
   libswresample   3.  0.101 /  3.  0.101
   libpostproc    55.  0.100 / 55.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '{input}':
   Metadata:
     major_brand     : qt
     minor_version   : 0
     compatible_brands: qt
     creation_time   : 2018-05-06T21:06:23.000000Z
   Duration: 00:00:01.17, start: 0.000000, bitrate: 191677 kb/s
     Stream #0:0(und): Video: prores (apch / 0x68637061),
 yuv422p10le(bt709, progressive), 1920x1080, 187821 kb/s, SAR 1:1 DAR 16:9,
 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
     Metadata:
       creation_time   : 2018-05-06T21:06:23.000000Z
       handler_name    : Core Media Data Handler
       encoder         : Apple ProRes 422 HQ
       timecode        : 04:12:44:07
     Stream #0:1(und): Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, 5
 channels (FL+FR+FC+LFE+BL), s16, 3840 kb/s (default)
     Metadata:
       creation_time   : 2018-05-06T21:06:23.000000Z
       handler_name    : Core Media Data Handler
     Stream #0:2(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2018-05-06T21:06:23.000000Z
       handler_name    : Core Media Data Handler
       timecode        : 04:12:44:07
 Stream mapping:
   Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
 Press [q] to stop, [?] for help
 [aac @ 0x7f9aaa025a00] Unsupported channel layout
 Error initializing output stream 0:1 -- Error while opening encoder for
 output stream #0:1 - maybe incorrect parameters such as bit_rate, rate,
 width or height
 Conversion failed!
 }}}


 '''Additional Errors'''

 {{{
 [auto_resampler_0 @ 0x7f7fab404c40] [SWR @ 0x7f7fae004800] Input channel
 layout '5 channels (FL+FR+FC+LFE+BL)' is not supported
 [auto_resampler_0 @ 0x7f7fab404c40] Failed to configure output pad on
 auto_resampler_0
 Error reinitializing filters!
 Failed to inject frame into filter network: Invalid argument
 Error while processing the decoded data for stream #0:1
 }}}

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


More information about the FFmpeg-trac mailing list