Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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?
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.
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 )
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.
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...)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.