Skip navigation.

7 Easy Steps To Play Music And Video In Fedora 8

How to play music and video(MP3, MPEG, AVI, FLV and other multimedia files) in Fedora 8?

Due to patent encumbrance codecs required to play some proprietary file formats are not shipped with Fedora 8. Codecs are the programs that encode and decode digital data. These codecs are available in the livna repository for Fedora 8. You will be able to play mpeg, mp3, avi, flv and other commonly used file formats for music and video. You will require an Internet connection to download and install these packages on your computer.

If you are using Fedora 7 proceed to this blog post.

Let us get started. Are you ready?

playing music and video in Fedora 9

1. Open a terminal and switch to root user.

Launch the terminal from the panel menu
Click Applications->System Tools->Terminal
On the terminal type: su -
Type your root password and hit enter key on the keyboard.

2. Check whether sound is properly configured on your system.

play /usr/share/sounds/startup3.wav

If you hear sounds proceed further. Otherwise check volume control and sound devices configuration. Below is the output when you play the wav sound file from the terminal.

Input File     : '/usr/share/sounds/startup3.wav'
Sample Size    : 16-bit (2 bytes)
Sample Encoding: signed (2's complement)
Channels       : 2
Sample Rate    : 44100

Time: 00:02.50 [00:00.00] of 00:02.50 ( 100.0%) Output Buffer: 110.36K

Done.

3. Enable the rpm.livna.org repository.

rpm -ivh http://rpm.livna.org/livna-release-8.rpm

4. Remove the totem and xine packages installed on your computer. Let us use the totem packages from the rpm.livna.org instead. From this step we will use yum. Close other applications that use yum in the background. Pirut - Add/Remove Software and Software Updater use yum as back end. You may also have to stop yum-updatesd daemon running on your computer.

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

Use these commands to kill the existing yum processes if you encounter any issues running yum.

killall yum-updatesd
rm /var/run/yum.pid

5. Download and install the codecs from rpm.livna.org.

yum install gstreamer-plugins-bad gstreamer-plugins-bad-extras gstreamer-plugins-ugly xine-lib-extras-nonfree

6. Download and install totem player and its plugins.

yum install totem-xine totem-xine-mozplugin totem-xine-galago totem-xine-lirc

7. Optionally download and install other media players.
a) Audicious

yum install audacious-plugins-nonfree-aac audacious-plugins-nonfree-alac audacious-plugins-nonfree-lame audacious-plugins-nonfree-mms audacious-plugins-nonfree-mp3 audacious-plugins-nonfree-tta audacious-plugins-nonfree-wma audacity-nonfree

b) ffmpeg: FFMpeg is a complete and free Internet live audio and video
broadcasting solution. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
yum install ffmpeg ffmpeg-libs ffmpeg2theora gstreamer-ffmpeg

c) mplayer
yum install mplayer mplayer-doc mplayer-fonts mplayer-gui mplayerplug-in gnome-mplayer

d) xmms
yum install  xmms-faad2 xmms-mp3 xmms-normalize

e) Rhythmbox
yum install rhythmbox-lirc rhythmbox-upnp

f) Others
yum install vlc

Launch your favorite multimedia application from the GNOME panel and play your favorite music or video.



how to use wine

This comment has been moved here.

dat file

sudeer, since last 6 months, i have tried your useful advice.it is useful & works well with dvd ,avi files.same story with xubuntu,mandriva and now feodra 9.I have got all these distros on my systems-desktop.laptop and external drive.but what i have seen is that none of them are capable of playing mpeg .dat file.in India we know that most of the commercially available VCDs are in that format i.e., avseq.dat format.even Mplayer is also not capable.

Also what I have observed is that quality of pictures.When the same DVD is played in windows based (xp) softwares the quality of pictures will be very good including the sound.In linux it is not the same.both sound & picture quality will be poor.Is there method to improve both.

Re: dat file

I'm glad that you find my posts useful.

I personally haven't tried playing VCDs on my PC. I think the codecs you install following the directions of the blog post are capable of playing mpeg video streams.

Try playing VCDs using another player like VLC and see what happens. Also can you tell us what video card hardware are you using?

With warm regards,
Sudheer

Thanks a lot for the info!

Thanks a lot for the info! I've tried several things but your steps actually works!

I am glad it worked for you

You're welcome.

With warm regards,
Sudheer

Same issue with xine-lib-extras-nonfree

I get the same error when I try to install xine-lib-extras-nonfree

Error: Missing Dependency: xine-lib(plugin-abi) = 1.20 is needed by package xine-lib-extras-nonfree

Here is the grep you asked for I am getting very little info off of the web on this issue

