Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Guides & Solutions (No Questions)

Guides & Solutions (No Questions) Post your guides here. You can also add your comments to a guide, but don't start a thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2006-03-23, 10:30 PM CST
Firewing1's Avatar
Firewing1 Online
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 18
Posts: 9,129
Media (DVD, web content, video & audio) playback in Fedora

Note: This howto has been transferred to my blog here. (Instructions for Fedora 7+ can be found here)

Hello,
There have been many complaints about media not working in Fedora - MP3s, DVDs, etc. So, I decided to make this guide to help out - By installing a few packages, you can get the codecs for these media or media formats, and solve the problem.

Before we begin, all of these packages require the livna repo to be installed, so let's do that first:
Code:
rpm -Uhv http://rpm.livna.org/livna-release-VERSION.rpm
Remember to replace VERSION with your Fedora release version - eg 5, 6, 7, etc.

General Info

I'm going to separate the sections of this howto by program name, but I recommend that you install them all as many compliment or depend on each other. If you know what each does individually, then you can install them but please don't post about things not playing when all programs aren't installed - many provide codecs that will be shared with other programs, allowing them to decode that media, too.

If you want to skip the reading and take the shortcut, installing them all at once, here's the commands:
Code:
su -
yum -y remove totem totem-plparser;yum -y install totem-xine totem-xine-plparser rhythmbox mplayerplug-in mplayer mplayer-gui xine-lib-extras-nonfree libdvdcss libdvdread libdvdplay libdvdnav lsdvd libdvbpsi compat-libstdc++-33
DVD playback
Just a few libraries should do it:
Code:
yum -y install libdvdcss libdvdread libdvdplay libdvdnav lsdvd libdvbpsi
totem-xine
totem-xine is a movie player that is based on xine and not gstreamer, and as a result this will let you view DVDs and more types of media from the same interface that the default Fedora Core's totem package provides.
Code:
su -
yum remove totem totem-plparser -y;yum install totem-xine totem-xine-plparser rhythmbox xine-lib-extras-nonfree -y
mplayer and mplayer-plugin
mplayer is also a movie player, but the graphical interface is harder to use compared to totem-xine, and there is no support for menus in movies at the moment of writing. That is why I find totem-xine superior, but mplayer does have a web media plugin for Mozilla / Firefox and contains tons of coedcs.
Code:
su -
yum -y install mplayer mplayer-gui mplayerplug-in
w32codecs ** (WMV/WMA playback!) **
Note: This package has been discontinued at ATRPMs but it doesn't seem to make a difference on new systems anyways.
w32codecs is plain and simply an assembled pack of Windows codecs. Here's how to install it:
Code:
su -
wget http://dl.atrpms.net/all/w32codec-1.0_20050412-13.at.i386.rpm
yum install compat-libstdc++-33 -y
rpm -ihv w32codec-1.0_20050412-13.at.i386.rpm
rm w32codec-1.0_20050412-13.at.i386.rpm


gstreamer and gstreamer-plugins ** (MP3 playback!) **
It's always a good idea to install gstreamer, both to enable mp3 playback and also for the various codecs.
Code:
su -
yum install gstreamer gstreamer-plugins gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly
Macromedia Flash Player
Just run this:
Code:
wget http://macromedia.mplug.org/macromedia-i386.repo -O /etc/yum.repos.d/macromedia-i386.repo
yum install flash-plugin
Java & Java web plugin
Please see this howto.

RealPlayer
Please click on the "Download RPM Package" link from this page: RealPlayer Linux home
Save that file to your home, and then open up a terminal (Applications > Accessories > Terminal) and type:
Code:
cd ~
su
rpm -Uhv RealPlayer10GOLD.rpm
rm RealPlayer10GOLD.rpm -f
exit
exit
RealPlayer should now be installed, along with it's Mozilla helper so you can view media in Firefox.


Enjoy!
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)

Last edited by Firewing1; 2009-03-01 at 10:24 AM CST.
Reply With Quote
  #2  
Old 2006-03-23, 10:38 PM CST
fedorange's Avatar
fedorange Offline
Registered User
 
Join Date: Mar 2006
Posts: 17
what a mess! who'd want to mix repos, install stuff with "--nodeps", and make unmanageable symbolic links. When livna updates totem-xine later, you'll be hosed.

No thanks.

