LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2008, 03:05 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Rep: Reputation: 49
using mplayer without gui


i am using open suse 10.3.
I installed tarball of mplayer but used ./configure without enabling option of gui.When i execute mplayer <movie file>.The file is played but screen is not visible anywhere though sound is heard.Actually I wanted to use mplayer with minimum configuration.
 
Old 12-17-2008, 03:16 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200
you probably didn't copy the necessary codecs. They can be downloaded on the mplayer's website. Just extract them to a folder. There's a readme file in the codecs pack which will tell you where to copy them to.

Last edited by sycamorex; 12-18-2008 at 06:13 AM.
 
Old 12-18-2008, 12:19 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
dear sycamorex
I read the README file that came with mplayer tarball which first asked to create a particular folder and copy codecs into it.Then it asked to use ./configure & it is optional to add enable gui which I did not do then as usual 'make' followed by 'make install' & no error occured.Actually previously I had installed mplayer with gui enabled then added skin & everything had worked fine but I just want to install mplayer without gui then play file using simple command 'mplayer <filepath>'.Is it possible.
 
Old 12-18-2008, 12:36 AM   #4
nflenz
Member
 
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Rep: Reputation: 18
You need to add the -vo option.

Code:
$ mplayer -vo help
MPlayer dev-SVN-rUNKNOWN-4.2.4 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ (Family: 15, Model: 107, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Available 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!)
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        aa      AAlib
        v4l2    V4L2 MPEG Video Decoder Output
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        mpegpes MPEG-PES to DVB card
        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
On my system, I use sdl for video. Try all of the available drivers and pick the one that works best for you.
 
Old 12-18-2008, 02:03 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
Thanks to nflenz.I will try all video output options & report in this thread if I got any problem.
 
Old 12-18-2008, 06:23 AM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200
If you compiled mplayer without any errors and copied the codecs to the appropriate folder than you should be ready to go. If not, then as nflenz advised, you need to specify the -vo (video output, I guess) eg.
Quote:
mplayer -vo xv yourfilm.avi
Once you've found out which vo works on your system, you can save it in mplayer's config file:
~/.mplayer/config

You can store there any config options: eg.
Quote:
vo="xv"
load_fullscreen = "yes"
good luck
 
Old 12-19-2008, 02:36 AM   #7
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
fbdev Framebuffer DeviceVideo
fbdev2 Framebuffer Device
v4l2 V4L2 MPEG Video Decoder Output
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES to DVB card
yuv4mpeg:yuv4mpeg output for mjpegtools
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame


tried all of them but none of them showed the video window.
NOTE:there is no graphic card in my CPU just embedded intel 82810E graphic controller.Does that help.Any other sugestion?

Last edited by sumeet inani; 12-19-2008 at 02:48 AM.
 
Old 12-19-2008, 04:18 AM   #8
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200
have you tried 'xv'?
What's the exact error that you get after eg. mplayer -vo xv film.avi

Last edited by sycamorex; 12-19-2008 at 04:19 AM.
 
Old 12-22-2008, 12:11 AM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
To sycamorex
As mentioned above there is no option of xv.Also I think without gui window will not appear.Have you installed without enabling gui during ./configure?
 
Old 12-22-2008, 12:31 AM   #10
liuguobiao
Member
 
Registered: Dec 2008
Location: china
Distribution: slackware
Posts: 32

Rep: Reputation: 16
hi

I have the same problem ,and I finaly find what is the problem is:
I do './configure' without any setting, so mplayer will find decoder in default path:
/usr/local/lib/codecs
/usr/lib/win32

but my system have no such directory. then I create these directorys and mv my decoder to these directory ,finaly ,It works !

so you can try to check your directory ,if that like me,do it like me !
 
Old 12-25-2008, 11:06 PM   #11
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
To liuguobiao,
What you have said is already mentioned in mplayer readme & it is actually the first step before ./configure.To quote:

Unpack the codecs archives and put the contents in a directory where MPlayer will find them. The default directory is /usr/local/lib/codecs/ (it used to be /usr/local/lib/win32 in the past, this also works)
 
Old 12-25-2008, 11:50 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,990

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
you will like the QT frontend to mplayer called SMPlayer
http://smplayer.sourceforge.net/
 
  


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
Installing Mplayer & Mplayer GUI simplydc3 Linux - Software 3 06-22-2006 04:01 AM
MPlayer Gui RedRaven Debian 4 10-04-2005 12:27 PM
MPlayer but no GUI! lokirulez Linux - Software 11 07-28-2005 06:20 AM
Mplayer gui joney_bravo SUSE / openSUSE 3 03-03-2005 08:18 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM


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