LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-02-2007, 09:07 AM   #1
alice_neo
Member
 
Registered: Feb 2007
Location: Las vegas, US
Distribution: Fedora 9.................nowdayz
Posts: 39

Rep: Reputation: 15
how to play audio/video songs in fedora


hi guys i h m using fedora7 and unable to play audios and videos please help me out
 
Old 09-02-2007, 09:40 AM   #2
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Rep: Reputation: 15
Talking

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.

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.

1. 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.wav

If 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.

2. 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.

3. 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.

4. 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.

5. 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.i386 0:0.10.0-8.fc7

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 if you run into any problems with the above steps. I will be glad to assist you.

________________________________________________________________________

"Opinion is like an ASSHOLE, Everyone has one"
 
Old 09-02-2007, 04:41 PM   #3
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,591

Rep: Reputation: 162Reputation: 162
Try using synaptic package manager, and search for 'player'.
 
Old 09-02-2007, 08:44 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by AwesomeMachine View Post
Try using synaptic package manager, and search for 'player'.
UmmÖ you do realize he is using fedora core, donít you?
 
Old 09-04-2007, 02:37 PM   #5
alice_neo
Member
 
Registered: Feb 2007
Location: Las vegas, US
Distribution: Fedora 9.................nowdayz
Posts: 39

Original Poster
Rep: Reputation: 15
to author_unknown

thank you author_unknown, it worked out for me. i tried several other posts in the community but were all useless thank you very much.
btw, are u the same "author unknown" who at the age of 8 hacked down the new york share market and later the fbi?
 
Old 09-21-2007, 04:06 AM   #6
ruchirmehta01
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
no sound

i had done all the steps writtne above..

mmediately 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.

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.

1. 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.wav

If 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.


"but all this r coming on terminal window but no volume had come.. so suggest the way to activate volume.. i m using hp dv5118tx laptop.."
 
Old 09-23-2007, 03:23 PM   #7
amdawi
Member
 
Registered: Sep 2003
Distribution: Fedora
Posts: 47

Rep: Reputation: 15
having same problem ???

Help please
 
Old 09-23-2007, 03:47 PM   #8
amdawi
Member
 
Registered: Sep 2003
Distribution: Fedora
Posts: 47

Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by author_unknown View Post
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.

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.

1. 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.wav

If 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.

2. 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.

3. 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.

4. 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.

5. 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.i386 0:0.10.0-8.fc7

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 if you run into any problems with the above steps. I will be glad to assist you.

________________________________________________________________________

"Opinion is like an ASSHOLE, Everyone has one"
Thanks ,,, it works OK.
 
Old 10-01-2007, 06:58 AM   #9
texasred218
LQ Newbie
 
Registered: Aug 2006
Location: western canada
Distribution: PCLINUX GNOME Ubuntu 10.04 lubuntu 10.04
Posts: 19

Rep: Reputation: 1
Thank you for this post and this website its been very helpful for me
 
Old 10-15-2007, 10:50 AM   #10
jam5173
LQ Newbie
 
Registered: Dec 2005
Location: Houston, Texas
Distribution: Fedora 7
Posts: 4

Rep: Reputation: 0
Talking It Worked

To author unknown: Thanks! I've been trying to play internet radio with my recent install of F7, but failed. Your post hit the mark!

Thanks Again (and thanks to LinuxQuestions.org),
Jim
 
Old 11-13-2007, 03:41 AM   #11
logicrafi
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Please help me

My problem is iam new to fedora core 6, iam not able to play mp3 and some video files, i have seen some guides to install the mp3 plugin, but its not working for me, please help me out,

iam trying to install VLC player, pls anyone tell me how to install the vlc player and which is the installing file, and what is the instaling command. please help me out,

thanking in advance
 
Old 12-10-2007, 08:01 AM   #12
themdirfan
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
vlc link for fedora

Quote:
Originally Posted by logicrafi View Post
My problem is iam new to fedora core 6, iam not able to play mp3 and some video files, i have seen some guides to install the mp3 plugin, but its not working for me, please help me out,

iam trying to install VLC player, pls anyone tell me how to install the vlc player and which is the installing file, and what is the instaling command. please help me out,

thanking in advance

Hey pal this is what i did, considering i m a very newbie to linux, i want to this link and found most of the details and successfully installed it. http://www.videolan.org/vlc/download-fedora.html

Hope this helps

irfan
 
Old 12-10-2007, 08:04 AM   #13
themdirfan
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
sorry it got posted twice.


Irfan
 
Old 12-15-2007, 12:54 AM   #14
rsklnx
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Vedio playing problem

i have done all those steps that u have described above ..on fedora 8 but cant play vedio files ....still cant see the vedio properly ..only line -line comes...
 
Old 12-24-2007, 11:45 AM   #15
guygo
LQ Newbie
 
Registered: Dec 2007
Location: San Francisco
Distribution: Fedora 8
Posts: 2

Rep: Reputation: 0
Talking It works, but be sure to watch your arch!

[QUOTE=author_unknown;2878637]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.

...


Feel free to ask questions/post comments if you run into any problems with the above steps. I will be glad to assist you.

________________________________________________________________________


Thank you, thank you, oh mighty author_unknown! Finally someone who understands that us noobs need real step-by-step instructions.
ONE NOTE!!! I am on an X86_64 architecture, not i386, and when I used cut and paste to invoke the above yum commands, I wound up with the i386 version of rhythmbox, which would not load it's plugins correctly and therefore wouldn't play anything. When I then removed rhythmbox.i386 (yum remove rhythmbox.i386) and installed rhythmbox.X86_64 (yum install rhythmbox.X86_64), everything worked like a charm. I can now play MPEG1 movies in totem and MP3 audio in rhythmbox. Sweet. Thanks again! You iz da man.
 
  


Reply

Tags
audio, connected, fedora 10, get, help, mp3, mpeg, x8664


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I am not able to play Mp3 Songs In Red Hat 9,How To Play The Songs? vlovevj_patel Linux - General 10 03-23-2008 11:45 PM
how to play audio/video files in fedora core 6 alice_neo Linux - Software 4 03-26-2007 11:43 AM
Play Audio and Video in Fedora 2 musheerlin Linux - Software 1 03-15-2007 08:52 AM
How can i play audio and video files in fedora core 5? furqan Fedora 2 07-19-2006 03:46 PM
Why I can not play the steam audio or video tuzhiyong Linux - Software 1 11-24-2004 04:41 AM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration