OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: samot on July 12, 2006, 03:33:50 pm

Title: Full Screen Mplayer
Post by: samot on July 12, 2006, 03:33:50 pm
Hi!!
I' m trying to watch a 320x240 mpg on my zaurus sl-5500 (Hentges) using mplayer from the shell. If I play the file whitot any option (no -fs or -vf rotate=...) I see a streched video in portraid mode. Previosly rotating the screen in opie makes no diference (in gpe was enough). Reading the mplayer man page I tried to use the "-vf rotate=2" option, these one rotates the image but itr crops it. The option "-fs" (full screen)  makes no diference. Any sugestion?

Thanks
Title: Full Screen Mplayer
Post by: YoG on July 13, 2006, 02:36:09 am
Quote
Hi!!
I' m trying to watch a 320x240 mpg on my zaurus sl-5500 (Hentges) using mplayer from the shell. If I play the file whitot any option (no -fs or -vf rotate=...) I see a streched video in portraid mode. Previosly rotating the screen in opie makes no diference (in gpe was enough). Reading the mplayer man page I tried to use the "-vf rotate=2" option, these one rotates the image but itr crops it. The option "-fs" (full screen)  makes no diference. Any sugestion?

Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134895\"][{POST_SNAPBACK}][/a][/div]
I use the following script:
Code: [Select]
#! /bin/sh
### disable screen saver and suspend,
qcop QPE/System 'setScreenSaverMode(int)' 2
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0


### set screen mode to 200x320,
fbset -n -xres 200 -yres 320;

### run mplayer,
mplayer -flip -vf mirror -ac mad -ao oss -framedrop -really-quiet $@;

### set resolution back to 640x480,
fbset -n -xres 640 -yres 480;

### enable screen saver and suspend,
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' -1 -1 -1
qcop QPE/System 'setScreenSaverMode(int)' 100


### refresh screen,
qcop "QPE/System" "applyStyle()";


on my c860, this works great.
Maybe, with the new release using alsa the -ac mad -ao oss should changed somehow.

YoG
Title: Full Screen Mplayer
Post by: samot on July 13, 2006, 11:54:26 am
Guess what? accidentally I pressed the "c" key when playing a video on portrait mode and it rotated it to landscape just as I wanted. Performance is not too good, I get some droped frames, but I can finally watch Duckman!!!

Thats the problem of not having onboard man pages...