LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2006, 09:22 AM   #1
crmpicco
Member
 
Registered: Aug 2006
Location: Mauchline, Scotland
Distribution: CentOS 5.6
Posts: 43

Rep: Reputation: 15
Unhappy trying to install DivX Codec to play .avi or .mpg


I was wondering if someone could help me.

I am a nooB to FC5 and I am trying to install DivX codecs and a media player to allow me to play .avi and .mpg files. I have tried numerous sources and looked for guides to do it, but can't seem to get it to work.

Can it be done in a GUI for start to finish? Like the GUI that Windows gives you when you run through and installation?

Has anyone got accurate links for downloads? and can the Totem media player play .avi's with the codecs installed?

Help appreciated.

Picco
 
Old 09-04-2006, 09:30 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
For both Mplayer and any Xine based player:

Download this codec package in your home map(just click on it): http://www4.mplayerhq.hu/MPlayer/rel...060611.tar.bz2
If Firefox downloaded it on your desktop, drag and drop it in your user's home map.

Become root (su)

mkdir /usr/local/lib/codecs/
mkdir /usr/lib/win32

tar xvfj all-20060611.tar.bz2
cp ./all-20060611/* /usr/local/lib/codecs/
cp ./all-20060611/* /usr/lib/win32/

chmod 755 /usr/local/lib/codecs/*
chmod 755 /usr/lib/win32/*


PS: You could have find this using the search function at the top of this page.

PS PS: If you don't have either Xine or MPlayer, install it Xine like this:
yum install xine xine-lib xine-skins

For MPlayer you'll need to enable the FreshRPMS and Dries repos.

Last edited by jens; 09-04-2006 at 09:42 AM.
 
Old 09-07-2006, 06:09 AM   #3
crmpicco
Member
 
Registered: Aug 2006
Location: Mauchline, Scotland
Distribution: CentOS 5.6
Posts: 43

Original Poster
Rep: Reputation: 15
hi jens, thanks for that!!

i ran through all your instructions and the codecs installed fine. no errors.

However, i tried to install Xine by typing: yum install xine xine-lib xine-skins and I got this error:

Error: Cannot find a valid baseurl for repo: core.

Is this because my machine is not connected to the WWW. is there any way that i can download it and still use the same command?
 
Old 09-07-2006, 03:51 PM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by crmpicco
hi jens, thanks for that!!

i ran through all your instructions and the codecs installed fine. no errors.

However, i tried to install Xine by typing: yum install xine xine-lib xine-skins and I got this error:

Error: Cannot find a valid baseurl for repo: core.

Is this because my machine is not connected to the WWW. is there any way that i can download it and still use the same command?
Yum does indeed need an internet connection.
If it's possible, use someone else connection for this.

If that that's not possible, you'll need to install all RPMS and their dependencies manually.

Install them like this:
Code:
rpm -ivh whatever
If you can connect this box with the internet, please do so.

PS: If you need more instructions, feel free to ask for them.

Last edited by jens; 09-07-2006 at 04:07 PM.
 
Old 09-11-2006, 10:08 AM   #5
crmpicco
Member
 
Registered: Aug 2006
Location: Mauchline, Scotland
Distribution: CentOS 5.6
Posts: 43

Original Poster
Rep: Reputation: 15
Hi jens,

I have downloaded (on my WinXP Home machine) both 'mplayer-1.0-0.46.pre8.lvn5.i386.rpm' and 'mplayer-gui-1.0-0.46.pre8.lvn5.i386.rpm' from Livna.

If i run
rpm -ivh mplayer-1.0-0.46.pre8.lvn5.i386.rpm
and
rpm -ivh mplayer-gui-1.0-0.46.pre8.lvn5.i386.rpm

Will that install without the requirement of an internet connection?

Sadly, I cannot get an internet connection on my FC5 box at present.

Thanks for your help so far.

Picco
 
Old 09-11-2006, 07:39 PM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by crmpicco
Hi jens,

I have downloaded (on my WinXP Home machine) both 'mplayer-1.0-0.46.pre8.lvn5.i386.rpm' and 'mplayer-gui-1.0-0.46.pre8.lvn5.i386.rpm' from Livna.

If i run
rpm -ivh mplayer-1.0-0.46.pre8.lvn5.i386.rpm
and
rpm -ivh mplayer-gui-1.0-0.46.pre8.lvn5.i386.rpm

Will that install without the requirement of an internet connection?

Sadly, I cannot get an internet connection on my FC5 box at present.

Thanks for your help so far.

Picco
You might also want a fonts and skins package(or perhaps it all comes with their mplayer-gui package, no idea... I never use Livna RPMS).
I can't really help with Livna packages since they're different(and incompatible! don't mix them) with the Dries and FreshRPMS repos (the ones I use).

Install them in one command, for me(using FreshRPMS and dries) this would be:

rpm -ivvh mplayer*.rpm mplayer-skins*.rpm mplayer-fonts*.rpm
It will tell you the missing dependencies in an error, get them as well and retry as above.

Dries and FreshRPMS (RPMforge) packages:
http://dries.ulyssis.org/rpm/packages/index.html

Last edited by jens; 09-11-2006 at 07:50 PM.
 
Old 09-14-2006, 05:46 AM   #7
crmpicco
Member
 
Registered: Aug 2006
Location: Mauchline, Scotland
Distribution: CentOS 5.6
Posts: 43

Original Poster
Rep: Reputation: 15
hi again jens, i just tried the follwoing commands to try to install MPlayer from file in my home directory.......however, i get this set of errors:

WARNING: mplayer-1.0-0.46.pre8.lvn5.i386.rpm: HEADER V3 DSA signature: NOKEY key id a109b1ec

error: Failed dependencies:
libXvMC.so.1 is needed by mplayer-1.0-0.46.pre8.lvn5.i386.rpm
libXvMCW.so.1 is needed by mplayer-1.0-0.46.pre8.lvn5.i386.rpm
..... and so on ......
theres quite a few of these type of files, then a 'fonts' error message at the bottom.

do you have any experiance over these types of error messages? what should I try next??

Also, i noticed you had posted up a link to http://dries.ulyssis.org/rpm/packages/index.html
do the files I have at present not suffice for the installation of MPlayer? or are you saying I should get them from elsewhere, notably, the repositories you have mentioned?

thanks for your help so far......
 
  


Reply



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
what codec do i need to play MPG files??? Lleb_KCir Linux - Software 2 05-03-2006 04:28 AM
make kaffeine play mpg, avi asf... paddy Linux - Software 10 02-21-2006 02:42 AM
trying to play divx .avi file anant_in_a_fix Linux - Newbie 2 12-15-2005 06:44 AM
cannot play .avi .wmv, mpg files WRXHokie Linux - Software 22 12-05-2005 08:57 PM
How to play windows avi, mpg files on OSS Linux 10.0? idefix Linux - General 10 12-05-2005 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration