Playing Music and Video in Fedora 7
How to play MP3, MPEG, AVI, FLV and other multimedia files in Fedora 7?

Immediately after installing Fedora 7 on desktop computers you would want to play MP3, MPEG, AVI, FLV and other multimedia files. By default the codecs necessary to play these files are not installed. After installing Fedora 7 you will need to perform these steps to be able to play video and music in popular file formats like MP3 and MPEG.
If you are using Fedora 8 proceed to this blog post.
A codec is a device or program capable of performing encoding and decoding on a digital data stream or signal. MPEG-1 Audio Layer 3, an audio encoding format, is more commonly referred to as MP3. MPEG-1, MPEG-2 and MPEG-4 are used for Video CDs and also for online video.
If you are able to hear sounds from the computer after installing Fedora 7 you are just a few steps away to be able to play MP3 and MPEG files.
- Testing whether the soundcard is detected and configured properly:
The /usr/share/sounds/ directory contains several sound files. We can make use of them to test if sound is already working.
Open the terminal and type this command:
play /usr/share/sounds/startup3.wavIf you hear sounds it is confirmed that your soundcard is detected and configured properly. You may want to check if volume control is set to high. When you enter the above command you will see the output in the terminal like below:
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: 120.08K
Done. - Enabling Livna repository:
rpm.livna.org provides many useful packages that can not be distributed in Fedora, probably for licensing issues.
Switch to root using su - command in the terminal. Type the below in the terminal as root to enable to Livna repository
rpm -ivh http://rpm.livna.org/livna-release-7.rpm
Alternatively you you download the RPM file from http://rpm.livna.org/livna-release-7.rpm and then install it. - Next step is to install the codecs needed to play various multimedia file formats. In the terminal type:
yum install gstreamer-plugins-ugly
This will resolve the dependencies and list the packages that needs to be installed, removed or updated. It will ask for your confirmation to proceed further. Read and message on the screen and choose yes. Once the files are downloaded it will ask for your confirmation before importing GPG key from Livna. Choose yes. You will receive a message like below:Installed: gstreamer-plugins-ugly.i386 0:0.10.5-2.lvn7
Dependency Installed: a52dec.i386 0:0.7.4-10.lvn6 lame-libs.i386 0:3.97-4.lvn7 libdvdread.i386 0:0.9.7-2.fc7 libid3tag.i386 0:0.15.1b-3.fc6 libmad.i386 0:0.15.1b-4.lvn6 libsidplay.i386 0:1.36.57-12.fc7 mpeg2dec.i386 0:0.4.1-2.lvn6
Complete!Now you should be able to play MP3s using a player like Rhythmbox.
Note: If you receive a message that yum cannot be run, you will need to end the yum-updatesd process. Use the command
killall yum-updatesd
to kill the already running Yum process. By default Package Manager will be running in the system which uses yum-updatesd. Two instances of
yum-updatesd are not allowed to run at the same time. - To remove totem, totem-mozplugin totem-plparser which are already installed in the system by default. These packages are unable to play MP3 or MPEG files. Here's the command you need to type in the terminal
yum remove totem totem-mozplugin totem-plparser
This will resolve the dependencies and list the packages that needs to be installed, removed or updated. It will ask for your confirmation to proceed further. Read and message on the screen and choose yes. Pretty much the same what you did with yum install gstreamer-plugins-ugly command. - The last step is to install the correct audio and video players and codecs that play MP3 and MPEG files. Just one command is remaining:
yum install totem-xine totem-xine-mozplugin totem-xine-plparser libdvdcss libdvdnav libdvdplay xine-lib-extras-nonfree rhythmbox
Those are the steps you need to perform and you should be all set. Use Rhythmbox to play audio files. Use Totem(Movie Player) to play video files.
Feel free to ask questions/post comments in the forum if you run into any problems with the above steps. I or another member will reply to your queries.









problem while installing gstreamer plugin ugly
Hi.Am Aatish.Am having FC7 on my laptop.i tried the above mentioned steps to listem music and videos on fc7.i got following error while procedding step#3.Also got the same error for last step.
[root@localhost ~]# yum install gstreamer-plugins-ugly
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=i386 error was
[Errno 4] IOError:
Error: Cannot open/read repomd.xml file for repository: fedora
Error: Cannot open/read repomd.xml file for repository: fedora
Please tell me how will i proceed now to resolve it?
Regards,
Aatish
Yum problem
HI sudhir.....
I forget to tell you one thing am connecting to net through proxy server....
Is this a bottle neck for the process...I 'l try to configure DNS n try...will let you kno the updates...
thanks for constantly helping me....
Regards,
Configure Proxy In Yum
If you are using a proxy, you have to configure it in your yum.conf.
Add the below to your /etc/yum.conf and then try using yum:
proxy=http://mycache.mydomain.com:3128proxy_username=yum-user
proxy_password=qwerty
3128 is the TCP port number of your proxy server in this example.
With warm regards,
Sudheer
how to install epson printer 6200 in Ububthu...
Dear Sudheer.
Thanks for this additional knowledge.Actually my problem is solved.I configured DNS and then it works.
Now I can listen music and see videos on fedora too.its gives me great pleasure....
Anyway this informaiton of proxy u provided to me is a vital one and will help me in the long run.
Here is my next query...
Can u pls tel me how to install epson printer 6200 series...on Ububthu...
Warm regards....n hope our relation will develop like this only....
take care...
Aatish
Glad you fixed the issue
Hi Aatish,
I'm glad to hear you solved your problem with yum.
If you post your question regarding the printer configuration in our forums, other users spot the question easily. When more people see the question more likely you will get a faster response.
With warm regards,
Sudheer
The error indicates that yum
The error indicates that yum is unable to access the repository mirrors.
Are you able to ping fedoraproject.org from the terminal?
ping fedoraproject.orgWith warm regards,
Sudheer
Clear Yum Cache
It appears that you hit the repository when it was down or experiencing problems.
To fix the issue try clearing your yum cache.
yum clean allAfter clearing the yum cache repeat the steps and see what happens.
With warm regards,
Sudheer
No...It still giving the same error
Hi sudhir....
Thanks for answering my query.
I followed your instructions. But it still giving the same error.
Can u pls tell me what this error tells.....Does it have any connection with text based internet settings...i wonder if i have not done that setting while instaalling the fc.
Regards,
I do have online internet connection.
hi sudhir....
This is with ref to my previous message.i wold like to clear that there is no issue of internet.
I do have it all the time.So tell me now how to tackle this issue.
First of all what thiss error says. this type of error am getting for evary player i want to install.
Aatish.
Thanks
I had missed your blog post for fedora 8; but now that i followed the instuctions there, things worked like magic......thanks a lot.
It plays all formats except .rm, it would be nice if totem could support that format too.
When i try to play a real media file it says "A problem occurred while loading a library or a decoder (cook.so)." Can anything be done about this?
Srinivas
I wrote that blog post
I wrote that blog post today. :) Try playing .rm file with VLC.
With warm regards,
Sudheer
yum install gstreamer-plugins-ugly
First of all, you are doing a great job here...kudos!!!!
Here is my problem: When i type in the above said command (step 3) i get the following message
"another app holding the yum lock;waiting for it to exit..."
this message keeps on repeating and the only way to stop it is by closing the terminal, what am i supposed to do?
i use fedora 8
Srinivas
I had same problem
Got fixed when I update.
Thanks.This article is
Thanks.
This article is intended for Fedora 7. If you are using Fedora 8 enable the livna repository for Fedora 8. Before you proceed remove the Fedora 7 livna repository.
rpm -e http://rpm.livna.org/livna-release-7.rpmEnable the livna repository for Fedora 8.
rpm -ivh http://rpm.livna.org/livna-release-8.rpmYou are receiving the message "another app holding the yum lock" because Pirut - Add/Remove Software is running on your desktop. This also happens you are running Software Updater. Close them before you use yum on the terminal. You can also remove the lock on yum pid.
rm /var/run/yum.pidWith warm regards,
Sudheer
Totem fails while loading a *.3gp file created by a cel phone
Great thread... thanks to all for comments.
I have two laptops with FC7 that I am trying to set tehm up to view *.3gp files
I have done all steps of the above to include intalling mplayer. As a result of this I can now view an icon picture of the video file when the file is listed in a directory. I can open totem without a problem, but when I open one of the *.3gp files totem crashes without leaving any error messages on the screen or in the /var/log/message file. The same symptoms occure when I open totem by clicking on the filename of the 3pg file.
Any help would be appreciated.
Thanks,
Greg Ennis
Yet to document the steps
Hey Greg Ennis,
Welcome to www.lampcomputing.com. We are yet to document the steps to compile mplayer with 3GP support. It takes a while to test the procedure on my computer and document it in the form of a how to. Also see this thread.
If you happen to compile mplayer with 3GP codecs support, I encourage you to document the steps and contribute it to this community.
With warm regards,
Sudheer
Totem fails while loading a *.3gp file created by a cel phone
Sudheer,
Thanks for the welcome, but I wish there was a better answer. I am just beginning to use totem and do not have much experience with it yet. I don't have experience with mplayer so I doubt I will be able to help much. I'll keep an eye on this list and offer what I can.
Thanks again!!!!
Greg
INstalled as u said man....
the article given by u is simply superb.... MAN... cant jus beleive that all plugins under a single roof.....
Hey Senthil, Thanks for your
Hey Senthil,
Thanks for your compliment. If you liked the article Digg it.
With warm regards,
Sudheer
Hello Sudheer, I don't have intenet connection
Hello Brother,
This is Tushar from Pune, I recently have installed Fedora 7 but you know bro, I'm not able to play video and audio files....And I don't have internet connection on my system...
Will you please tell me the procedure to install essential packegs...??
I would be glad for your help
Warm regards
Tushar
With an Internet connection
With an Internet connection it is quite easy to install packages with yum.
Without an Internet connection, you have to resolve the package dependencies yourself. If you have access to Internet through another Fedora 7 computer, you can use opyum to resolve dependencies. Otherwise, download the packages from livna and install it using rpm.
With warm regards,
Sudheer
running mpeg files in fedora7
sir ihave read your comeents on running mp3 and mpeg in fedora7.i did exactly as u suggested. but still totem is not running movie files.i have got ati radient vidio card.is there any problems are there with the graffic card.please help me
Hi, I will be able to assist
Hi,
I will be able to assist you better with more information on what's happening on your computer. Please answer the below questions and help me gain insight into the problem.
What happens when you try to run movie files in Totem? Are you receiving any error messages? If so, what is the exact text of the error message? What type of movie file is that? Have you tried playing a different movie file?
With warm regards,
Sudheer
thank u for your
thank u for your interest.when I try to run movie files in Totem it tells there are no codec to run it.It is an mpeg file from tom &jerry cortoon which I used to run in windows media player.not only this I have tried different movies. but the message is same.Initially totem tried to run it,but crashed after few secs later.crash code no is 990 which i have sent it through bug buddy.
Type the below commands as
Type the below commands as root and let us know the output
rpm -qa|grep gstreamerrpm -qa|grep totem
ls /etc/yum.repos.d/
You can also try to update totem.
yum update totemWith warm regards,
Sudheer
[root@localhost ravi]# rpm
[root@localhost ravi]# rpm -qa|grep gstreamer
gstreamer-tools-0.10.13-0.1.fc7
gstreamer-plugins-ugly-0.10.5-2.lvn7
gstreamer-plugins-base-0.10.13-1.fc7
gstreamer-plugins-good-0.10.6-1.fc7
gstreamer-0.10.13-0.1.fc7
[root@localhost ravi]# rpm -qa|grep totem
totem-plparser-2.18.3-1.fc7
totem-xine-2.18.3-1.lvn7
totem-xine-mozplugin-2.18.3-1.lvn7
[root@localhost ravi]#
[root@localhost ravi]# ls /etc/yum.repos.d/
fedora-development.repo fedora-updates-testing.repo livna-testing.repo
fedora.repo livna-devel.repo
fedora-updates.repo livna.repo
[root@localhost ravi]# yum update totem
Setting up Update Process
Could not find update match for totem
No Packages marked for Update
[root@localhost ravi]#
this is the response i got.Infact I downnloaded vlc player also.it is also not working.
The packages look all right.
The packages look all right. It is possible that totem is broken. Please perform steps 4 and 5 again to see if it corrects the problem. Yet another thing you could do as a general maintenance task is update your system.
yum update -yIt takes quite a while to update all your packages. If you have a slower Internet connection, start the process just before you sleep. :)
Report back the results for the benefit of everybody.
With warm regards,
Sudheer
Thank You
Thank you very much...
I follow the steps as it is and now I am able to listen music and play videos
Thanks a lot again...
Re: Thank You
You're welcome, Pratap.
thank you!!
I'm a linux newb and after 5 hours of tinkering you've made my day.
Cheers
Thanks..
Hey Thanks, very awesome article.
When going through steps i had error for gstreamers-ugly get. I continued with everything else and encountered no problems. I ran the same command again and worked this time. So anyone having that problem try continuing with the steps and reentering step 2 after everything is finished.
Thanks again!
Re: Thanks..
You're welcome, Rainsford. I think you are referring to step 3. If you tell us what was the exact error message you received, we can understand the issue better. While installing packages using yum, you may encounter errors when your computer is unable to establish connection with the repositories. This happens due to various reasons like repository being busy, inconsistency in your Internet connection, etc. These kind of issues don't last long.
Not the intended result?
Everything was rolling along, then I got to Step 3 and this happened. I really don't know what this means, but I'm pretty sure that it is not what I wanted.
# yum install gstreamer-plugins-ugly
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 3.8 MB 00:15
updates 100% |=========================| 2.3 kB 00:00
Setting up Install Process
Parsing package install arguments
No package gstreamer-plugins-ugly available.
Nothing to do
#
HELP!
make sure livna is enabled
It appears that step #2 didn't go well. gstreamer-plugins-ugly is available in the livna repository. Try to enable livna repository once again. You can verify whether livna is enabled by typing
su -c 'ls /etc/yum.repos.d/'
If it prints 'livna' with the other usual repositories, then livna would be enabled.
I have added a forum to discuss multimedia issues on Fedora. Feel free to use it. Other regular visitors of this site check forums more frequently than this post. You increase your chances of getting faster and better replies on the forum. Thanks.
can not install totem
I ran below command to install totem
# yum install totem-xine totem-xine-mozplugin totem-xine-plparser libdvdcss libdvdnav libdvdplay xine-lib-extras-nonfree rhythmbox
but received transaction check error.
Total download size: 17 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/share/man/man5/xine.5.gz from install of xine-lib-1.1.7-1.fc7 conflicts with file from package xine-lib-1.1.6-2.fc7
Error Summary
-------------
Please help.
Thanks
can not install totem
I ran below command and received transaction check error:
# yum install totem-xine totem-xine-mozplugin totem-xine-plparser libdvdcss libdvdnav libdvdplay xine-lib-extras-nonfree rhythmbox
Here is few of last lines from output of above command
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/share/man/man5/xine.5.gz from install of xine-lib-1.1.7-1.fc7 conflicts with file from package xine-lib-1.1.6-2.fc7
Error Summary
-------------
Please help,
Thanks
Playing Video in Fedora 7
Hi,
This article has provided an excellent support to play videos in Fedora 7,especially for people who are migrating from Windows to Linux like me.Thanks a lot once again.
Just a few quick queries.Can we play .dat and .wma files in the this totem?Can we add more pugins to it?
Thanks
Rinku
Re: Playing Video in Fedora 7
Not too sure whether you have the necessary codecs to play .dat and .wma formats. Try playing them using Totem and let us know what happens,
dependency not resolved on : xine-leb -1.1.6-2.fc7
Hi,
I have fedora 7 - 64, and i followed your procedure above to enable video playing on my linux box. when i run the last command
# yum install totem-xine totem-xine-mozplugin totem-xine-plparser libdvdcss libdvdnav libdvdplay xine-lib-extras-nonfree rhythmbox.i386 0:0.10.0-8.fc7
I get the following conflict message:
Error: totem-xine-plparser conflicts with totem-plparser
Error: totem-xine conflicts with totem-plparser
I did run the remove command, and if i run it again i get:
# yum remove totem totem-mozplugin totem-plparser
Setting up Remove Process
No Match for argument: totem-mozplugin
No Match for argument: totem-plparser
No Match for argument: totem
No Packages marked for removal
Then i tried installing each package separately and i managed to install: totem-xine totem-xine-mozplugin totem-xine-plparser libdvdcss libdvdnav
But when i got to "libdvdplay" i got the unresolved dependency on "xine-leb -1.1.6-2.fc7". on my system i have the F7 version.
Also, what is the last entry on the last command "0:0.10.0-8.fc7"?
I appreciate it if you have a chance to provide me with an answer i am stock.
NOTE: i tried mplayer and it seems to work.
Thanks
Charles
Re: dependency not resolved on : xine-leb -1.1.6-2.fc7
Also, what is the last entry on the last command "0:0.10.0-8.fc7"?
That was a typographical mistake in the article. Please ignore it. If you are running 64 bit Fedora install rhythmbox instead of rhythmbox.i386. Will you try installing the totem packages again? Remove all totem and xine packages already installed on the computer and then follow the steps written in the article above. Report back what happens.
Playing Music and Video in Fedora 7
I am writing a paper for one of my college classes and would like your permission to use this posting in my paper. I will site it as your work and give you full credit. My deadline is in two weeks so please respond if you are able.
Thanks,
Adam
Re: Playing Music and Video in Fedora 7
Go ahead.
dvd playing
When I try to play a dvd "mrbrooks" I get this error:
The source seems encrypted, and can't be read. Are you trying to play an encrypted DVD without libdvdcss?
yum looked like it ran ok when it installed it with the instructions above. Can you point me?
Re: dvd playing
Which player are you using? Try to play DVDs in different players to see if the same error occurs. I would recommend you to perform all the steps mentioned in the above article. Are you able to play the same DVD elsewhere?
It is really helpful
So nice of you to share your knowhow regarding MP3
a request
your post is great .so many i tried for help to play mp3 in my fedora7 .but ur's is accurate.thankq so much.i had a request to u plz. help how to understand all this installing stuff in linux ? what is meant by installing a software or package in linux ?. what happens underhood ?.plz reply
for this i am linux new bee
Re: a request
I'm glad I could help.
Yum makes installing, updating and removing software programs on Fedora very easy. Yum itself is a software program which helps you to manage other programs. A package is a collection of software programs. Installing a software package means adding new programs to your computer. When you install new packages, additional features are integrated to your computer. If you have any specific questions related to installing software on GNU/Linux in general, please feel free to ask. I will try to do my best to answer your queries.
demuxer plugin required for video
i have recently installed Fedora 7, and installed the necessary RPM's.
the audio works fine but whenever i try to play video it gives a error : system stream demuxer plugin for mpeg-1 missing!!
please tell me what to do!
Re: demuxer plugin required for video
If all the necessary packages were installed it wouldn't throw up the error message. :)
Please perform all the steps mentioned in the above article once again. Make sure you aren't missing anything. Also, provide us more information about what's happening on your computer. Which player are you using? What video format are you trying to play?
Re: Re: demuxer plugin required for video
I forgot to add
#yum install mplayer
Post new comment