[MPlayer-dev-eng] channel order (was: [ffdts] multichannel decode [patch])

Florian Dietrich flodt8 at yahoo.de
Sun Oct 17 11:52:18 CEST 2004


Hi,

 --- Wei Jiang <jiangw98 at yahoo.com> wrote: 

> Second issue is per DTS ETSI TS 102 114 1.1.1, the DTS
> channel line up is different from AC3
> their Center channel is always first if there is any,
> and LFE is always last if there is any.
> 
> So I changed the channel lineup routine, so that the
> final out put is
> 
> L R SL RL C LFE, and it is been tested correct at XBMC
> plantform which use mplayer.dll as the core player

We have a related problem with directsound audio output on windows.

DirectSound requires a different order of the channels than mplayer
obviously always uses. While I sent a patch to the mplayer-cygwin
list which simply re-orders the channels again in ao_dsound, you can
imagine that this is quite ugly and has some impact on performance.

The best solution would of course be if the channels were ordered
correctly in the decoding routines. Maybe it is already sufficient to
put an "#ifdef WIN32" into all the decoders, otherwise maybe some
code im mplayer could take care of this? Like I said, doing this in
ao_dsound looks quite ugly to me.

I wouldn't really know where to start on this though, so maybe
someone with more knowledge about mplayers audio handling could look
into it?

Florian


	

	
		
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de




More information about the MPlayer-dev-eng mailing list