LinuxQuestions.org
Review your favorite Linux distribution.
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-05-2003, 04:59 AM   #1
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
problem installing mplayer


i just download latesr rpm of mplayer pakege (MPlayer-0.90.tar.bz2) and Codec (extralite.tar.bz2)

what are easy and proper steps to install both pakeges , i have untar both pakages , which one should install first and hot to configure to watch a movi in GUI

thank you
 
Old 08-05-2003, 05:32 AM   #2
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
You are a real noob arn't you! Guy, those arn't rpm's! They are source tar ball's. You need to get files that end in *.rpm . Those are rpm's.
When you get them, do "rpm -i <your_rpm>.rpm" and you should be ready to go.

No offence but, LOL

Last edited by schatoor; 08-05-2003 at 05:34 AM.
 
Old 08-05-2003, 06:52 AM   #3
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
rpm written by mistake its tar file
that i have untar i need to know next step
 
Old 08-05-2003, 08:38 AM   #4
abmitlhr
LQ Newbie
 
Registered: Aug 2003
Location: pakistan
Posts: 1

Rep: Reputation: 0
Unhappy hello dear

hello dear
u know how am i ,,,, u guss me

first of all u codec this file on this way

You untar them into a directory, usually:
/usr/lib/win32
So something like:
tar xvjCf win32codecs.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. I rarely take that chance though, so here's how I'd do it:
mkdir /usr/lib/win32
cp win32codecs.tar.bz2 /usr/lib/win32
cd /usr/lib/win32
tar xvjf win32codecs.tar.bz2
If there is a directory now, cd into the directory:
cd win32
And move all the files out:
mv * ..
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).

u r lovely friend

abmitlhr



/usr/lib/win32/win32 (which is unnecessary).
 
Old 08-06-2003, 07:14 AM   #5
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
Pakistan zindabad !!!!
Me bhi pakistani hum.
Cool to see fellow pakistani's on this forum. My name is Sohail, typically pakistani. But I live in western Europe

Any way, this is 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, you will have to install the skin and fonts. Fist lets install mplayer self, after that, we will see. You can alraidy play movies, just do

mplayer <movie>.mpg

Or, play vcd's

mplayer -vcd 1

Salam waleykum.

P.s. I have been to Pakistan about a year ago. It seems like there has been much progress. Say, how is the adoption of linux there. It's a third world country so it can use cheap but good software. Sorry to be off topic.
Salam agian

Last edited by schatoor; 08-06-2003 at 07:20 AM.
 
Old 08-07-2003, 04:49 AM   #6
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
that very nice steps by schatoor
i have done, next is how to install skin and fonts

thanks
 
Old 08-07-2003, 05:16 AM   #7
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
Okey, it not hard. First the fonts.
If you din't alraidy downloaded the 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 doing

tar xjf font-arial-iso-8859-1.tar.bz2

Now, you will see directories like font-arial-<x>-iso-8859-1, where x is the font size. Those dirs contain the fonts. Select the font size you want and do

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

Your done with the fonts. Now the skin. It's really easy as well. Download a skin which you like at the mplayer site. There are lots of 'm. For instance, I downloaded a skin called "neutron". What I did was

tar xjf neutron-1.4.tar.bz2

I got and dir named "neutron". Then I copied that dir to "~/.mplayer/Skin/".

To do that, just do

cp -r <your skin> ~/.mplayer/Skin/

then, just to be sure mplayer gets it do

cd ~/.mplayer/Skin
ln -s <your skin> default

That's it, enjoy mplayer

Salam

Last edited by schatoor; 08-07-2003 at 05:21 AM.
 
Old 08-07-2003, 05:33 AM   #8
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
thanks
i am about to do these steps, please also tell me how to creat shortcut on desktop of ant specific user or current user as well as for amsn
thanks again
 
Old 08-07-2003, 08:17 AM   #9
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello
i tried to copy fonts and skin when i play video track its open video file and its play . but its playing in smal window how i can enable Full screen, and how can i make short cut on destop
but if u see folowing procedure its giving some errors like , codec.conf file not find and mplayer.conf file not find ,

