LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-07-2006, 09:22 PM   #1
mst3kman
Member
 
Registered: Jul 2004
Location: Massachusetts
Distribution: Mandrake 10.1 Community
Posts: 58

Rep: Reputation: 15
Mplayer codecs


so I have MPlayer installed, and I got my mozilla plugin to play embedded movies, everything's great. BUT. When I went to channel101.com, thier movies had video, but no sound. Since my sound card crisis has been resolved, this leads me to believe that I lack codecs needed to play the MPEG4's (I think that's what .mp4 would indicate) in Mplayer. Now, I went to the mplayerhq website, downloaded the "essential codecs" package, and extracted it's contents to /usr/lib/codecs (having created the directory 'codecs' in the process.) The movies still have no sound. The README said that prepackaged Mplayer packages (what I got off of RPMdrake) would "most likely" look for codecs in /usr/lib/codecs, but I'm not sure if a.) it can't find them there, or b.) that package did not contain the codec I need to view the Quicktime files.

Any ideas on how to fix either scenario?
 
Old 01-07-2006, 09:45 PM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Do you have that problem with local file?
 
Old 01-07-2006, 10:07 PM   #3
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
my suggestion, install all the codecs. get the tarball :
http://www4.mplayerhq.hu/MPlayer/rel...050412.tar.bz2

and copy all the files to
/usr/local/lib/codecs/

that should hopefully do the trick, on FC4 at the least.
 
Old 01-07-2006, 10:10 PM   #4
mst3kman
Member
 
Registered: Jul 2004
Location: Massachusetts
Distribution: Mandrake 10.1 Community
Posts: 58

Original Poster
Rep: Reputation: 15
EDIT: nevermind. I'll try that, and let you know how it goes...

Last edited by mst3kman; 01-07-2006 at 10:18 PM.
 
Old 01-07-2006, 10:41 PM   #5
mst3kman
Member
 
Registered: Jul 2004
Location: Massachusetts
Distribution: Mandrake 10.1 Community
Posts: 58

Original Poster
Rep: Reputation: 15
Aagh. That didn't seem to do the trick either. Might it be a possible idea to move all the files I stuck in usr/lib/ codecs to /usr/local/lib/codecs? Also, why is it that many of the files that were in the "essentail codecs" are .DLLs? Are those not Windows things? The README seems to specifically say that these won't work with windows applications, so I'm a bit confuddled...
 
Old 01-07-2006, 10:56 PM   #6
tsphan
Member
 
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
mplayer can use those .dll files for codecs
 
Old 01-07-2006, 11:19 PM   #7
mst3kman
Member
 
Registered: Jul 2004
Location: Massachusetts
Distribution: Mandrake 10.1 Community
Posts: 58

Original Poster
Rep: Reputation: 15
Hmm... the usr/local/lib/codec directory seems to be intended for when Mplayer is compiled from source... usr/lib/codec the README says is more what I'm looking for. However, is there a way of telling Mplayer where to look for the codecs?
 
Old 01-07-2006, 11:48 PM   #8
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Maybe you could try to install divx or xvid codecs. put it in the same directory the other mplayer codecs are at so mplayer can make use of it. I'm not sure if it would work I never had this problem b4 but it's worth trying.
 
Old 01-08-2006, 12:13 AM   #9
tsphan
Member
 
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
my codecs are stored in /usr/lib/win32

try doing a symbolic link for it:

ln -s /usr/lib/codec /usr/lib/win32
 
Old 01-09-2006, 11:20 PM   #10
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
i dont think that would work. if memory serves right, the /win32 dir is used by players like Xine but not MPlayer. mst3kman, why dont u try installing xine instead, i changed from MPlayer to Xine a few months back and think its a more superior player ( for general use at least )
 
Old 01-09-2006, 11:39 PM   #11
T.Hsu
Member
 
Registered: Jan 2005
Posts: 178

Rep: Reputation: 31
During ./configure MPlayer will look for those codecs at $prefix/lib/codecs, if the codecs exist in other path than that you should pass it to the configure script, otherwise, win32 codecs support will not be compiled. As for xine the codecs can be placed anywhere, but you have to set the codecs path in xine's config file.
 
Old 01-11-2006, 03:51 PM   #12
mst3kman
Member
 
Registered: Jul 2004
Location: Massachusetts
Distribution: Mandrake 10.1 Community
Posts: 58

Original Poster
Rep: Reputation: 15
Hmm.... upon closer investigation, it seems the codecs I got from mplayerhq were intended for the ourpose of compiling the thing from source. I simply installed Mplayer from RPMDrake; I'm making progress with CLI, but as of yet compiling source code is well above my head.

How might I go about simply installing codecs for a pre-assembled Mplayer? Because putting them in the /usr/lib/codecs directory doesn't seem to be doing the trick at all... (and I've tried the other aformentioned directories, too...)
 
Old 01-17-2006, 08:23 PM   #13
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
I dont think theres anything about the codecs being ment for use only during compilation mate, i used the codecs for my Xine player which in installed using the YUM repos.
 
Old 01-17-2006, 08:26 PM   #14
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
ok here goes, just try doing the following steps completely. you are starting out from the directory where the codecs are placed ( ur home folder most probably ) so here goes :


mkdir /usr/local/lib/codecs/

cp *.* /usr/local/lib/codecs/

cd /usr/local/lib/codecs/

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

mkdir /usr/lib/win32

cp /usr/local/lib/codecs/* /usr/lib/win32


i have a hunch that you did not set the permissions for the codecs (chmod 755 /usr/local/lib/codecs/*) if so, ur codecs have been in the right place, just that MPlayer dint have the permisions to access them.

Hope this helps.
 
  


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
Mplayer codecs mickeyboa Fedora 1 03-12-2005 08:29 AM
mplayer codecs mightyer2 Debian 5 08-16-2004 08:37 PM
mplayer codecs bosewicht Linux - Newbie 5 11-10-2003 01:21 AM
mplayer codecs doralsoral Linux - Software 5 09-12-2003 09:03 AM
MPlayer Codecs Igman Linux - Software 3 07-27-2003 04:11 AM

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

All times are GMT -5. The time now is 07:35 AM.

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