[FFmpeg-trac] #9703(undetermined:new): Multichannel wav muxed in mkv

FFmpeg trac at avcodec.org
Tue Mar 29 15:43:16 EEST 2022


#9703: Multichannel wav muxed in mkv
-------------------------------------+-------------------------------------
             Reporter:  Jose         |                     Type:  defect
  Peirote                            |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 How to reproduce:
 ffmpeg -i input.mkv -i L_R_C_Cb.wav -acodec copy output.mkv

 The PCM track is created with CodecID A_PCM/INT/LIT and lost the channel
 map.
 That track is wrong extracted/played like with the default for 4 channels:
 L R Ls Rs

 The track must be muxed with CodecID A_MS/ACM to preserve the channel map
 in the Codec Private data (a copy of the fmt chunk from
 WAVE_EXTENSIBLE_FORMAT header)

 That method is used OK with wformat (from wav header) not 1,3,0xfffe. I
 suggest must be used also for 0xfffe (WAVE_EXTENSIBLE_FORMAT header)

 More info here:
 https://forum.doom9.org/showthread.php?p=1966534#post1966534
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9703>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list