lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MPlayer-dev-eng] [patch] Correct channel assignment for FLAC > 2 channels
- Date: Thu, 9 Oct 2008 15:47:04 +0800
- From: Ulion <ulion2002@xxxxxxxxx>
- Subject: Re: [MPlayer-dev-eng] [patch] Correct channel assignment for FLAC > 2 channels
2008/10/8 Andrew de Quincey <adq_dvb@xxxxxxxxxxxxx>:
> Hi, I was playing about with converting some multi channel audio files to
> FLAC, and playing them with mplayer. I found the channels were played back
> through the wrong speakers.
>
> If you look at libmpcodecs/ad_ffmpeg.c, you'll see there is no specific
> support for FLAC, so (for 6 channels), it'll default to
> AF_CHANNEL_LAYOUT_5_1_B (L R Ls Rs C LFE)
>
> However, looking at the FLAC specification at
> http://flac.sourceforge.net/format.html#frame_header (channel assignment
> section) shows that FLAC actually uses an arrangement of (L R C LFE Ls Rs).
>
> The attached patch fixes this, and now my FLACs play correctly.
>
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng@xxxxxxxxxxxx
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
nice work, applied, thanks.
--
Ulion
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng