[MPlayer-dev-eng] pl_surround - Dolby Surround decoder - committed

Bohdan Horst nexus at hoth.amu.edu.pl
Tue Dec 4 17:10:35 CET 2001


On Tue, Dec 04, 2001 at 03:42:28PM +0000, Stephen Davies wrote:

> 
> Hi,
> 
> I've committed this new plugin.  Only update from yesterday's notes is
> that the command-line option to use it is now '-aop list=surround' due to
> Anders' changes in the option parsing for audio plugins.
> 
> I've set up the plugin so that if the input audio already has >2 channels
> the plugin becomes "do nothing".  So those with >2 channel audio cards can
> use "-channels 4 -aop list=surround" for any file; ac3 files we get
> multichannel via the ac3 decoder, other files will get surround decoding
> via the surround plugin.
> 
> Please let me know how it works for you.
> 

with -ao oss playback slowdown about 3 times:

AO: [plugin] 44100Hz Stereo Signed 16-bit (Little-Endian)
pl_surround: init input rate=44100, channels=2
pl_surround: 15msec surround delay, rate 44100 - buffer is 661 samples
ao2: 44100 Hz  4 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  64/64  (2048 bytes/frag)  free: 131072


with -ao sdl:
AO: [plugin] 44100Hz Stereo Signed 16-bit (Little-Endian)
pl_surround: init input rate=44100, channels=2
pl_surround: 15msec surround delay, rate 44100 - buffer is 661 samples
SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit
(Little-Endian)
SDL: Unable to open audio: 1 (mono) and 2 (stereo) channels supported
couldn't open/init audio device -> NOSOUND


best regards

-- 
 / irl:Bohdan 'Nexus' Horst | mailto:nexus at irc.pl | irc:Nexus \
{---------------------------^----------v----------^------------}
 \ http://www.physd.amu.edu.pl/~nexus/ | Instytut Fizyki  UAM /



More information about the MPlayer-dev-eng mailing list