Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mplayer SDL fullscreen problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
behindthesofa
n00b
n00b


Joined: 05 Mar 2003
Posts: 43
Location: Netherlands

PostPosted: Thu Apr 03, 2003 11:22 am    Post subject: Mplayer SDL fullscreen problem Reply with quote

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
View user's profile Send private message
barran
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 142
Location: Århus, DK

PostPosted: Thu Apr 03, 2003 1:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
behindthesofa
n00b
n00b


Joined: 05 Mar 2003
Posts: 43
Location: Netherlands

PostPosted: Thu Apr 03, 2003 2:45 pm    Post subject: Reply with quote

dga performance sucks for me.

I solved the problem by using:
Code:

mplayer -vo sdl -fs -zoom <file>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum