[MPlayer-dev-eng] Sound synchronization problem correct way to handle it

Reza Jelveh reza.jelveh at tu-harburg.de
Mon Aug 9 14:16:17 CEST 2004


hi,

On Sat, 7 Aug 2004 16:00:16 +0200
Adam Tla/lka <atlka at pg.gda.pl> wrote:

> Hmm, I am using ALSA through dmix and plug plugins so resampling is
> done by ALSA itself. Next I wrote that using command aoss mplayer

it seems like you didnt use the plug plugin correctly.

suppose your dmixer pcm is called ossmix then you have to put the
following in your .asoundrc: 
pcm.fixed {
    type plug
    slave {
    pcm "ossmix"
    rate 48000
    }
}

the a/v synch will be correct then. however the plug plugin doesnt
resample very good. you will notice noise and occasional cracks in the
sound. so report that to alsa devs if you want. otherwise use srate
48000 which has way better quality than the plug alsa plugin.

regards,
reza jelveh




More information about the MPlayer-dev-eng mailing list