Fedora 10 Codecs with MPlayer

If you just need MP3 support, you might want to start here. Otherwise, I recommend using RPMFusion.org's MPLayer package with the codecs found at http://www.mplayerhq.hu.

First, install RPM Fusion's free and nonfree YUM repositories. For detailed information about installing RPM Fusion, see: http://rpmfusion.org/Configuration

su -c "rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm"

su -c "rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm"

Next, install MPlayer from RPMFusion.org.

su -c "yum install mplayer gnome-mplayer gnome-mplayer-common mencoder"

Now, visit the MPlayer Codecs Directory and download the latest 'All' tarball.

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.

su -c "mkdir -p /usr/lib/codecs"

Other media players like Xine and avifile might use /usr/lib/win32, so create a symlink.

su -c "ln -s /usr/lib/codecs /usr/lib/win32"
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.

tar -xjvf all-20071007.tar.bz2
su -c "cp -a all-20071007/* /usr/lib/codecs/"

See the MPlayer(1) man page for /usr/bin/mplayer usage.

man 1 mplayer


Comments

Excellent work done. Thanks.

Excellent work done. Thanks.

its working..... thanks :)

its working..... thanks :)

Excellent! Thanks for

Excellent!

Thanks for sharing

this is very beautiful.. its

this is very beautiful.. its working..

very nice tutorail, thanks

very nice tutorail,

thanks for sharing

Thanks, very helpful and

Thanks, very helpful and concise.

For the complainer: I used three lines from this post and I appreciated being easily able to separate what I needed. Why not contribute a stylesheet that does what you want?

I see these kind of

I see these kind of "tutorials" over and over again. And my question is always the same: What you did was create an install script, but instead of pasting the whole script, you proceed to split such script into copy-and-paste segments. Why?

Just paste a big blob of text with all required commands, and tell the user "download and run this script". DONE.

Why make things hard for the newbie? (I'm not one, but I'm thinking of newbies)
FC

I agree tutorials are

I agree tutorials are good.

If you want to continue being a brainless automated twit Stay with Windows/

I'm sorry to see you geeks

I'm sorry to see you geeks still hopping that commandline code will ever get you laid... If a newby doesn't get mp3 in the first 2 days of linux Will get back to windows. And you lose a potential friend. Make the script, let him see linux as "usable" and maybe it will became a programer. or, from a big office position will switch a hole company to linux...

I have to agree with the

I have to agree with the response here. I would only download and run a script as a last resort, they dont help me understand why something works, or if it doesnt tell me what they did, and finally, they are dangerous without understanding.

Nobody should ever blindly

Nobody should ever blindly copy and paste commands from any website onto their system. The goal of my posts are to guide people in the right direction.

I liked the tutorial.. it

I liked the tutorial.. it helps the newbies better understand what we are doing.

Thanks OP

Hi, i am getting an error

Hi, i am getting an error upon unzipping the tar file. Anyone who can help 2 resolve this. Am using Fedora Core 10

[root@NAPSTER ]# tar -xjvf all-20071007.tar.bz2
all-20071007/
all-20071007/xanlib.dll
all-20071007/frapsvid.dll
all-20071007/wvc1dmod.dll
all-20071007/vp7vfw.dll
all-20071007/zmbv.dll
all-20071007/vsshdsd.dll
all-20071007/vmnc.dll
all-20071007/README
all-20071007/tvqdec.dll
all-20071007/lsvxdec.dll
all-20071007/wmsdmod.dll
all-20071007/vdowave.drv
all-20071007/VDODEC32.dll
all-20071007/DECVW_32.DLL
all-20071007/wmvadvd.dll
all-20071007/ctadp32.acm
all-20071007/mi-sc4.acm
all-20071007/aslcodec_vfw.dll
all-20071007/scg726.acm
all-20071007/AvidQTAVUICodec.qtx
all-20071007/BeHereiVideo.qtx
all-20071007/CLRVIDDC.DLL
all-20071007/CtWbJpg.DLL
all-20071007/LCMW2.dll
all-20071007/LCODCCMW2E.dll
all-20071007/LCodcCMP.dll
all-20071007/QuickTime.qts
all-20071007/QuickTimeEssentials.qtx
all-20071007/QuickTimeInternetExtras.qtx
all-20071007/ViVD2.dll
all-20071007/acelpdec.ax
all-20071007/alf2cd.acm
all-20071007/aslcodec_dshow.dll
all-20071007/asusasv2.dll
all-20071007/asusasvd.dll
all-20071007/ativcr2.dll
all-20071007/atrac3.acm
all-20071007/atrc.so.6.0
all-20071007/avimszh.dll
all-20071007/avizlib.dll
all-20071007/clrviddd.dll
all-20071007/cook.so.6.0
all-20071007/cook.so
all-20071007/ddnt.so.6.0
all-20071007/divx.dll
all-20071007/divx_c32.ax
all-20071007/divxa32.acm
all-20071007/divxc32.dll
all-20071007/divxdec.ax
all-20071007/dnet.so.6.0
all-20071007/drv2.so.6.0
all-20071007/drv3.so.6.0

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now