Linux vishal on 19 Mar 2007 11:32 pm
How to play any media -video file in linux using single mediaplayer
hi
in windows we have to use many players like real player for -.rm .ram files, quicktime for .mov .3gpp files , divx player for divx files and mediaplayer for .wmv ,avi and flvplayer for .flv files,,, linux has simple solutions for play all files in single player called mplayer thats award winning software of unix and now also launch for windows.
how to use this beautiful software ;-
method is somehow complicated but gone through proper method it will work without crash.
but small problem there u have to install latest libcgg , libgcc-common platform if you are using fedora distribution then no prob.
download
http://www.mplayerhq.hu/design7/dload.html
binary package and use websites documentation for install generally after tar ./configure –> make –> make install method.
then download binary codecs from same websites in download section for linux x86 platform and create one directory named codecs
in /usr/local/lib/ and copy all codecs in /usr/local/lib/codecs.
so your codes platform will be create .
now type in terminal
/usr/local/bin/mplayer -vo x11 file.wmv (or any file path )
all file will be run superb .
remember codecs’s placement is most important conform that codecs path is /usr/local/lib/codecs directory .
if you configure some frontend tool for mplayer for controling( seek drag etc) mediaplayer menu then use xmms (linux media player ).
if not already installed then
type
yum -t install xmms
after installing download XMMS MPlayer Input Plugin from http://xmmsmplayer.sourceforge.net.
then install xmmsmplayer’s rpm package.
now start xmms by type xmms in terminal
then rightclick any where on player and go to–> option and –> preference .
and from i/o plugins select mplayer plugins from xmms.
and click on configure tab and then extra then type -vo x11
now select any file from xmms ( look like winamp ) and play file .
note; try to play without configure pluggins of xmms if not work then use -vo x11 option .and you have to go through axact method described above.