[MPlayer-users] audio plugins buggery - resample+format

Igor Grabin violent at death.kiev.ua
Fri Feb 7 10:37:35 CET 2003


hiya,

the machine in question is an older notebook, a bit weird sbpro.
it runs openbsd. I'm getting this "by default":

audio_setup: your card doesn't support 2 channel, Signed 16-bit
(Little-Endian), 44100 Hz samplerate

so, I've been applying this:
mplayer.conf:
aop="list=resample,format:fout=22050:format=8"

it did work in 0.60 era.

however, when I upgraded to 0.90rc{1,2,3} (today's cvs didn't
compile),  the sound messed up, and...

[...skip...]
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 32000->176400 (256.0
kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[pl_resample] Up=128, Down=256, True fout=22050.000000
[pl_format] Input format: Signed 16-bit (Little-Endian), output
format: Unsigned
 8-bit
[pl_resample] Up=128, Down=256, True fout=22050.000000
[pl_format] Input format: Signed 16-bit (Little-Endian), output
format: Unsigned
 8-bit
AO: [plugin] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit ->
22050Hz/2ch/8bit...
Video: no video!!!
Start playing...
2 bytes of audio data lost due to buffer overflow, len = 2A:
[...skip...]

it doesn't depend on the sound file. I could reproduce the problem on
the neighbouring openbsd box - just applied the mentioned line to
mplayer.conf
no non-openbsd boxes here, so I can't do a research if this is
os-dependant or not.

-- 
Igor "CacoDem0n" Grabin, http://violent.death.kiev.ua/



More information about the MPlayer-users mailing list