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. |
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. |
You need to add the -vo option.
Code:
$ mplayer -vo help |
Thanks to nflenz.I will try all video output options & report in this thread if I got any problem.
|
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/config You can store there any config options: eg. Quote:
|
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? |
have you tried 'xv'?
What's the exact error that you get after eg. mplayer -vo xv film.avi |
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? |
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 ! |
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) |
you will like the QT frontend to mplayer called SMPlayer
http://smplayer.sourceforge.net/ |
All times are GMT -5. The time now is 09:45 PM. |