[MPlayer-users] mixed ac3 5.1 and 2 channel

Ariel asmplayer at dsgml.com
Fri Sep 23 21:57:32 CEST 2005


I have a mixed ac3 stereo and 5.1 stream (from an HDTV capture).

Once MPlayer sees that it starts with a stereo stream, it refuses to play 
the rest in 5.1 (the audio gets quieter at the transition point - so it 
noticed something, but it's stereo).

If I use avi tools to add in a 1 second 5.1 stream before the avi, and 
then play that: MPlayer starts with 5.1, then switches to stereo with 
hissing from the other speakers, then switches back to 5.1.

(Obviously I use -channels 6 it both cases.)

It looks like it needs to see at least a little 5.1 at the start to enable 
channels 6, otherwise it's forced off.

I would like instead that with channels 6 it's always on. If the stream 
happens to be stereo, then just play stereo.

As a point of comparison xine does it properly.

With an mpeg MPlayer says:
Unimplemented resampler for mode 0x2 -> 6 channels conversion - Contact 
MPlayer developers!
Unimplemented resampler for mode 0x2 -> 5 channels conversion - Contact 
MPlayer developers!
Unimplemented resampler for mode 0x2 -> 4 channels conversion - Contact 
MPlayer developers!
Unimplemented resampler for mode 0x2 -> 3 channels conversion - Contact 
MPlayer developers!

With an avi it seems to look at the avi header - which is wrong, since the 
file is mixed, and just plays in stereo with no messages. If I edit the 
avi header to change 2 channels to 6, then MPlayer says the same thing it 
says with the mpeg.

So basically don't trust the avi header as far as ac3 channels goes.

 	-Ariel




More information about the MPlayer-users mailing list