Help - Search - Members - Calendar
Full Version: Mplayer Freezes While Playing
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
sommi
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!
pgas
did you try to search "mplayer freezes" in this forum?
eji
You might not have to worry about Mplayer at all anymore.

http://www.videolan.org/patents.html

Not very good news.
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.
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. smile.gif

Encoder script (Change the 320:240 scale if your videos aren't in 4:3 aspect ratio.)

CODE
#!/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. cool.gif)

CODE
#!/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 smile.gif
sommi
QUOTE(Zumi @ Apr 7 2005, 10:23 PM)
I used to watch 45 minutes long movies on my C700, sometimes suspending it while playing and I never had a lockup this way.
[...]

CODE
#!/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. smile.gif

Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.