[FFmpeg-soc] [soc]: r1166 - eac3/eac3dec.c - channel mapping

Bartlomiej Wolowiec bartek.wolowiec at gmail.com
Thu Aug 23 22:48:08 CEST 2007


On czwartek, 23 sierpnia 2007, infernix wrote:
> infernix wrote:
> > Bartlomiej Wolowiec wrote:
> >> Recently I've tried to compile mplayer with support for eac3 (others had
> >> tried it before me ;) ). Unfortunately, when I try to open
>
> I've played with channel mapping a bit, and I think this is right:
>
> Mplayer -af channels=x:y:a:a:b:b:c:c:d:d:e:e
>
> x:0 = FL
> x:1 = FR
> x:2 = RL
> x:3 = RR
> x:4 = C
> x:5 = LFE
>
> DTS:
> -af channels=6:6:0:4:1:0:2:1:3:2:4:3:5:5
>
> EAC3:
>
> 0:x = FL
> 1:x = C
> 2:x = RL
> 3:x = RR?
> 4:x = FR?
> 5:x = LFE?
>
> -af channels=6:6:0:0:1:4:2:1:3:3:4:2:5:5
>
> I haven't found an EAC3 tech demo or test sample that gives a sound in
> each specific channel yet, so I'm having a hard time telling whether the
> rear channels are correct. Front and center seem to be OK though.
Hi,
According to the documentation:
0 = FL
1 = C
2 = RL
3 = Surround left
4 = Surround Right

5:x = LFE

for your tests you may use 
http://samples.mplayerhq.hu/A-codecs/AC3-samples/a52dec-streams/ac3test/stream , 
but use ffac3 codec instead of ffeac3. Composition of channels is the same.

btw, is there in libavcodec any possibility of giving additional information 
about channels?
-- 
Bartlomiej Wolowiec



More information about the FFmpeg-soc mailing list