OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: sommi on April 07, 2005, 03:12:32 pm
-
Hi!
Has anyone been able to watch full length videos with the
Mplayer integrated in pdaXrom kathrin rc9?
Small clips seem to be OK, but full length videos reliably
cause Mplayer to freeze after a few seconds to a few minutes.
These freezes always occur regardless of the way
Mplayer was started (from within X or from the console
with the framebuffer device).
Could this be a configuration error, is this a known bug
of the Mplayer version or does the Zaurus (SL-C750) simply
lack the required CPU power?
Thanks!
-
did you try to search "mplayer freezes" in this forum?
-
You might not have to worry about Mplayer at all anymore.
http://www.videolan.org/patents.html (http://www.videolan.org/patents.html)
Not very good news.
-
I used to watch 45 minutes long movies on my C700, sometimes suspending it while playing and I never had a lockup this way.
I'm using my own encoded files and own mplayer launching script and I'm not using the default Window manager stuff either (matchbox+openbox).
There are some topics about video playing under pdaXrom, but I paste my encoder and player script here, try it if you want.
Encoder script (Change the 320:240 scale if your videos aren't in 4:3 aspect ratio.)
#!/bin/bash
mencoder -oac mp3lame -ovc xvid -lameopts preset=32:mode=3 -xvidencopts pass=1 -af volnorm -vf scale=320:240 -ofps 15 -o "z.$@" "$@"
mencoder -oac mp3lame -ovc xvid -lameopts preset=32:mode=3 -xvidencopts pass=2:bitrate=200 -af volnorm -vf scale=320:240 -ofps 15 -o "z.$@" "$@"
Player script (Remove the FvwmCommand lines and the additional sleep if you are using matchbox+openbox, not Fvwm, like me. )
#!/bin/bash
xrandr -s 1
sleep 1
FvwmCommand Restart
sleep 8
mplayer -nortc -framedrop -fstype fullscreen -fs -ac mad -really-quiet $@
xrandr -s 0
FvwmCommand Restart
Zumi
-
I used to watch 45 minutes long movies on my C700, sometimes suspending it while playing and I never had a lockup this way.
[...]
#!/bin/bash
xrandr -s 1
sleep 1
FvwmCommand Restart
sleep 8
mplayer -nortc -framedrop -fstype fullscreen -fs -ac mad -really-quiet $@
xrandr -s 0
FvwmCommand Restart
The "-nortc" option did the trick. Now it works like a charm without freezing.
Thanks!