[MPlayer-dev-eng] Unimplemented resamplers

Stephen Davies steve at daviesfam.org
Fri May 31 13:26:09 CEST 2002


On Fri, 31 May 2002, Niels Andersen wrote:

> So, I finally got the hardware for surround. A bit disappointing, I can't get 
> surround output from most of my movies. :)

Hi,

mplayer used to have a forked version of a libac3, liba52's
predecessor.  Our forked version had a complete set of "resample"s for 2,
4 and 6 channel output.

Since then mplayer was resynced back to the liba52 project.  I see that
the liba52 code is not so complete.

A'rpi I'm happy to add the missing ones in the resample_c version at
least - so these combinations at least play.

Neil - in the meantime, for your 3.1 file you can try -channels 6 (for
which there is a resampler) and then use emu-dspmgr to reroute the fx12
and fx13 channels (centre and lfe respectively) to the front pair, like
so:

  emu-dspmgr -a "fx12:Front" -a "fx13:Front"

The levels will probably be a little messed up - centre a bit loud - but
it'll get you going in the meantime.

Regards,
Steve


> 
> Actually, I've only found one file with surround output, but it's just a 
> test-file. It goes:
> 
> Detected audio codec: [a52] drv:14 (AC3-liba52)
> Selecting Audio Decoder: [liba52] AC3-liba52
> No accelerated IMDCT transform found
> AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
> Using MMX optimized resampler
> AUDIO: srate=48000  chans=4  bps=2  sfmt=0x10  ratio: 48000->384000
> 
> Here's the result from one of my most interesing files:
> 
> Detected audio codec: [a52] drv:14 (AC3-liba52)
> Selecting Audio Decoder: [liba52] AC3-liba52
> No accelerated IMDCT transform found
> AC3: 3.1 (3f+lfe)  48000 Hz  224.0 kbit/s
> Unimplemented resampler for mode 0x3 -> 4 channels conversion - Contact 
> MPlayer developers!
> Unimplemented resampler for mode 0x2 -> 3 channels conversion - Contact 
> MPlayer developers!
> Using MMX optimized resampler
> AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 28000->192000
> 
> "Contact MPlayer developers!" - It's now done. :)
> I also have other AC3-variations if it has any interest.
> 
> I'm trying to get 4-channel output (with the -channels option).
> 
> MPlayer 0.90pre4-2.95.4
> 
> As asked, you are now contacted. Also, I'd like to now the timeframe for 
> solving this problem. A couple of days? "We're working on it"? "Nobody knows 
> when someone will start working on it"?
> 
> 




More information about the MPlayer-dev-eng mailing list