[FFmpeg-trac] #5718(avcodec:open): ffmpeg not remapping channels for libopus automatically

FFmpeg trac at avcodec.org
Thu Dec 7 17:41:03 EET 2023


#5718: ffmpeg not remapping channels for libopus automatically
-------------------------------------+-------------------------------------
             Reporter:  agressiv     |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  libopus      |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Elliot Lee):

 So in order to check which channel layouts are allowed,
 libavcodec/libopusenc.c uses libavcodec/vorbis_data.c's array of
 ff_vorbis_ch_layouts. I think the root of the problem is that
 ff_vorbis_ch_layouts does not list AV_CHANNEL_LAYOUT_5POINT1 as a possible
 channel layout. Is there any reason why it's not there?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/5718#comment:27>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list