Author Topic: Mplayer Freezes While Playing  (Read 5305 times)

sommi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Mplayer Freezes While Playing
« 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!

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Mplayer Freezes While Playing
« Reply #1 on: April 07, 2005, 03:59:33 pm »
did you try to search "mplayer freezes" in this forum?
« Last Edit: April 07, 2005, 03:59:56 pm by pgas »
SLC-860 cacko / senao wifi

eji

  • Full Member
  • ***
  • Posts: 233
    • View Profile
    • http://charlatan.blogspot.com/
Mplayer Freezes While Playing
« Reply #2 on: April 07, 2005, 04:03:01 pm »
You might not have to worry about Mplayer at all anymore.

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

Not very good news.
Zaurus SL-6000L w/ Sharp ROM v1.12 - 1GB SanDisk CF - 1GB Lexar SD - Socket Rev. E BT CF | Mac OS X 10.5.x - iMac 24" 2.8Ghz | SIP: 864753@voip.brujula.net - 1 747 603 3461 (Gizmo/SIPhone)

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Mplayer Freezes While Playing
« Reply #3 on: April 07, 2005, 05:23:19 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.
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.)

Code: [Select]
#!/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. )

Code: [Select]
#!/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
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

sommi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Mplayer Freezes While Playing
« Reply #4 on: April 08, 2005, 08:31:02 am »
Quote
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: [Select]
#!/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!