[Angstrom-distro-users] mplayer woes

Tim Chick chick at computergeek.freeserve.co.uk
Wed Oct 17 15:58:01 CEST 2007


On Tuesday 16 October 2007 23:55, Andrew Zabolotny wrote:
>
> Sadly, when playing videos with sound at 32khz (I have a number of
> videos preformatted at 320x240 and 32khz sound, especially prepare
> for PDAs) everything is extremely slow and the sound is jerky and
> distorted. Interesting what's the reason for this, can't imagine a
> 415MHz CPU can't resample (even if hardware does not support rates
> different from 48000Hz). Looks more like a sound driver bug.

I've been playing the audio via a different device, so would not have 
noticed that bug. If there is a driver bug, you can probably use 
a .asound to fix it. Something like this:

pcm.zsound {
        type hw
	card 0
}

pcm.rs0 {
        type plug
        slave {
                pcm "zsound"
                rate 48000
                format S16_LE
                channels 2
        }
}

pcm.!default {
        type plug
        slave.pcm "rs0"
}

Then use -ao alsa on the mplayer command line. Or if that doesn't make 
any difference try -ao alsa:device=rs0

Cheers,
Tim










More information about the Angstrom-distro-users mailing list