Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-03-2006, 01:19 PM
|
#1
|
Member
Registered: Sep 2006
Posts: 72
Rep:
|
slackware sound/video codecs
Does anybody know what sound/video codecs slackware comes with and where they're kept? I don't see anything under /usr/codecs or /usr/local/codecs, but i can play divx, xvid, mp3, wmv, etc. so the codecs must be there somewhere. slackware doesn't come with ffmpeg/libavcodecs does it?
I want to know the directory the codecs are in in because I'm probably going to want to update them or install some new ones and i'd like to keep everything in order, maybe move all of them to one place and use symbolic links when necessary.
also, how can i check the version of a codec? and how can i check which version is being used to decode a file? say i install a new divx codec without removing the old one, is there any way that i could make sure that the new one is being used?
|
|
|
09-03-2006, 01:35 PM
|
#2
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
|
Try /usr/lib/win32 and /usr/lib/codecs for the codecs. Get new ones from the mplayer website
Last edited by vdemuth; 09-03-2006 at 01:58 PM.
|
|
|
09-03-2006, 02:13 PM
|
#3
|
Member
Registered: Sep 2006
Posts: 72
Original Poster
Rep:
|
neither of those directories exist for me.
|
|
|
09-03-2006, 02:30 PM
|
#4
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
|
then try in a konsole window (as root) e.g. locate divx, locate wmv etc etc
|
|
|
09-03-2006, 02:58 PM
|
#5
|
Member
Registered: Sep 2006
Posts: 72
Original Poster
Rep:
|
i tried that and nothing shows up for divx, xvid, etc. mp3 brings up a bunch of mp3 files, but no codec(i assume its a .so file). my slocate db is up to date.
|
|
|
09-03-2006, 03:20 PM
|
#6
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
|
What app are you using to play the files?
|
|
|
09-03-2006, 06:34 PM
|
#7
|
Member
Registered: Sep 2006
Posts: 72
Original Poster
Rep:
|
mplayer, kaboodle, and xine for video files, xmms, amp, and mpg123 for sound files.
|
|
|
09-03-2006, 06:42 PM
|
#8
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
My mplayer codes are under /usr/local/lib/codecs - do you have anything there?
|
|
|
09-03-2006, 07:03 PM
|
#9
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
AFAIK you can configure your own directory on mplayer/xine settings and most codecs are not installed by default.
|
|
|
09-03-2006, 07:09 PM
|
#10
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
Slackware comes with mpg321, and with it any program built against it has support for mp3(such as xmms).
Also, by DEFAULT, mplayer and xine both COME with their own snapshots of libavcodec and ffmpeg. So as a result, slackware's xine is built with support for those codecs.(Essentially everything except WMV version 9 or other Windows only proprietary formats). The mplayer you have installed also either was built by a third party with those codecs, or built by yourself, in which case the mplayer source you downloaded also came with it's own self-contained ffmpeg snapshot.
Slackware is not necessarily like distros like Fedora or Ubuntu. Since slackware has a significantly smaller userbase than ubuntu/fedora, pat is able to completely and totally ignore US patent laws without worrying about legal flak. That is why support for mp3 and such is built in.
|
|
|
09-03-2006, 07:53 PM
|
#11
|
Member
Registered: Sep 2006
Posts: 72
Original Poster
Rep:
|
nice. so, the codecs are compiled in to most of the players?
what if i wanted to make xmms use a different mp3 codec? could i just drop the codec in /lib/codecs and it would use it?
|
|
|
All times are GMT -5. The time now is 10:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|