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

FFmpeg trac at avcodec.org
Mon Jul 20 12:04:40 CEST 2015


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

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 This leaves the problem of the red error on encoding, which should not be
 there:

 {{{

 [flac @ 00000000047178a0] Channel layout not supported by Flac, output
 stream wi
 ll have incorrect channel layout.
 }}}
 4.0 (3/1) is supported by FLAC since version 1.1.3 in 2006 with the
 WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag.

 So it IS supported by FLAC, but not as one of the standard layouts, it is
 supported with WAVEFORMATEXTENSIBLE.

 If the message should be kept, then is should be replaced with a warning
 (and not an error), perhaps something like ''"Some broken players may
 output this stream with an incorrect channel layout"''.

 Ex:
 LAV and MPC-HC play it correctly.
 VLC and kodi play it wrong as 2F/2R

 Thanks.

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


More information about the FFmpeg-trac mailing list