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

FFmpeg trac at avcodec.org
Sun Aug 7 21:39:59 EEST 2016


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

Comment (by Peter.White):

 A more general workaround, without patching is to use the aformat filter,
 like i.e.:
 {{{ffmpeg -i surround_input -af aformat=channel_layouts="7.1|5.1|stereo"
 output.opus}}}
 This way one does not need to manually set an appropriate channel map with
 differing input layouts and channel numbers. Put this in a script and
 select the relevant layouts. The above example is just a quick one.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5718#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list