View previous topic :: View next topic |
Author |
Message |
behindthesofa n00b
Joined: 05 Mar 2003 Posts: 43 Location: Netherlands
|
Posted: Thu Apr 03, 2003 11:22 am Post subject: Mplayer SDL fullscreen problem |
|
|
Hi.
I'm having problems with mplayer going fullscreen using -vo sdl. -vo xv works. When i switch to fullscreen, the picture is not centered, but moved to the right and bottom. I've got no idea what resolution the monitor switches to...
This is the mplayer output
Code: |
==========================================================================
SDL: Using driver: x11
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 576x304 => 576x304 Planar YV12
aspect: Warning: no suitable new res found!78/ 78 14% 5% 2.6% 3 0 77%
A: 5.3 V: 5.3 A-V: -0.001 ct: 0.003 128/128 18% 6% 2.5% 7 0 47%
Exiting... (Quit)
|
My XF86Config:
Code: | Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "320x240"
EndSubSection
DefaultDepth 24
EndSection
|
|
|
Back to top |
|
|
barran Tux's lil' helper
Joined: 14 Jan 2003 Posts: 142 Location: Århus, DK
|
Posted: Thu Apr 03, 2003 1:03 pm Post subject: |
|
|
You could try to use -screenw and -screenh.
You can see in the xfree log which resolution mplayer switches to. (/var/log/XFree86.[displaynumber].log)
Try to use dga if you can. It is really cool! (you must be root). |
|
Back to top |
|
|
behindthesofa n00b
Joined: 05 Mar 2003 Posts: 43 Location: Netherlands
|
Posted: Thu Apr 03, 2003 2:45 pm Post subject: |
|
|
dga performance sucks for me.
I solved the problem by using:
Code: |
mplayer -vo sdl -fs -zoom <file> |
|
|
Back to top |
|
|
|