LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   how to play audio/video songs in fedora (https://www.linuxquestions.org/questions/fedora-35/how-to-play-audio-video-songs-in-fedora-581644/)

alice_neo 09-02-2007 09:07 AM

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:cry:

author_unknown 09-02-2007 09:40 AM

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"

AwesomeMachine 09-02-2007 04:41 PM

Try using synaptic package manager, and search for 'player'.

osor 09-02-2007 08:44 PM

Quote:

Originally Posted by AwesomeMachine (Post 2879023)
Try using synaptic package manager, and search for 'player'.

Umm… you do realize he is using fedora core, don’t you?

alice_neo 09-04-2007 02:37 PM

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?

ruchirmehta01 09-21-2007 04:06 AM

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

amdawi 09-23-2007 03:23 PM

having same problem ???

Help please

amdawi 09-23-2007 03:47 PM

Quote:

Originally Posted by author_unknown (Post 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.

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.

texasred218 10-01-2007 06:58 AM

Thank you for this post and this website its been very helpful for me

jam5173 10-15-2007 10:50 AM

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

logicrafi 11-13-2007 03:41 AM

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

themdirfan 12-10-2007 08:01 AM

vlc link for fedora
 
Quote:

Originally Posted by logicrafi (Post 2957227)
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

themdirfan 12-10-2007 08:04 AM

sorry it got posted twice.


Irfan

rsklnx 12-15-2007 12:54 AM

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

guygo 12-24-2007 11:45 AM

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.

iwonder.linux 11-04-2009 08:47 PM

help required
 
Hi, i'm new to this site and so to linux. I've installed fedora11 and can't play audio & video things.
I even dunno where to download linux softwares from and how to install em, thats secondary.
whats a terminal? where shud i open it frm?
how do i get things working?


All times are GMT -5. The time now is 03:45 PM.