[MPlayer-users] AC3 - Strange error during channel conversion?

Giacomo Comes comes at naic.edu
Mon Feb 26 01:26:03 CET 2007


On Sun, Feb 25, 2007 at 11:41:15PM +0000, Nelson Batalha wrote:
> Hi,
> 
> I'm having some problems with some compressed files, I know very little of 
> this area but I did some research and found nothing like this:
> 
> I don't have a surround51 device made by alsa, so I'm using mplayer with 6 
> channels in my default device, which works fine for uncompressed wav's with 
> 6 channels. However if I try to open compressed files in AC3 I get
> 
> ==========================================================================
> (...): [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
> AC3: 5.0 (3f+2r)  48000 Hz  448.0 kbit/s
> Unimplemented resampler for mode 0x7 -> 6 channels conversion - Contact 
> MPlayer developers!
> Using MMX optimized resampler
> AUDIO: 48000 Hz, 5 ch, s16le, 448.0 kbit/11.67% (ratio: 56000->480000)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ==========================================================================
> alsa-init: 5 channels are not supported
> alsa-init: using device default
> alsa: 48000 Hz/5 channels/10 bpf/40960 bytes buffer/Signed 16 bit Little 
> Endian
> AO: [alsa] 48000Hz 5ch s16le (2 bytes per sample)
> ...
> 
> 
> I have sound in my front channels, rear right and subwoofer. My rear left 
> speaker stayes muted. Anyone knows what's happening? (maybe that speaker 
> sound is going to the subwoofer, but then where's the subwoofer sound?)
> 
> I know the file is 5.1 but this reports 5.0. 

The ac3 file you are playing has 5 channels not 6. If you use -channels 5
it should play correctly.

> DTS 5.1 files only play in stereo.

This has been fixed recently. Use a recent svn snapshot and dts files will
play with 6 channels.

Ciao
Giacomo



More information about the MPlayer-users mailing list