[FFmpeg-trac] #5718(undetermined:new): ffmpeg not remapping channels for libopus automatically
FFmpeg
trac at avcodec.org
Fri Jul 15 23:01:48 EEST 2016
#5718: ffmpeg not remapping channels for libopus automatically
-------------------------------------+-------------------------------------
Reporter: agressiv | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: libopus | Blocked By:
channelmap | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
{{{
[libopus @ 00000000026ad020] Invalid channel layout 5.1(side) for
specified mapping family -1.
}}}
Summary of the bug:
Encode a 5.1 audio file with 5.1(side) channel map
How to reproduce:
{{{
% ffmpeg -i movie-with-51side.mkv -c:a libopus -b:a 256k output.mkv
ffmpeg version N-81025-g25ca74d
built on July 15 2016
}}}
ffmpeg version N-80101-gd970f7b automatically remapped these to the rear
channels since libopus doesn't seem to allow side channels. I now have to
explicitly add:
{{{
-af "channelmap=channel_layout=5.1"
}}}
Not sure if this is expected behavior or not. Without this channelmap, it
aborts. Command-line opusenc automatically remaps as well.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5718>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list