LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-03-2006, 12:19 PM   #1
twelvenine
Member
 
Registered: Sep 2006
Posts: 72

Rep: Reputation: 16
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?
 
Old 09-03-2006, 12:35 PM   #2
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 767

Rep: Reputation: 92
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 12:58 PM.
 
Old 09-03-2006, 01:13 PM   #3
twelvenine
Member
 
Registered: Sep 2006
Posts: 72

Original Poster
Rep: Reputation: 16
neither of those directories exist for me.
 
Old 09-03-2006, 01:30 PM   #4
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 767

Rep: Reputation: 92
then try in a konsole window (as root) e.g. locate divx, locate wmv etc etc
 
Old 09-03-2006, 01:58 PM   #5
twelvenine
Member
 
Registered: Sep 2006
Posts: 72

Original Poster
Rep: Reputation: 16
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.
 
Old 09-03-2006, 02:20 PM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 767

Rep: Reputation: 92
What app are you using to play the files?
 
Old 09-03-2006, 05:34 PM   #7
twelvenine
Member
 
Registered: Sep 2006
Posts: 72

Original Poster
Rep: Reputation: 16
mplayer, kaboodle, and xine for video files, xmms, amp, and mpg123 for sound files.
 
Old 09-03-2006, 05:42 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
My mplayer codes are under /usr/local/lib/codecs - do you have anything there?
 
Old 09-03-2006, 06:03 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
AFAIK you can configure your own directory on mplayer/xine settings and most codecs are not installed by default.
 
Old 09-03-2006, 06:09 PM   #10
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
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.
 
Old 09-03-2006, 06:53 PM   #11
twelvenine
Member
 
Registered: Sep 2006
Posts: 72

Original Poster
Rep: Reputation: 16
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
video codecs adam_blackice Linux - Newbie 6 04-27-2006 12:59 PM
Video Codecs too bright torger Ubuntu 2 04-21-2006 04:37 PM
Video Codecs Kruncher General 3 06-11-2005 04:55 AM
where are all the video codecs put by default in Slackware 10 ? Menestrel Slackware 2 11-28-2004 08:08 AM
Video codecs? gabebster Linux - Software 1 08-17-2003 10:05 PM


All times are GMT -5. The time now is 11:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration