Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
|
01-03-2008, 06:53 AM
|
#1
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Rep:
|
I can't find my codec folder
Hi, i was told that my codec folder is at /usr/lib/win32/ but i cannot find it. How?
|
|
|
01-03-2008, 06:56 AM
|
#2
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
What exactly are you trying to do? If you're trying to install MPlayer codecs, then you may need to create the directory if it doesn't exist, or maybe the codecs are already in /usr/lib/codecs. Please give us more info on what you're trying to accomplish.
|
|
|
01-03-2008, 07:01 AM
|
#3
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Original Poster
Rep:
|
I want to install win32 codec that can play rmvb format. I cannot play rmvb format on mplayer.
|
|
|
01-03-2008, 07:15 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
On which distro are you trying to do it?
On my Debian and F8 all the codecs are in /usr/lib/codecs/
Just unpack the codecs that you downloaded and copy (as root) them to /usr/lib/codecs/
If you don't have the directory 'codecs' - create it as root: mkdir /usr/lib/codecs
|
|
|
01-03-2008, 07:20 AM
|
#5
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Original Poster
Rep:
|
I am using Ubuntu 7.10, i didnt have /usr/lib/codecs/ or /usr/lib/win32. where can i install my codecs?
|
|
|
01-03-2008, 07:22 AM
|
#6
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Create the directory. It doesn't matter which one you use to be honest, you just need to tell MPlayer and whatever software where to find the codecs.
|
|
|
01-03-2008, 07:25 AM
|
#7
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
In case of Ubuntu, unless you changed it, you can't log in as root, you'll probably need to use 'sudo'
eg. sudo mkdir /usr/lib/codecs
type your password
|
|
|
01-03-2008, 07:28 AM
|
#8
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Original Poster
Rep:
|
How can i set mplayer to locate my codecs folder?
|
|
|
01-03-2008, 07:29 AM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
You can go to the Mplayer download page, download the binary package (see section "Binary Codec Packages") that matches your system and unpack them under /usr/lib/win32, e.g. if you have downloaded the package called essential_20071007.tar.bz2
Code:
sudo mkdir /usr/lib/win32
sudo tar -C /usr/lib/win32 -jxvf essential_20071007.tar.bz2
directory /usr/lib/win32 is that used by default in Ubuntu.
|
|
|
01-03-2008, 07:30 AM
|
#10
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
don't worry about it, if you copy the codecs to the above mentioned location, mplayer will find it.
Once you've done it, try to play some rmvb or mov file, and you'll check if mplayer has found the codecs
|
|
|
01-03-2008, 07:32 AM
|
#11
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Original Poster
Rep:
|
i already to do, but i still cannot open rmvb format video.
|
|
|
01-03-2008, 07:37 AM
|
#12
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
try 3 locations for codecs, one of them must work on Ubuntu. According to mplayer's documentation the default location is /usr/local/lib/codecs/ for mplayer built from the source. If you use a prebuild package, it should be /usr/lib/codecs.
In the past /usr/local/lib/win32 or /usr/lib/win32 was the default directory,
|
|
|
01-03-2008, 07:55 AM
|
#13
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Original Poster
Rep:
|
i tried all already. but still cannot. error occur when i open rmvb format. the error is Error Opening/initializing the selected video_out(-vo) device.
|
|
|
01-03-2008, 08:00 AM
|
#14
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
go to the mplayer preferences, go to the video tab and change the device to xv (i believe that's the one you need)
|
|
|
01-03-2008, 08:02 AM
|
#15
|
Member
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50
Original Poster
Rep:
|
Thx, i can play rmvb format now after i tried on other mplayer. Last time i used mplayer movie player, now i use gnome mplayer.
|
|
|
All times are GMT -5. The time now is 01:39 PM.
|
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
|
|