LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-24-2006, 04:27 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,896

Rep: Reputation: 73
Xine Codecs


I am using Totem Media player which is using xine-lib and I have followed the directions quoted below but now need to find the "xine" config file to tell it to use the win32 dir I made and all the files I moved in from the mplayer "essential" codec pack.

Quote:
While the container format (system layer) ASF (wmv is just an alias) is fully supported in xine, for newer windows media 9 based streams you'll need to install windows binary codecs (.DLLs).

Possibly the most convenient way to get the Windows DLLs is to download them from the MPlayer website http://www.mplayerhq.hu/homepage/dload.html . The package is called "essential". Unpack it and move everything you find inside to /usr/lib/win32 (actually you can place them anywhere you want, e.g. someplace in your home directory, but then you'll have to set decoder.external.win32_codecs_path in your xine config file accordingly). Restart xine then and you should be able to watch windows media streams.
 
Old 04-24-2006, 05:25 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I think those directions might be a bit outdated. /usr/lib/win32 is the old method. It is better to put them in /usr/lib/codecs (or /usr/local/lib/codecs) with a link called win32 pointing to this directory. As far as the "xine config file" goes, The path to the codecs is defined at compile './configure --help' should give you the correct options. You can also try ~/.xine/config and see if that is what you need. I'm not sure about xine, but MPlayer requires a .configure/recompile when new codecs are added.

regards,
...drkstr
 
Old 04-24-2006, 11:17 PM   #3
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
You can set codecs path in xine gui and xine uses new added codecs at once. So It might help to start xine once in graphical mode to configure it.
 
Old 04-24-2006, 11:24 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
I think those directions might be a bit outdated. /usr/lib/win32 is the old method. It is better to put them in /usr/lib/codecs (or /usr/local/lib/codecs) with a link called win32 pointing to this directory.
I usually just install them to /usr/lib/win32 and then create symlinks to /usr/lib/codecs just in case an app is looking for them there.
 
Old 04-24-2006, 11:41 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Whichever your preference, just make sure all of your bases are coverd. Also, I don't know if this is necisary or not, but I have simlinks at /usr/local/lib/win32 & /usr/local/lib/codecs too. The later is the default folder for MPlayer.

regards,
...drkstr
 
Old 04-25-2006, 08:22 AM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,896

Original Poster
Rep: Reputation: 73
OK - so I guess I am confused. I don't have Xine installed itself but just the back end I think since that is what "TOTEM" uses to operate.

I now have the "essential" codecs all in /usr/lib/win32. I am guessing that is no longer the correct path from what you guys mentioned above. I have no idea how or what a symbolic link is

What do I need to do from here? Should I move the files from the "win32" folder and delete that empty dir since I made that per the instructions or leave them there?
 
Old 04-25-2006, 09:59 AM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Totem used to let you configure the path for win32 codecs, but the option was removed in recent versions. A symbolic link is basically a file that points to another file. In your case, you could do the following,
Code:
#ln -s /usr/lib/win32 /usr/lib/codecs
For learning basic Linux stuff, take a look at rute.
 
Old 04-25-2006, 10:21 AM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Install xine first and make sure it's working before you start playing with totem. It's best not to over complicate things when trying to debug a problem. By the way, I was not able to get all media types to work with the "sineessential codec" package. I would suggest getting the "all codec" package.

regards,
...drkstr
 
  


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
DivX.com Codecs and Xine Radicalm16 Linux - Software 3 01-27-2009 06:01 AM
Xine codecs....Grrrrr.... kc0ltv Suse/Novell 7 04-27-2006 07:13 PM
xine, mplayer and codecs mokojin Slackware 4 01-21-2005 10:06 PM
WMV codecs for Xine? drewbysan Debian 2 11-29-2004 07:11 AM
Xine Win32 Codecs mooreted Linux - Software 0 06-13-2003 09:15 AM


All times are GMT -5. The time now is 01:03 AM.

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