OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: jpmatrix on June 08, 2007, 09:51:41 am

Title: Mplayer
Post by: jpmatrix 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?
Title: Mplayer
Post by: ZDevil 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?
Title: Mplayer
Post by: adf 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
Title: Mplayer
Post by: ZDevil 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.
Title: Mplayer
Post by: jpmatrix 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...