[FFmpeg-trac] #4698(avcodec:closed): Wrong channel layout for FLAC 3/1 channels on playback

FFmpeg trac at avcodec.org
Mon Jul 20 10:47:38 CEST 2015


#4698: Wrong channel layout for FLAC 3/1 channels on playback
-------------------------------------+-----------------------------------
             Reporter:  Mango        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  flac         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by Mango):

 Replying to [comment:27 gjdfgh]:
 > OK, so it's strictly about decoding. Makes things easier.
 >
 > Looking at this sample file again, it says:
 WAVEFORMATEXTENSIBLE_CHANNEL_MASK=0x107
 >
 > 0x107 is 0x100 (back center) + 4 (front center) + 2 (right) + 1 (left)
 >
 > So 4.0 is correct. This file is not 3.1.

 Yes, but the layout is 3/1 as shown by mediainfo
 Channel(s): 4 channels
 Channel positions: Front: L C R, Back: C

 This is also how the hardware Yamaha receiver will play the source DTS-
 HDMA.

 Hardware Yamaha receiver info with DTS-HDMA source: 3/1.
 Hardware Yamaha receiver info with flac played back with kodi (ffmpeg):
 PCM 2/2.

 LAV filters plays it correctly as 3/1.

 Thanks.

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


More information about the FFmpeg-trac mailing list