LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-07-2005, 09:19 PM   #1
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Rep: Reputation: 31
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.
 
Old 03-07-2005, 10:02 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

change ur screen resolution and depth
try 16 bit and then run gmplayer
 
Old 03-07-2005, 10:15 PM   #3
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Original Poster
Rep: Reputation: 31
No luck,same message accept 16 bpp instead,lower res did not help either.Thx anyways.
 
Old 03-07-2005, 10:31 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
could u post the log???
 
Old 03-07-2005, 10:36 PM   #5
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Maybe try something like this?

gmplayer -vo xv

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

Last edited by tw001_tw; 03-07-2005 at 10:40 PM.
 
Old 03-08-2005, 12:09 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 03-08-2005, 01:22 PM   #7
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
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
 
Old 03-08-2005, 07:53 PM   #8
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Original Poster
Rep: Reputation: 31
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
 
Old 03-08-2005, 07:56 PM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
thanks for the info!
i was not myself aware of this driver

regards
 
Old 03-08-2005, 11:44 PM   #10
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Original Poster
Rep: Reputation: 31
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.
 
Old 03-09-2005, 12:01 AM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

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

regards
 
Old 03-09-2005, 07:01 PM   #12
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Original Poster
Rep: Reputation: 31
I wrote a note to myself to remember that for the next time.
Thx dude!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer but no GUI! lokirulez Linux - Software 11 07-28-2005 05:20 AM
mplayer gui Irving Linux - Software 8 06-09-2004 01:17 PM
MPlayer GUI scottie Linux - Software 9 11-01-2003 10:00 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
mplayer gui dark_light Linux - General 1 04-08-2003 06:51 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration