Author Topic: Mplayer  (Read 5039 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Mplayer
« on: June 08, 2007, 09:51:41 am »
i've just compiled mplayer !

on ports comments they says:

"
On arm (e.g. Zaurus) you may encounter slow video output.
In this case you can disable the X.Org screen rotation in
/etc/X11/xorg.conf. Depending on the video you are playing
you may want to pass the -framedrop or the -hardframedrop
option to mplayer.
By default we disable the internal mp3lib (mpg123), because
it relies on the FPU. Instead of using mp3lib the mad flavor
is enabled by default. If you want to use libmad as an audio
decoder please pass the -ac mad option to mplayer.
"


it is working but i do encouter the "slow video output" problem  i tried with a zaurus encoded video (starwars.avi) and i only got about 0.5 - 1 frame/s, with choppy sound...

i tried -framedrop and -hardframedrop but it was not better...
i tried -as mad too with no better results...
i tried -nosound then the video looked ok, with quite good frame/s although it looked like slow motion...

any success for someone?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Mplayer
« Reply #1 on: June 08, 2007, 01:40:55 pm »
0.5. - 1 frames ... it's totally unusable.    
Even a Palm OS PDA can run smooth video (with proper conversion), but is it really a taboo for OBSD?
« Last Edit: June 08, 2007, 01:41:08 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Mplayer
« Reply #2 on: June 08, 2007, 03:06:55 pm »
Quote
0.5. - 1 frames ... it's totally unusable.   
Even a Palm OS PDA can run smooth video (with proper conversion), but is it really a taboo for OBSD?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162840\"][{POST_SNAPBACK}][/a][/div]
Has anyone looked into processor/memory use on openbsd on a desktop vs linux (say knoppix, for ease) on the same desktop using mplayer? Is it that there is something about the way openbsd works that means it will do media (or load firefox, for that matter) slower, or is it something to do with the way it is being built for the Z?

The speed (or lack thereof) issue is a bit offputting, given how cool the rest of the project sounds
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Mplayer
« Reply #3 on: June 08, 2007, 04:09:48 pm »
jpmatrix, how was the video encoded?
Mathemajikian's Tips & Tricks says:
Code: [Select]
Video Encoding
Video playback on the BSD Zaurus really isn't all that great; however, I found that if I encode the video with ffmpeg using the following settings the Zaurus can handle it quite well:
ffmpeg -i anyvideo.mpg -s 320x220 -r 18 -an -b 276 -f avi anyvideo.avi    
I have yet to find out how multimedia works under obsd, because I am still busy getting Chinese inputmethod working. Will start a new topic on this.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Mplayer
« Reply #4 on: June 14, 2007, 07:37:46 am »
Quote
jpmatrix, how was the video encoded?
Mathemajikian's Tips & Tricks says:
Code: [Select]
Video Encoding
Video playback on the BSD Zaurus really isn't all that great; however, I found that if I encode the video with ffmpeg using the following settings the Zaurus can handle it quite well:
ffmpeg -i anyvideo.mpg -s 320x220 -r 18 -an -b 276 -f avi anyvideo.avi    
I have yet to find out how multimedia works under obsd, because I am still busy getting Chinese inputmethod working. Will start a new topic on this.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162852\"][{POST_SNAPBACK}][/a][/div]

well the ffmpeg re encoding seems to work pretty good, although it seems i had no sound output (or the sound level was too low). the framerate is now quite good, even without -framedrop option.
but the picture size is very little...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun