It may be very painful when you start to use Fedora and you find that there is no pre-installed multimedia codecs.Many times you try to play a multimedia files and it show you a damn messege 'xyz.dat uses an unsupporte codec' or like 'There is no demuxer plugin available to handle xyz.mp3 .Usually this means that the file format was not recognized'.This type of messeges many times may got your brains in fire.
So, after many 'Googling' i found a simple way to solve all this rubbish messeges.Just follow the following steps.I hope it'd help most of u :
There is gnome-mplayer in the rpmfusion repos. It is a nice gtk2 interface for mplayer.
First, install RPM Fusion's free and nonfree YUM repositories. For detailed information about installing RPM Fusion, see: http://rpmfusion.org/Configuration
[firaz@localhost ~]$ su
Password:
[root@localhost firaz]# su -c "rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm"
[root@localhost firaz]# su -c "rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm"
Next, install MPlayer from RPMFusion.org.
[root@localhost firaz]# su -c "yum install mplayer gnome-mplayer gnome-mplayer-common mencoder"
Now, visit the MPlayer Codecs Directory and download the latest 'All' tarball.
[root@localhost firaz]# wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
Next, prepare the codecs folder. MPlayer from RPMFusion.org will use /usr/lib/codecs.
[root@localhost firaz]# su -c "mkdir -p /usr/lib/codecs"
Other media players like Xine and avifile might use /usr/lib/win32, so create a symlink.
[root@localhost firaz]# su -c "ln -s /usr/lib/codecs /usr/lib/win32"[root@localhost firaz]# ls -l /usr/lib/win32
lrwxrwxrwx 1 root root 15 2008-05-24 08:02 /usr/lib/win32 -> /usr/lib/codecs
Finally, extract the contents of the tarball and copy all files to /usr/lib/codecs.
[root@localhost firaz]# tar -xjvf all-20071007.tar.bz2[root@localhost firaz]# su -c "cp -a all-20071007/* /usr/lib/codecs/"
See the MPlayer(1) man page for /usr/bin/mplayer usage.
[root@localhost firaz]# man 1 mplayer
Now Njoy GNOME player.It works like a charm :D

No comments:
Post a Comment