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 08-09-2003, 02:52 AM   #1
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Rep: Reputation: 15
MPlayer and Codec Problem


I can't seem to install the realvideo codec properly in mplayer. I tried the documentation at http://www.mplayerhq.hu/DOCS/codecs.html#realvideo which indicated:

Quote:
It is recommended to download and install RealPlayer8 or RealONE, because MPlayer can use their libraries to decode files with RealVideo 2.0 - 4.0 video. The MPlayer configure script should detect the RealPlayer libraries in the standard locations of a full installation. If it does not, tell configure where to look with the --with-reallibdir option.
How can I install the realvideo codecs properly in mplayer?
 
Old 08-09-2003, 02:55 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
During the ./configure process:
./configure --reallibdir=/path/to/libs

Where /path/to/libs is wherever Real ends up putting them. If you have the "aftermarket" ones, point to that location instead.

Finish up as usual:
make (check) (test)
checkinstall

I hope everyone is using that now www.freshmeat.net

Cool
 
Old 08-09-2003, 04:36 AM   #3
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
here is some my work(with help of some members) on mplayer and i am enjoying

Download latest or steble Mplayer and Mplayer Codecs tarball , Skins and fonts
Here i download Mplayer-0.90.tar.bz2and extralite.tar.bz2 (its Codec file) from
http://www.mplayerhq.hu/homepage/design6/news.html
Installation Steps-
1- First install Codec file

You untar them into a directory, usually: /usr/lib/win32
So something like: tar xvjCf Mplayer-0.90.tar.bz2 /usr/lib
Might work, that is assuming when the tarball is bunzipped and untarred that the resulting file is a directory called win32. (it will creat an directory name of win32 win /usr/lib/win32)
I rarely take that chance though, so here's how I'd do it:
OR

mkdir /usr/lib/win32
cp Mplayer-0.90.tar.bz2 /usr/lib/win32
cd /usr/lib/win32
tar xvjf Mplayer-0.90.tar.bz2 (it will untar in directory name of win32 win /usr/lib/win32)
If there is a directory now, cd into the directory:
cd win32
And move all the files out:
mv * .. (this command will move all files 1 step back directory)
And finally cd yourself out:
cd ..
And remove the directory:
rm -r win32
Be sure that last command didn't just remove the directory from /usr/lib instead it removed the directory:
/usr/lib/win32/win32 (which is unnecessary).


how you install mplayer:

Fist put the tar ball in some temp. directory and do
tar xjf MPlayer-0.90.tar.bz2
This will create an dir with the mplayer sources. cd in to the dir and do
./configure --enable-gui
(If you want it installed in an other place then "/usr/local/", then you have to supply an aditional agrument like
./configure --enable-gui –prefix=</where/ever/you/want> )
then just do
make
and
make install
. after that, we will see You can alraidy play movies, just do
mplayer /tmp/song/avseq15.dat (i copy a video song file in this folder)
Or, play vcd's
mplayer -vcd 1
After that, you will have to install the skin and fonts. download them at the mplayer site. It's called "font-arial-iso-8859-1.tar.bz2" .
Unpack the fonts in a temporary directory, by doin
ar xjf font-arial-iso-8859-1.tar.bz2 (it will untar and creat some more directories that dir contan font directories like font-arial-<x>-iso-8859-1, where x is the font size. Select the font size you want and do, this command will copy all files from your specified font folder to ~/.mplayer/font/ or you can copy thses files throug Xwindows.

cp font-arial-<x>-iso-8852-1/* ~/.mplayer/font/

see Basic options and keys mplayer --help
 
Old 08-09-2003, 10:53 PM   #4
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
I already installed mplayer a while back. Is it possible to simply install the realvideo codecs without re-installing mplayer?
 
Old 08-10-2003, 06:30 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
nope, shame really...someone did mention a plugins directory for mplaeyr, but i *think* tehy were just completely geuss.ing... might be in the newest mplayer cvs's but i doubt it... recompile.... it's easy!!
 
Old 08-14-2003, 09:11 AM   #6
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
During the ./configure process:
./configure --reallibdir=/path/to/libs

Where /path/to/libs is wherever Real ends up putting them. If you have the "aftermarket" ones, point to that location instead.

Finish up as usual:
make (check) (test)
checkinstall

I hope everyone is using that now www.freshmeat.net

Cool
I'm having some trouble here. I got the "all in one" (extralite) pack in mplayerhq.

[root@localhost MPlayer-0.90]# ./configure --reallibdir=/root/extralite
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2.2, ok
Checking for CPU vendor ... AuthenticAMD (6:6:2)
Checking for CPU type ... AMD Athlon(tm) XP 1600+
Checking for GCC & CPU optimization abilities ... athlon-xp
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes
Unknown parameter: --reallibdir=/root/extralite

what am I doing wrong?
 
Old 08-14-2003, 10:19 AM   #7
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
red hat 9?

eeeeeeeeeeeeeeee-z fix: use atrpms.

see the link below and look at the atrpms kickstart page - get mplayer that way and it will automatically get the w32codecs

it will a ton of codecs in /usr/lib/win32/
i checked mine and realplayer is included, whether it will open your specific files is another story since videos can be encoded in a large variety of ways. it allows you to open the apple trailer though if you get the mozilla-mplayer plugin.
 
Old 08-14-2003, 10:57 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Code:
[root@localhost MPlayer-0.90]# ./configure --help
 
  


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
MPlayer codec setup cast55 Linux - Software 1 02-19-2005 01:32 PM
Tough mplayer codec question. Fugazi Linux - Newbie 4 12-29-2003 07:23 PM
missing codec for mplayer shanenin Linux - Software 13 11-14-2003 01:02 PM
MPlayer codec Schopy Linux - Newbie 1 09-27-2003 03:50 PM
problem compiling mplayer after adding win32 codec chiyoaiki Linux - Software 1 06-25-2003 02:46 PM


All times are GMT -5. The time now is 12:33 PM.

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