totem-xine-lirc-2.20.1-1.lvn8
totem-xine-2.20.1-1.lvn8
totem-xine-galago-2.20.1-1.lvn8
xine-lib-1.1.11.1-1.fc8.1
totem-xine-mozplugin-2.20.1-1.lvn8

When did you last update the

When did you last update the packages?

To update xine-lib use the below command

yum update xine-lib

To update all the packages use the below command

yum update

With warm regards,
Sudheer

Delay in rpm.livna.org updates

It appears that the issue is caused by mismatch in the Fedora and rpm.livna.org package repositories. From what I read, rpm.livna.org folks are yet to catch up with Fedora xine-lib package.

There are two ways to solve the issue.
1. Wait for couple of days and install xine-lib-extras-nonfree when it is updated in the rpm.livna.org repository.
2. Enable the rpm.livna.org development repository and install the latest xine-lib-extras-nonfree from there.

yum --enablerepo=livna-development install xine-lib-extras-nonfree

If you prefer to install only stable packages, I recommend you to go for solution #1.

With warm regards,
Sudheer

No change

Sudheer

Tried using the DEV release and get the same error. Maybe need to wait till things catch up?

Try Installing Codecs Now

ddeb reports he was able to fix it after waiting for a while. I hope you too can try to install the packages now.

With warm regards,
Sudheer

Dependency problem

So here are the output of the update commands that you suggested:
-------------------------------------------------------------

[root@iche176 ddeb]# yum update xine-lib
Setting up Update Process
Could not find update match for xine-lib
No Packages marked for Update
[root@iche176 ddeb]# yum --enablerepo=livna-development install xine-lib-extras-nonfree
livna-development         100% |=========================| 2.1 kB    00:00    
primary.sqlite.bz2        100% |=========================| 137 kB    00:00    
Setting up Install Process
Parsing package install arguments
Package xine-lib-extras-nonfree - 1.1.11.1-1.lvn8.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package xine-lib-extras-nonfree.i386 0:1.1.12-1.lvn9 set to be updated
--> Processing Dependency: xine-lib(plugin-abi) = 1.21 for package: xine-lib-extras-nonfree
--> Finished Dependency Resolution
Error: Missing Dependency: xine-lib(plugin-abi) = 1.21 is needed by package xine-lib-extras-nonfree
[root@iche176 ddeb]#

-------------------------------------------------------------

So I think .... I should wait a little longer before I install the update ..... as my whole system right now working perfect .... I have read also on the other sites also the same problem of update mismatch ....

Any way thanks .... and if I can find out any solution I will come back again ......

cheers, happy life

Dependency problem

Hello,

Its now all OK. Learned a lesson. 'Some times it works fine when you wait'

Thanks for sticking around ...

DD

I'm glad the issue was

I'm glad the issue was resolved.

With warm regards,
Sudheer

Dependency problem

Hi,
I have got the same dependency problem as the earlier post ...

Here are some of the out-puts of your suggestions in regard to last post:

[root@iche176 ddeb]# play /usr/share/sounds/startup3.wav

Input File : '/usr/share/sounds/startup3.wav'
Sample Size : 16-bit (2 bytes)
Sample Encoding: signed (2's complement)
Channels : 2
Sample Rate : 44100

Time: 00:02.50 [00:00.00] of 00:02.50 ( 100.0%) Output Buffer: 110.36K

Done.
[root@iche176 ddeb]# rpm -qa|grep xine
xine-lib-1.1.11.1-1.fc8.1
xine-0.99.5-1.lvn8
totem-xine-2.20.1-1.lvn8
xine-skins-1.10-1.fc
xine-lib-extras-nonfree-1.1.11.1-1.lvn8
xine-lib-extras-1.1.11.1-1.fc8.1

----------------------------------------

Any help??

media on Fedora 8

Hi Sudheer,
I tried following instructions
while installing codecs...i got this error

step 5: a dependency issue
Error: Missing Dependency: xine-lib(plugin-abi) = 1.20 is needed by package xine-lib-extras-nonfree

step 7:again a dependancy issue

Error: Missing Dependency: libmowgli.so.1()(64bit) is needed by package audacious-plugins-nonfree-aac

So i did not go further....
can you advice please....I have trying to get realpayer running for quite some time but in vain.

amith

Let's Troubleshoot

Let's see why it is happening. Please paste the output of

rpm -qa|grep xine

With warm regards,
Sudheer

Hi, I updated system

I updated complete system and then followed your steps. It worked perfectly and now able to play my all audio formats. Nice post thanks

You're welcome.

You're welcome.

With warm regards,
Sudheer

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Use the special tag [adsense:format:group:channel] or [adsense:flexiblock:location] to display Google AdSense ads.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.