Pages

Playing media files in Fedora 14

If you install Fedora Linux distro for sure the first time you will not be able to play media format such as .mp3 .mpeg .avi .flv and other format, it is because of the issues of the license and patent of the codecs, but the codec can be obtained from the RPMFusion repository of Fedora. This is how to do it.

1. Open the terminal/shell and log in as root.

$ su

2. Test the sound card.

$ play /usr/share/sounds/gnome/default/alert/bark.ogg

the output from the command

/usr/share/sounds/gnome/default/alerts/bark.ogg:
Encoding: Vorbis
Channels: 2 @ 16-bit
Samplerate: 48000Hz
Replaygain: off
Duration: 00:00:00.54
In:100% 00:00:00.54 [00:00:00.00] Out:26.0k [ | ] Hd:3.8 Clip:0
Done.

3. Activated rpm.livna.org, RPM fusion free and non free repositories.

$ rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
$ rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

4. Update your system.

$ yum update -y

5. Uninstall Totem and Xine, or change with Totem and Xine from RPM fusion repos

$ yum remove totem totem-mozplugin totem-plparser xine xine-lib

if the yum process is blocked because already used by another process, you can turn it of with the following command 

killall yum-updatesd

rm /var/run/yum.pid

6. Download and install the codec from RPM fusion repos

$ yum install gstreamer-plugins-bad gstreamer-plugins-bad-extras gstreamer-plugins-ugly

7. Next download your favorite player

a) Audicious

$ yum install audacious-plugins-wavpack audacious-plugins-vortex audacious-plugins-uade audacious-plugins-sid audacious-plugins-metronome audacious-plugins-jack audacious-plugins-freeworld-wma audacious-plugins-freeworld-tta audacious-plugins-freeworld-mp3 audacious-plugins-freeworld-ffaudio audacious-plugins-freeworld-alac audacious-plugins-freeworld-aac audacious-plugins-freeworld audacious-plugins-esd audacious-plugins-amidi audacious-plugins audacious-plugin-xmp audacious-plugin-fc audacious-libs audacious-devel audacious

b) mplayer

$ yum install gnome-mplayer gnome-mplayer-nautilus mplayer mplayer-doc mplayer-gui

c) xmms

$ yum install xmms-mp3 xmms-mplayer xmms2 xmms2-freeworld xmms2-mp4 xmms2-mac xmms2-mad xmms2-nonfree

d) Rhytmbox

$ yum install rhythmbox-lirc rhythmbox-upnp

e) VLC

$ yum install vlc

f) fmmpeg

$ yum install ffmpeg ffmpeg-devel ffmpeg-libs ffmpeg2dirac ffmpeg2theora

Hopefuly the article is helpful.
Similliar with here

0 comments:

Post a Comment