[MPlayer-users] issue playing xvid file on xbox and mplayer

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Thu Apr 21 20:27:17 CEST 2005


On Thursday, 21 April 2005 at 18:36, Andy Barr wrote:
> On 4/20/05, RC <rcooley at spamcop.net> wrote:
> > On Wed, 20 Apr 2005 23:00:00 -0400
> > Andy Barr <ajbarr at gmail.com> wrote:
> > 
> > >
> > > I tried all the options suggested by the messages about my system
> > > being slow and the sound still stutters.  If anyone has another
> > > suggestion please let me know.
> > 
> > You have "-zoom" on your command-line, even though you are using -vo xv
> > and shouldn't need software scaling.  Remove that first, and see if it
> > helps.  That could be using up a *lot* of CPU power for no good reason.
> > 
> > Is your CPU load at 100% when you play this video?
> > 
> I tried,
> mplayer -framedrop -vo xv test.avi
> and
> mplayer -framedrop test.avi
> For both options I still get the stutter.
> 50% of my CPU is free when playing this file. 
> I finally figured out that this is an alsa problem.

Now that's a surprise... not!

[...]
> ~/.asoundrc file that fixed the issue.
> 
> pcm.dsp {
>     type plug
>     slave.pcm "dmixer"
> }
> 
> pcm.!default {
>     type plug
>     slave.pcm "dmixer"
>    
> }
> 
> ctl.!default {
> 	type hw           
> 	card 0
>         }
> 
> pcm.dmixer  {
> 	type dmix
> 	ipc_key 1024
> 	slave {
> 	    pcm "hw:0,0"
> 	    period_time 0
>          #   period_time 84000 
> 	 #   period_size 2048
>          #   buffer_time 340000
> 	 #   buffer_size 16384
>             rate 44100
> 	 #   rate 48000
>             period_size 1024
>         ##    buffer_size 4096
>             buffer_size 8192
> 	}
> 	bindings {
> 	    0 0
> 	    1 1
> 	}
>     }
>  
>     ctl.dmixer {
> 	type hw
> 	card 0
>     }

Aieee! You're using the EVIL dmix. No wonder you have problems.

I think we should put a big fat warning not to report mplayer -ao alsa
bugs if they can't be reproduced without dmix.

Regards,
R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-users mailing list