LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-04-2003, 12:10 AM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
mplayer -vo help


Ok, I have mplayer working from the command line and as a mozilla plug-in.

But, if I run 'gmplayer video7.avi' I get this error:

Errror opening/initializing the selected video_out(-vo) device

(and while it sits there waiting for me to push 'OK', gkrellm tells me the CPU is at 98% to 100%!!)

Anyway, 'mplayer -vo help' gives me:
Code:
bsl1@localhost download]$ 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-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/bsl1/.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)
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        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!)
        fbdev   Framebuffer Device
        aa      AAlib
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        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)
How can I get avi to show up in this -vo output? Or, does one of these 'devices' actually include avi support?

Or, can somebody point me directly to a document that tells me how to do this. I looked at some of the documentation at the mplayer site, but what I found was some in depth gobbledygook about stuff that I don't really want to learn right now.

I saw a post that had something about 'mplayer -vo help' earlier, but I couldn't find it since the search engine couldn't find '-vo'. I don't think that post had an answer to this question anyway.

Thanks....
(This is on my red hat 8 machine.)

Last edited by itsjustme; 08-04-2003 at 12:12 AM.
 
Old 08-04-2003, 02:54 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
why not try
mplayer -vo x11 -fs -vm video7.avi
or
for better performance
mplayer -vo dga -fs -vm video7.avi
(and i think that the options are the same for gmplayer)
 
Old 08-04-2003, 03:33 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
well load the gui without a file to p[lay and go in and change to vo to "Xv" prefereably.... fastest generic output for X.
 
Old 08-04-2003, 12:43 PM   #4
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
OK, thanks for the input.

This worked:
mplayer -vo x11 -fs -vm video7.avi

This didn't:
mplayer -vo dga -fs -vm video7.avi
It just blanked the screen and played a couple of seconds of audio.
--
Edit: Oh, and when I tried:
gmplayer -vo dga -fs -vm video7.avi
It completely locked up my PC. I couldn't get to another virtual terminal, ctrl-c didn't do anything, esc didn't do anything, ctrl-z didn't do anything. I had to push the reset button.
--
Quote:
well load the gui without a file to play and go in and change the vo to "Xv" prefereably
I didn't see where or how to do that in preferences.

Let me ask you this:
Is there some way to set up mplayer in an mplayer.conf file, maybe, to just have everything avaialable and have mplayer and gmplayer just use the appropriate thing without having to become a codec/device-type expert?

Or, is it just assumed that you will read through the documentation and become a guru for every video you want to watch?
No sarcasm intended there, but I would like to know if that is basically expected.

Thanks...

Last edited by itsjustme; 08-05-2003 at 09:48 AM.
 
Old 08-05-2003, 04:30 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
open ~/.mplayer/config and set "vo = xv,x11" this will make it try xv first and then x11 if that one fails. i believe a similar equivalent is possible in ~/.mplayer/gui.conf
 
Old 08-05-2003, 10:12 AM   #6
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
Quote:
open ~/.mplayer/config and set "vo = xv,x11" this will make it try xv first and then x11
Ok, that fixed the problem with the error when running
gmplayer video7.avi

I have this in gui.conf:
enable_audio_equ = "no"
vo_driver = "x11"
etc...

But that didn't seem to matter with this error. Possibly I can put that "xv," in front of x11 there also for future reference. Ah... more stuff to tweak.

Thanks for the help!

(Dang... vo, just gave me a flash back to my first encounter with seagrams... )
 
  


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
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 09:12 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 01:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 10:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration