Tuesday, July 26, 2011

Play MP3 on Fedora 15

How to setup Fedora 15 to be able to play MP3
Links: Reference


Yay! If you are reading this, it’s because you make a fresh install of the new Fedora 15, then import your library music, open banshe/rhythmbox and no mp3 plugin detected, ok, click on search, but! nothing is found…Wow..what can I do now? I can’t live without my music!!!!

No worries, me too ;-)

First, we need to check if we have rpmfusion repository:

ls /etc/yum.repos.d/ | grep rpmfusion



1. Install rpmfusion

[root@localhost alexm]# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm


2. Install gstreamer plugins

[root@localhost alexm]# yum install gstreamer-plugins-bad gstreamer-ffmpeg -y

Here is the installation log.



[root@localhost alexm]# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Local Package Process
rpmfusion-free-release-stable.noarch.rpm | 18 kB 00:00
Examining /var/tmp/yum-root-PKi4lB/rpmfusion-free-release-stable.noarch.rpm: rpmfusion-free-release-13-4.noarch
Marking /var/tmp/yum-root-PKi4lB/rpmfusion-free-release-stable.noarch.rpm to be installed
rpmfusion-nonfree-release-stable.noarch.rpm | 18 kB 00:00
Examining /var/tmp/yum-root-PKi4lB/rpmfusion-nonfree-release-stable.noarch.rpm: rpmfusion-nonfree-release-13-4.noarch
Marking /var/tmp/yum-root-PKi4lB/rpmfusion-nonfree-release-stable.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rpmfusion-free-release.noarch 0:13-4 will be installed
---> Package rpmfusion-nonfree-release.noarch 0:13-4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version
Repository Size
================================================================================
Installing:
rpmfusion-free-release
noarch 13-4 /rpmfusion-free-release-stable.noarch 12 k
rpmfusion-nonfree-release
noarch 13-4 /rpmfusion-nonfree-release-stable.noarch 12 k

Transaction Summary
================================================================================
Install 2 Package(s)

Total size: 23 k
Installed size: 23 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : rpmfusion-free-release-13-4.noarch 1/2
Installing : rpmfusion-nonfree-release-13-4.noarch 2/2

Installed:
rpmfusion-free-release.noarch 0:13-4 rpmfusion-nonfree-release.noarch 0:13-4

Complete!

[root@localhost alexm]# yum install gstreamer-plugins-bad gstreamer-ffmpeg -y
Loaded plugins: langpacks, presto, refresh-packagekit
rpmfusion-free | 3.3 kB 00:00
rpmfusion-free/primary_db | 315 kB 00:00
rpmfusion-free/group | 9.8 kB 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-free-updates/primary_db | 154 kB 00:00
rpmfusion-nonfree | 3.3 kB 00:00
rpmfusion-nonfree/primary_db | 109 kB 00:00
rpmfusion-nonfree/group | 4.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates/primary_db | 43 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gstreamer-ffmpeg.i686 0:0.10.11-2.fc15 will be installed
--> Processing Dependency: libavformat.so.52 for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libswscale.so.0 for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libavformat.so.52(LIBAVFORMAT_52) for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libpostproc.so.51 for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libavcodec.so.52(LIBAVCODEC_52) for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libavutil.so.50 for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libswscale.so.0(LIBSWSCALE_0) for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libpostproc.so.51(LIBPOSTPROC_51) for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libavutil.so.50(LIBAVUTIL_50) for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
--> Processing Dependency: libavcodec.so.52 for package: gstreamer-ffmpeg-0.10.11-2.fc15.i686
---> Package gstreamer-plugins-bad.i686 0:0.10.22-1.fc15 will be installed
--> Processing Dependency: libdca.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libmimic.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: librtmp.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libmpeg2encpp-1.9.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libmms.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libxvidcore.so.4 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libfaad.so.2 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libmjpegutils-1.9.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Processing Dependency: libmplex2-1.9.so.0 for package: gstreamer-plugins-bad-0.10.22-1.fc15.i686
--> Running transaction check
---> Package faad2-libs.i586 1:2.7-1.fc11 will be installed
---> Package ffmpeg-libs.i686 0:0.7-0.3.20110612git.fc15 will be installed
--> Processing Dependency: libva.so.1 for package: ffmpeg-libs-0.7-0.3.20110612git.fc15.i686
--> Processing Dependency: libmp3lame.so.0 for package: ffmpeg-libs-0.7-0.3.20110612git.fc15.i686
--> Processing Dependency: libx264.so.114 for package: ffmpeg-libs-0.7-0.3.20110612git.fc15.i686
---> Package libdca.i686 0:0.0.5-5.fc12 will be installed
---> Package libmimic.i686 0:1.0.4-4.fc12 will be installed
---> Package libmms.i686 0:0.6.2-1.fc15 will be installed
---> Package librtmp.i686 0:2.3-2.fc14 will be installed
---> Package mjpegtools-libs.i686 0:1.9.0-2.fc14 will be installed
--> Processing Dependency: libquicktime >= 0.9.8 for package: mjpegtools-libs-1.9.0-2.fc14.i686
--> Processing Dependency: libSDL-1.2.so.0 for package: mjpegtools-libs-1.9.0-2.fc14.i686
--> Processing Dependency: libquicktime.so.0 for package: mjpegtools-libs-1.9.0-2.fc14.i686
---> Package xvidcore.i686 0:1.3.2-2.fc15 will be installed
--> Running transaction check
---> Package SDL.i686 0:1.2.14-11.fc15 will be installed
---> Package lame-libs.i686 0:3.98.4-1.fc14 will be installed
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be installed
---> Package libva.i686 0:1.0.13-2.fc15 will be installed
---> Package x264-libs.i686 0:0.0.0-0.29.20110227.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gstreamer-ffmpeg i686 0.10.11-2.fc15 rpmfusion-free 186 k
gstreamer-plugins-bad
i686 0.10.22-1.fc15 rpmfusion-free-updates 148 k
Installing for dependencies:
SDL i686 1.2.14-11.fc15 fedora 201 k
faad2-libs i586 1:2.7-1.fc11 rpmfusion-free 169 k
ffmpeg-libs i686 0.7-0.3.20110612git.fc15 rpmfusion-free-updates 2.9 M
lame-libs i686 3.98.4-1.fc14 rpmfusion-free 245 k
libdca i686 0.0.5-5.fc12 rpmfusion-free 101 k
libmimic i686 1.0.4-4.fc12 rpmfusion-free 28 k
libmms i686 0.6.2-1.fc15 rpmfusion-free 47 k
libquicktime i686 1.2.2-2.fc15 rpmfusion-free 288 k
librtmp i686 2.3-2.fc14 rpmfusion-free 55 k
libva i686 1.0.13-2.fc15 updates 51 k
mjpegtools-libs i686 1.9.0-2.fc14 rpmfusion-free 232 k
x264-libs i686 0.0.0-0.29.20110227.fc15 rpmfusion-free 345 k
xvidcore i686 1.3.2-2.fc15 rpmfusion-free-updates 244 k

Transaction Summary
================================================================================
Install 15 Package(s)

