[Angstrom-distro-users] mplayer woes

Tim Chick chick at computergeek.freeserve.co.uk
Wed Oct 31 02:20:13 CET 2007


On Monday 29 October 2007 17:10, Damien Martins wrote:
>
>  Hi Tim,
>
>  I'm a Zaurus SL-C3200 using latest angstrom. I appreciate the
> mplayer pxa support, allowing me to play fullscreen vidz. I'm not
> very skilled in graphic chipset/video playing on computer, and my
> questions may be dumbs :

> -Is there a way to hope playing "classic" (I 
> mean not encoded especially for zaurus) in fullscreen without any
> trouble, speed lacks or anything else. Is it a developpment or
> hardware problem ?

You shouldn't have much problem playing any video less than say 400x300 
pixels. I've played Mpeg, mpeg II, mpeg4, wmv.

Are you using the iwmmxt version of mplayer, or the standard one? iwmmxt 
gives around a 20% improvement over the standard mplayer.

Also the options you supply mplayer can really make a difference.

Try all of the following, with the iwmmxt mplayer.

mplayer -vo pxa -vm -noaspect -double -framedrop -quiet <file>

mplayer -vo pxa -vm -ao alsa -af 
resample=441000 -noaspect -double -framedrop -quiet <file>

mplayer -vo pxa -vm -noaspect -double -framedrop -quiet -noslices <file>

mplayer -vo pxa -vm -ao alsa -af 
resample=441000 -noaspect -double -framedrop -quiet -noslices <file>

Does one of these work well?

It may be the case that the hardware can *just* manage 640x360 playback, 
but the software currently is not optimised enough.


> -I could say pxa driver give me a "strange" 
> output. The video is smooth (reencoded for zaurus, 320x240, 24.9fps,
> divx4 codec), but it looks like interlaced, but the black lines or
> not horizontal, but vertical, considering using landscape watch.
> Thoses lines or due to divx codec, mplayer, pxa driver or anything
> else (my brain could be guilty too).
>

That sounds like the lack of double buffering. This is something which 
needs adding to the overlay driver.

You can make it a bit better using the iwmmxt mplayer, along with 
the -double option, and sometimes the -nolices option - see above.

Thanks,
Tim


PS - I think the list prefers plain text to HTML emails.




More information about the Angstrom-distro-users mailing list