Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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
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 01:48 AM.
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?
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 !
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.