Opened 6 years ago
Closed 6 years ago
#7208 closed enhancement (needs_more_info)
Input channel layout '5 channels (FL+FR+FC+LFE+BL)' is not supported
Reported by: | ralambda | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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)
- video stream
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
Change History (2)
comment:1 by , 6 years ago
Component: | ffmpeg → undetermined |
---|---|
Keywords: | audio mapping auto_resampler 5.1 removed |
Priority: | normal → wish |
Type: | defect → enhancement |
comment:2 by , 6 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Please provide the input sample and please explain how it was created.