Total download size: 5.2 M
Installed size: 15 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 5.2 M
http://fedora.mirrors.pair.com/linux/releases/15/Everything/i386/os/Packages/SDL-1.2.14-11.fc15.i686.rpm: [Errno 12] Timeout on http://fedora.mirrors.pair.com/linux/releases/15/Everything/i386/os/Packages/SDL-1.2.14-11.fc15.i686.rpm: (28, '')
Trying other mirror.
(1/15): SDL-1.2.14-11.fc15.i686.rpm | 201 kB 00:01
(2/15): faad2-libs-2.7-1.fc11.i586.rpm | 169 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 00a4d52b: NOKEY
Public key for faad2-libs-2.7-1.fc11.i586.rpm is not installed
(3/15): ffmpeg-libs-0.7-0.3.20110612git.fc15.i686.rpm | 2.9 MB 00:02
Public key for ffmpeg-libs-0.7-0.3.20110612git.fc15.i686.rpm is not installed
(4/15): gstreamer-ffmpeg-0.10.11-2.fc15.i686.rpm | 186 kB 00:00
(5/15): gstreamer-plugins-bad-0.10.22-1.fc15.i686.rpm | 148 kB 00:00
(6/15): lame-libs-3.98.4-1.fc14.i686.rpm | 245 kB 00:00
(7/15): libdca-0.0.5-5.fc12.i686.rpm | 101 kB 00:01
(8/15): libmimic-1.0.4-4.fc12.i686.rpm | 28 kB 00:00
(9/15): libmms-0.6.2-1.fc15.i686.rpm | 47 kB 00:00
(10/15): libquicktime-1.2.2-2.fc15.i686.rpm | 288 kB 00:00
(11/15): librtmp-2.3-2.fc14.i686.rpm | 55 kB 00:00
(12/15): libva-1.0.13-2.fc15.i686.rpm | 51 kB 00:00
(13/15): mjpegtools-libs-1.9.0-2.fc14.i686.rpm | 232 kB 00:00
(14/15): x264-libs-0.0.0-0.29.20110227.fc15.i686.rpm | 345 kB 00:00
(15/15): xvidcore-1.3.2-2.fc15.i686.rpm | 244 kB 00:00
--------------------------------------------------------------------------------
Total 109 kB/s | 5.2 MB 00:49
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-15-i386
Importing GPG key 0x00A4D52B:
Userid : RPM Fusion free repository for Fedora (15)
Package: rpmfusion-free-release-13-4.noarch (@/rpmfusion-free-release-stable.noarch)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-15-i386
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:faad2-libs-2.7-1.fc11.i586 1/15
Installing : lame-libs-3.98.4-1.fc14.i686 2/15
Installing : x264-libs-0.0.0-0.29.20110227.fc15.i686 3/15
Installing : xvidcore-1.3.2-2.fc15.i686 4/15
Installing : librtmp-2.3-2.fc14.i686 5/15
Installing : SDL-1.2.14-11.fc15.i686 6/15
Installing : libdca-0.0.5-5.fc12.i686 7/15
Installing : libmimic-1.0.4-4.fc12.i686 8/15
Installing : libmms-0.6.2-1.fc15.i686 9/15
Installing : libva-1.0.13-2.fc15.i686 10/15
Installing : ffmpeg-libs-0.7-0.3.20110612git.fc15.i686 11/15
Installing : libquicktime-1.2.2-2.fc15.i686 12/15
Installing : mjpegtools-libs-1.9.0-2.fc14.i686 13/15
Installing : gstreamer-plugins-bad-0.10.22-1.fc15.i686 14/15
Installing : gstreamer-ffmpeg-0.10.11-2.fc15.i686 15/15

Installed:
gstreamer-ffmpeg.i686 0:0.10.11-2.fc15
gstreamer-plugins-bad.i686 0:0.10.22-1.fc15

Dependency Installed:
SDL.i686 0:1.2.14-11.fc15
faad2-libs.i586 1:2.7-1.fc11
ffmpeg-libs.i686 0:0.7-0.3.20110612git.fc15
lame-libs.i686 0:3.98.4-1.fc14
libdca.i686 0:0.0.5-5.fc12
libmimic.i686 0:1.0.4-4.fc12
libmms.i686 0:0.6.2-1.fc15
libquicktime.i686 0:1.2.2-2.fc15
librtmp.i686 0:2.3-2.fc14
libva.i686 0:1.0.13-2.fc15
mjpegtools-libs.i686 0:1.9.0-2.fc14
x264-libs.i686 0:0.0.0-0.29.20110227.fc15
xvidcore.i686 0:1.3.2-2.fc15

Complete!
[root@localhost alexm]#

No comments:

Post a Comment