[FFmpeg-trac] #11093(undetermined:new): ffmpeg overwrting channel layout, resluting in no sound in vlc
FFmpeg
trac at avcodec.org
Mon Jul 8 01:02:44 EEST 2024
#11093: ffmpeg overwrting channel layout, resluting in no sound in vlc
-------------------------------------+-------------------------------------
Reporter: solomoncyj | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: libopus | Blocked By:
channel_layout |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
when i was encoding a dts 5.1 ch audio that had the layout of `C L R Ls Rs
LFE` , file using `ffmpeg `via `libopus` , i found that the resulting
file did not play in vlc, due to the channel layout being rewritten to `L
R C Lb Rb LFE`, whereas the original file could. however if downmixed to
stereo, there would be sound. the attached link contains a copy of the
song file which i reported to have no audio when encoded into opus format
in 5.1 ch mode . FFmpeg should retain the channel layout, or copy the data
in the channel to the correct one in the output file
How to reproduce:
{{{
% ffmpeg -i out.dts -c:a libopus -b:a 160k -af
"channelmap=channel_layout=5.1" out.opus
ffmpeg version 6.1.1
built on dnf rpm fusion
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11093>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list