LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   mplayer gui help please... (https://www.linuxquestions.org/questions/%2Absd-17/mplayer-gui-help-please-298949/)

mortal 03-07-2005 09:19 PM

mplayer gui help please...
 
I get this error when I try "gmplayer'

vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[ws] Error in display.
[ws] Error code: 2 ( BadValue (integer parameter out of range for operation) )
[ws] Request code: 1
[ws] Minor code: 0
[ws] Modules: (NULL)
$

Otherwise mplayer works fine as command line but I like gui's.I run KDE and I tried on gnome as well but got the same message.Any help appreciatted.

masand 03-07-2005 10:02 PM

hi there

change ur screen resolution and depth
try 16 bit and then run gmplayer

mortal 03-07-2005 10:15 PM

No luck,same message accept 16 bpp instead,lower res did not help either.Thx anyways.

masand 03-07-2005 10:31 PM

could u post the log???

tw001_tw 03-07-2005 10:36 PM

Maybe try something like this?

gmplayer -vo xv

xv from my experience works better then the x11.
Just a thought.
-tw

masand 03-08-2005 12:09 AM

Quote:

Originally posted by tw001_tw
Maybe try something like this?

gmplayer -vo xv

xv from my experience works better then the x11.
Just a thought.
-tw

xv is a video driver
x11 is the x server ,is that too a video driver??

i think both are from different category

regards

tw001_tw 03-08-2005 01:22 PM

Yes, both are video drivers, but in some circumstances 1 works better then the others.

-vo x11 as a video out method is technically tied into the X11 drivers - how, I can't explain,
but not the X server itself (xfree86 / xorg)

Type:
mplayer -vo help

wish I could explain more - but not at home right now (on lunch brake).

go here: http://www.mplayerhq.hu/DOCS/HTML/en/video.html#x11
Quote: "Avoid if possible." Thats why I suggested the "-vo xv" switch.

Like I said, its just an idea - trying to help. It helped me before.
regards
-tw

mortal 03-08-2005 07:53 PM

Ok,here is the log when I change res and depth to 16 bit/800x600

MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" =>local display)
[ws] Error in display.
[ws] Error code: 2 ( BadValue (integer parameter out of rangefor operation) )
[ws] Request code: 1
[ws] Minor code: 0
[ws] Modules: (NULL)
#

and when I tried [-vo xv] -same thing

[-vo help] showed a list:

vailable video output drivers:
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
svga SVGAlib
aa AAlib
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame

masand 03-08-2005 07:56 PM

thanks for the info!
i was not myself aware of this driver

regards

mortal 03-08-2005 11:44 PM

Well...I seem to have it all working now.

I downloaded some other skins and put them in the /usr/local/share/mplayer/Skin folder.

Then I started mplayer with "gmplayer -skin KDE" and there was colour at last but no fonts.It kept asking for the subfont.ttf in the ~/mplayer folder.

So,I tracked down the fonts folder with all the .ttf files and yanked one out,renamed it to subfont.ttf and stuck it in the ~/mplayer folder and then I cracked open some mplayer fonts from the mplayer homepage and shoved them into the ~/mplayer/font folder.

I don't know if thats the "proper" way to do it but it works now.Thanks for all the replies and suggestions.

masand 03-09-2005 12:01 AM

hi there

when u building mplaer urself
u need to extract the skin and fonts and put them this way only

regards

mortal 03-09-2005 07:01 PM

I wrote a note to myself to remember that for the next time.
Thx dude!


All times are GMT -5. The time now is 08:28 PM.