You'd be better off compiling Totem from source. The latest version is 1.4.0 which is even much better.
Reply With Quote
  #3  
Old 2006-03-23, 10:41 PM CST
Firewing1's Avatar
Firewing1 Online
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 18
Posts: 9,129
True, the problem is I tried that and it bugs. It says "you need xine-lib development packages" etc and I do, the xine-lib-devel package of livna. Anyways, true, it's not good to make unmanageable symlinks, but then I'll make an uninstall guide when an update comes out:
Code:
su -
rm /lib/libdbus-1.so.1 /usr/lib/libdbus-glib-1.so.1
rpm -e totem-xine
yum install totem-xine
and there you have it.
BTW, I've checked them through and though these spec. packages from Nrpms and ATrpms are safe. No worries.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #4  
Old 2006-03-26, 05:10 AM CST
AHMED_AM's Avatar
AHMED_AM Offline
Registered User
 
Join Date: Jun 2005
Location: Egypt
Age: 28
Posts: 4
i Do not Know How To Thank You
Your Post & Other Similar Posts Are The Best
Reply With Quote
  #5  
Old 2006-03-26, 06:33 PM CST
sailor's Avatar
sailor Offline
Administrator
 
Join Date: Mar 2004
Location: San Antonio, Texas
Age: 51
Posts: 3,992
The first thing I do is get rid of totem ....and then install xine, dvdcss, and the win32 codecs...works everytime....
__________________
sailor
Fedora 11, RHEL 5, PCLinuxOS - registered linux user #362635
Check out Linux Google,
Fedora Faq and Fedora News
Please read the Fedora Forum Guidelines
Reply With Quote
  #6  
Old 2006-03-26, 11:57 PM CST
Bandit's Avatar
Bandit Offline
Registered User
 
Join Date: Jan 2006
Posts: 118
Just FYI, I noticed that Xine-lib 1.1.1 wouldnt compile on FC5. But the CVS version 1.1.2 works great. It is very easy to compile. Just make sure when you use the ./autogen.sh from the CVS to re-compile and use ./configure --prefix=/usr --with-mozilla. If you dont re-configure it will be installed to /usr/local, Then Totem will not see it.
Totem 1.4.0 compiles very well also, just leave the RPM installed and install this one over it. It want break anything. But, if there is a update you will have to install your version again. So keep the folder around.

Cheers,
Bandit
__________________
Fedora Core5 - Linux 2.6.16 - Xorg 7.0 - Gnome 2.14
Athlon64 3400+ 2.4 GHz Newcastle, Biostar K8M800-M7A Mobo, 2GB Corsair DDR-400, Diamond Stealth S80 Radeon 9200SE 128MB, Dual WD Raptors 10,000RPM SATA150 (148GB / RAID 0), Pioneer 6xDL DVD+/-RW..

http://www.banditshome.net Software, Themes and Information for GNU/Linux..

Regesterd Linux User# 380654
Reply With Quote
  #7  
Old 2006-03-27, 02:49 PM CST
Firewing1's Avatar
Firewing1 Online
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 18
Posts: 9,129
Quote:
Originally Posted by Bandit
Just FYI, I noticed that Xine-lib 1.1.1 wouldnt compile on FC5. But the CVS version 1.1.2 works great. It is very easy to compile. Just make sure when you use the ./autogen.sh from the CVS to re-compile and use ./configure --prefix=/usr --with-mozilla. If you dont re-configure it will be installed to /usr/local, Then Totem will not see it.
Totem 1.4.0 compiles very well also, just leave the RPM installed and install this one over it. It want break anything. But, if there is a update you will have to install your version again. So keep the folder around.

Cheers,
Bandit
totem-xine 1.4.0 from Livna just came out, dut to my & a few other's postings in their Bugzilla. You can now simply update it with:
Code:
yum update totem-xine
Enjoy!
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #8  
Old 2006-03-27, 05:57 PM CST
Bandit's Avatar
Bandit Offline
Registered User
 
Join Date: Jan 2006
Posts: 118
Kewl thanks
__________________
Fedora Core5 - Linux 2.6.16 - Xorg 7.0 - Gnome 2.14
Athlon64 3400+ 2.4 GHz Newcastle, Biostar K8M800-M7A Mobo, 2GB Corsair DDR-400, Diamond Stealth S80 Radeon 9200SE 128MB, Dual WD Raptors 10,000RPM SATA150 (148GB / RAID 0), Pioneer 6xDL DVD+/-RW..

