Author Topic: Full Screen Mplayer  (Read 3722 times)

samot

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Full Screen Mplayer
« 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
sl-5500 | WCF12 | SD kingstone 1gb | CF Memorex (Samsung) 64mb | OZ/OPIE (for the moment)

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Full Screen Mplayer
« Reply #1 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
« Last Edit: July 13, 2006, 02:36:58 am by YoG »
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

samot

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Full Screen Mplayer
« Reply #2 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...
« Last Edit: July 13, 2006, 11:56:23 am by samot »
sl-5500 | WCF12 | SD kingstone 1gb | CF Memorex (Samsung) 64mb | OZ/OPIE (for the moment)