[root@Omar-Pc /]# mplayer /tmp/song/avseq15.dat
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Willamette (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /tmp/song/avseq15.dat
MPEG-PS file format detected.
VIDEO: MPEG1 352x288 (aspect 8) 25.00 fps 1120.0 kbps (140.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x288 => 384x288 Planar YV12
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 2221/2221 0% 0% 0.0% 0 0 0%

Exiting... (End of file)
 
Old 08-07-2003, 09:54 AM   #10
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
These "error" are not really that bad. Atleast in my opinion. You see it tries to read "/usr/local/etc/mplayer/mplayer.conf" but it does not exist. But that ok since the conf file is located in you home dir and it finds it there.
If it really bothers you, you can copy "~/.mplayer/config" to "/usr/local/etc/mplayer/mplayer.conf" and then sim link it to your home dir. Like this:

mv ~/.mplayer/config /usr/local/etc/mplayer/mplayer.conf
ln -s /usr/local/etc/mplayer/mplayer.conf ~/.mplayer/config

you can do the same for "codecs.conf"

To play in full screen, just pres 'f'. You can find much info by doing

man mplayer

As for making an short cut to you desktop, it depends on what desktop you are running, KDE or gnome. What the easiest thing to do is to copy and excisting icon to an temporary directory, change it's attributes (what it executes, the permissions, ect) and move it to the desktop.
Hope it workes.

Salam
 
Old 08-07-2003, 10:50 AM   #11
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
Asalam-o-Alekume
i tried urs next steps aftre that mplayer stop working and giving folowin error
i think i replace codecs.conf file and thses command i sued
for mplayer.conf

cp ~/.mplayer/config /usr/local/etc/mplayer/mplayer.conf
mv ~/.mplayer/config /usr/local/etc/mplayer/mplayer.conf
ln -s /usr/local/etc/mplayer/mplayer.conf ~/.mplayer/config

and for codecs.conf (i think something wrong in codecs command)
cp ~/.mplayer/config /usr/local/etc/mplayer/codecs.conf
mv ~/.mplayer/config /usr/local/etc/mplayer/codecs.conf
ln -s /usr/local/etc/mplayer/codecs.conf ~/.mplayer/config

or how can i undo this , or should i uninstall it with make uninstall
with your guiedence mplayer starts work thanks only sking was goving error

followin error runing mplayer

[root@Omar-Pc root]# mplayer -fs /tmp/song/avseq15.dat
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Willamette (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /tmp/song/avseq15.dat
MPEG-PS file format detected.
VIDEO: MPEG1 352x288 (aspect 8) 25.00 fps 1120.0 kbps (140.0 kbyte/s)
==========================================================================
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0x50.
==========================================================================
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec matching selected -vo and video format 0x10000001.
==========================================================================


Exiting... (End of file)
 
Old 08-07-2003, 11:22 AM   #12
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
i uninstall mplayer
make unisntall and even delete folder but i could not uninstall codecs with same command

then untar again
then reinstall witt ./configure --enable-gui
make
and make install

its still giving this error
[root@Omar-Pc MPlayer-0.90]# mplayer /tmp/song/avseq5.dat
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Willamette (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Warning unknown option ; at line 1
Segmentation fault
 
Old 08-07-2003, 12:32 PM   #13
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
Thats because you gave the wrong commands mobassir. I never said to do "cp ~/.mplayer/config /usr/local/etc/mplayer/mplayer.conf" . What you did was very strange. You fist copied the file and then moved it to the same place. Thats not right!
You didn't have to re-install mplayer. Just move things back the way they were. Any way, looks like the file "/root/.mplayer/config" is some how corrupt. Remove it and copy "/usr/local/etc/mplayer/mplayer.conf" to "~/.mplayer/". Do this by doing this (and nothing else)

cp /usr/local/etc/mplayer/mplayer.conf ~/.mplayer/config

Then start mplayer and see how it goes.
 
Old 08-09-2003, 02:02 AM   #14
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello

i am sorry that is my mistake actualy i am not fimiliar with linux command , do u know any source for understand its coomands, filesystem and directories structure, i use redhat linux 9.

i tried coomand u mention but mplayer could not work, so then i had remove all mplayer and codec files, then install every thing from begning, now its working fine.
jut faceing some problem with skin installation

ok take care
and u r right GREAT PAKISTAN

Allah hafiz
 
Old 08-10-2003, 04:38 PM   #15
Brutal
LQ Newbie
 
Registered: Aug 2003
Distribution: redhat 9
Posts: 17

Rep: Reputation: 0
great info.


however:

Code:
[brutal@localhost MPlayer-0.90]$ ./configure enable-gui
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... not found
 
*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***
 
You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!
 
Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!
 
        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !
 
     *** For details please read DOCS/users_against_developers.html ***
 
 
Error: Bad gcc version

wtf
 
  


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
problem installing mplayer thearchitect Linux - Software 1 11-17-2005 05:56 AM
problem installing mplayer linuxboy_inside Linux - Software 15 04-03-2004 12:27 AM
Problem with installing mplayer.... avols143 Linux - General 2 02-20-2004 07:34 AM
problem installing mplayer pradu Linux - Newbie 4 11-25-2003 01:53 AM
problem installing mplayer kired Linux - Newbie 6 04-21-2003 09:28 AM


All times are GMT -5. The time now is 08:28 AM.

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