http://www.banditshome.net Software, Themes and Information for GNU/Linux..

Regesterd Linux User# 380654
Reply With Quote
  #9  
Old 2006-03-31, 09:58 PM CST
tseliot's Avatar
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 26
Posts: 70
This is what I'm getting here:
Code:
yum install totem-xine
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                                                                [1/8]
gst-0.10-apps                                                        [2/8]
updates                                                              [3/8]
core                                                                 [4/8]
freshrpms                                                            [5/8]
macromedia                                                           [6/8]
extras                                                               [7/8]
gst-0.10-gst                                                         [8/8]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for totem-xine to pack into transaction set.
totem-xine-1.4.0-1.lvn5.i 100% |=========================|  33 kB    00:00
---> Package totem-xine.i386 0:1.4.0-1.lvn5 set to be updated
--> Running transaction check
--> Processing Conflict: totem-xine conflicts totem
--> Finished Dependency Resolution
Error: totem-xine conflicts with totem
And this is the content of my /etc/yum.repos.d:
Code:
atrpms.repo                     livna-devel.repo
fedora-core.repo                livna.repo
fedora-development.repo         livna-testing.repo
fedora-extras-development.repo  macromedia-i386.repo
fedora-extras.repo              macromedia-i386.repo.1
fedora-legacy.repo              macromedia-i386.repo.2
fedora-updates.repo             macromedia-i386.repo.3
fedora-updates-testing.repo     macromedia-i386.repo.4
freshrpms.repo                  mirrors-rpmforge
gstreamer.repo                  rpmforge.repo
Any ideas?

Thanks in advance
Reply With Quote
  #10  
Old 2006-03-31, 10:08 PM CST
Firewing1's Avatar
Firewing1 Online
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 18
Posts: 9,129
Do a
Code:
rpm -e totem
first.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #11  
Old 2006-03-31, 10:21 PM CST
tseliot's Avatar
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 26
Posts: 70
Quote:
Originally Posted by Firewing1
Do a
Code:
rpm -e totem
first.
Firewing1
Here's the output:
Code:
 rpm -e totem
error: Failed dependencies:
        libtotem-plparser.so.1 is needed by (installed) rhythmbox-0.9.3.1-3.i386
Reply With Quote
  #12  
Old 2006-03-31, 11:12 PM CST
tseliot's Avatar
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 26
Posts: 70
I did:
yum erase totem

it asked me to remove rythmbox as well (I said yes)

then I installed totem-xine.

I also reinstalled rythmbox

It works now

Last edited by tseliot; 2006-03-31 at 11:37 PM CST.
Reply With Quote
  #13  
Old 2006-04-06, 07:26 PM CDT
Firewing1's Avatar
Firewing1 Online
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 18
Posts: 9,129
then do
Code:
rpm -e totem rhythmbox
yum install totem-xine rhythmbox
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #14  
Old 2006-04-06, 08:22 PM CDT
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 41
Posts: 8,250
ALL multimedia topics for fedora core has always been cover here.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills
Reply With Quote
  #15  
Old 2006-04-06, 09:26 PM CDT
ramimgh Offline
Registered User
 
Join Date: Apr 2006
Posts: 25
i did all that and when i tried to do the last command, i got this:

[root@localhost ~]# rpm -Uhv w32codec-1.0_20050412-12.at.i386.rpm
warning: w32codec-1.0_20050412-12.at.i386.rpm: Header V3 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
libstdc++.so.5 is needed by w32codec-1.0_20050412-12.at.i386
libstdc++.so.5(CXXABI_1.2) is needed by w32codec-1.0_20050412-12.at.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by w32codec-1.0_20050412-12.at.i386
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 11: Complete guide to fix PulseAudio and video/audio VLC Media Player issues Silpheed2K Guides & Solutions (No Questions) 182 2010-02-05 11:58 PM CST
video but no audio with VLC media player snazyevey Software 3 2008-04-28 10:01 PM CDT
Fedora Core 8 Media Playback ? jaza Installation Help 1 2007-11-03 09:20 PM CDT
How to setup mozilla to stream internet media (audio/video) pinda Software 2 2006-05-13 07:40 PM CDT
Need help with video/audio playback. unwill Software 1 2006-01-18 11:14 PM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 12:44 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translations supported by vBET 2.3.8