LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-25-2003, 11:17 PM   #1
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Rep: Reputation: 15
gmplayer and the dreaded -vo error


I just installed mplayer on a Red Hat 8.0 machine using RPMs. I ran the gmplayer program and adjusted the setting to accomidate my setup. When I try to play a DVD though I get the dreaded -vo error. Below is the output from gmplayer -vo help.

mplayer -vo help
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc5-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Available video output drivers:
xmga Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
mga Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
tdfxfb 3Dfx Banshee/Voodoo3/Voodoo5
xv X11/Xv
x11 X11 ( XImage/Shm )
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
png PNG file
jpeg JPEG file
null Null video output
pgm PGM file
md5 MD5 sum
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
vesa VESA VBE 2.0 video output
xvidix X11 (VIDIX)

I saw in one thread where it said to cp the codec.conf file from /etc/mplayer to ~/.mplayer but ~/.mplayer doesn't exist on my system. I created the dir and cp'd the file but didn't help. I can use the x11 codec and play movies but they are real choppy. What do I need to do to get this fixed?

Please help.
 
Old 03-25-2003, 11:22 PM   #2
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
I also get this in the console when I get the error.

It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support, and read Xv section of DOCS/video.html !
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device.
 
Old 03-25-2003, 11:44 PM   #3
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
Well, run gmplayer -vo x11 and I get an error saying that my CPU isn't fast enough. Jesus Christ, how fast does my CPU have to be. I have an AMD Duron 900. I works like a dream in Windows. Also, I installed all the RPMs that were built for an AMD processor. What gives. I have tried Ogle, Xine and Mplayer and they are all choppy at best. I have Ogle before on a Celeron 400 with no problems before, but for some reason an AMD Duron 900 isn't fast enough. My CPU utilization is at 100%. What gives??????????
 
Old 03-26-2003, 12:08 AM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Sounds like you might have some stuff running that's killing your CPU. Try opening a terminal and typing as root:

top

This should list the services that are eating up resources. You can also type ps -ax to view all the running process and you kill off the ones you don't need if you like. Additionally, try running mplayer with the -framedrop option to see how it looks and use a better -vo option like "xv":

mplayer -vo xv -framedrop <moviefile>

or without frame drop:

mplayer -vo xv <moviefile>

I'm running an AMD K6-2/266MHz CPU and it works pretty well for me. Hopefully the new -vo option will be better for you. Hope this helps.
 
Old 03-26-2003, 12:10 AM   #5
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
Well, there in lies a problem. I get an error when I try to run it with the -vo xv option. -vo x11 is the only one that works for me. Funny thing though, the xv driver works fine in ogle and xine.
 
Old 03-26-2003, 02:33 AM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Weird. What's the error you're getting?
 
Old 03-26-2003, 10:27 AM   #7
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
Error opening/initializing the selected video_out (-vo) device

That one.
 
Old 03-26-2003, 12:07 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
can we have the entire mplayer output please.
 
Old 03-26-2003, 01:47 PM   #9
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
mike]$ gmplayer -vo xv -framedrop
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc5-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/mike/.mplayer/config
[cfg] read config file: /home/mike/.mplayer/gui.conf
Reading config file /home/mike/.mplayer/gui.conf
Xlib: extension "XFree86-VidModeExtension" missing on display ":1.0".
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":1" => local display)
Reading /home/mike/.mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/mike/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using usleep() timing
Can't open input config file /home/mike/.mplayer/input.conf : No such file or directory
Input config file /etc/mplayer/input.conf parsed : 52 binds
SKIN dir 1: '/home/mike/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing /dev/cdrom
Reading disc structure, please wait...
There are 22 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Cache fill: 15.92% (1335296 bytes) MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.97 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Xlib: extension "XVideo" missing on display ":1.0".
Sorry, Xv not supported by this X11 version/driver
******** Try with -vo x11 or -vo sdl *********
Error opening/initializing the selected video_out (-vo) device.


Playing /dev/cdrom
Reading disc structure, please wait...
There are 22 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Cache fill: 15.72% (1318912 bytes) MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.97 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Xlib: extension "XVideo" missing on display ":1.0".
Sorry, Xv not supported by this X11 version/driver
******** Try with -vo x11 or -vo sdl *********
Error opening/initializing the selected video_out (-vo) device.


Exiting... (Exit)
 
Old 03-26-2003, 01:55 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it says that you are using display 1.0 do you know anything abuot this? the default display you would use would be 0.0 you'd only get 1.something if you have opened a second copy of X on your system. try running:

mplayer -vo xv -framedrop -display :0.0

and see if that goes through.
 
Old 03-26-2003, 02:10 PM   #11
evilRhino
Member
 
Registered: Oct 2002
Distribution: Red Hat 7.3, 8.0
Posts: 33

Rep: Reputation: 15
The problem is that you installed from the rpm. If you install from source you won't have this problem. That's what worked for me when I was getting those same messages.
 
Old 03-26-2003, 03:07 PM   #12
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
Acid - the display 1.0 is because I was VNC'd into my PC at home from work so I could get that output you asked for.

Evil - I will try that. I thought about just compiling it from source but figured it would work the same, otherwise they wouldn't have made the RPM available. I will try that tonight though.
 
Old 03-26-2003, 05:42 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Pardon...??? you're using VNC? do you not think that maybe this was an extremely important piece of information????? Of course xv won't work... please provide useful information next time.
 
Old 03-26-2003, 06:09 PM   #14
cyris
Member
 
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
xv doesn't even work when I am physically sitting at this PC. I get the same exact errors. The only difference is I am on display 0 and not 1.

Why don't you try using Mplayer through VNC, It does work. I did it earlier today using the x11 driver instead of the xv driver.

anyway. I am installing the NVidia drivers for my video card and am going to compile everything from scratch tonight. That should take care of all my problems.
 
Old 03-27-2003, 09:07 AM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
yeah x11 should work, but not XV, so a debug message through vnc using a driver that vnc can not ever support is no help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gmplayer vo error on dual monitors icga Linux - Software 5 07-26-2005 10:53 AM
xmms, gmplayer error message? munkie_poo Slackware 9 07-05-2005 04:22 AM
error when open mplyer or gmplayer trinoo Slackware 26 02-03-2005 03:24 AM
GMPlayer and ALSA-Control Error hooded Linux - Software 3 11-17-2004 07:16 PM
gmplayer gives me this error ..... purpleburple Linux - General 2 03-13-2003 06:54 PM


All times are GMT -5. The time now is 08:20 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration