LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-21-2003, 08:22 PM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Mplayer - What am I doing wrong here?


When i try to launch a vidx file in Mplayer, I get a whole bunch of errors that I canno understand. I cannot make snapshots of them to show you.
So what i did is i ran gmplayer form console and copied/pasted the ouput here. What Am I doping wrong?
NOTE: i downloaded the latest divx codec for linuc form www.divx.com and I even tried a divx4linux RPM file, and it didn't help. Also Note that this is the DEFAULT SETUP that came as-is with SuSE 8.1
Can anyone kindly offer some insight.

Code:
samer@linux:/mp3/incoming> gmplayer You*.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre6-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
Reading /home/samer/.mplayer/codecs.conf: can't open '/home/samer/.mplayer/codecs.conf': No such file or directory
Reading /etc/codecs.conf: 38 audio & 104 video codecs
font: can't open file: /home/samer/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (204 chars)
Linux RTC init error: Permission denied
Using usleep() timing
Can't open input config file /home/samer/.mplayer/input.conf : No such file or directory
Input config file /etc/input.conf parsed : 50 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed opening lirc support!
You won't be able to use your remote control
[cfg] read config file: /home/samer/.mplayer/gui.conf
SKIN dir 1: '/home/samer/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'
Font /usr/share/mplayer/font/font.desc loaded successfully! (204 chars)
Font /usr/share/mplayer/font/font.desc loaded successfully! (204 chars)

Playing You've Got Mail (1998).Gowenna.avi
Detected AVI file format!
Forced NON-INTERLEAVED AVI file-format!
VIDEO:  [DIV3]  640x336  24bpp  23.98 fps  604.5 kbps (73.8 kbyte/s)
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128.0 kbit)
==========================================================================
Trying to force video codec driver family 10 ...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
Can't find codec 'msmpeg4' in libavcodec...
VDecoder init failed :(
Requested video codec family [odivx] (vfm=3) not available (enable it at compile time!)
Requested video codec family [divx4] (vfm=7) not available (enable it at compile time!)
Opening video decoder: [dshow] DirectShow video codecs
Loading DLL: 'divx_c32.ax'
Win32 LoadLibrary failed to load: divx_c32.ax, /usr/lib/win32/divx_c32.ax, /usr/local/lib/win32/divx_c32.ax
Warning: DS_Filter() could not open DirectShow DLL.  (DLL=divx_c32.ax)
Failed to create DirectShow filter
ERROR: Couldn't open required DirectShow codec: divx_c32.ax
Maybe you forget to upgrade your win32 codecs?? It's time to download the new
package from:  ftp://mplayerhq.hu/MPlayer/releases/w32codec.zip  !
VDecoder init failed :(
Opening video decoder: [vfw] Win32/VfW video codecs
VDec: vo config request - 640 x 336 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 9
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x336 => 640x336 Packed YUY2
Disabling DPMS
Loading DLL: 'divxc32.dll'
Win32 LoadLibrary failed to load: divxc32.dll, /usr/lib/win32/divxc32.dll, /usr/local/lib/win32/divxc32.dll
Can't open library divxc32.dll
ICOpen failed! unknown codec / wrong parameters?
VDecoder init failed :(
Opening video decoder: [vfw] Win32/VfW video codecs
VDec: vo config request - 640 x 336 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 9
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x336 => 640x336 Packed YUY2
Loading DLL: 'divx.dll'
Win32 LoadLibrary failed to load: divx.dll, /usr/lib/win32/divx.dll, /usr/local/lib/win32/divx.dll
Can't open library divx.dll
ICOpen failed! unknown codec / wrong parameters?
VDecoder init failed :(
Can't find codec matching selected -vo and video format 0x33564944 !
*** Try to upgrade /home/samer/.mplayer/codecs.conf from etc/codecs.conf
*** If it's still not OK, then read DOCS/codecs.html!
==========================================================================
AO: [mpegpes] 48000Hz 2ch Signed 16-bit (Little-Endian)
Video: no video!!!
Successfully enabled DPMS
Start playing...
one last note, after doing this mplayer freezes, and I would have to kill it using ps -A | grep mplayer"

Kindly help if you can
 
Old 02-21-2003, 10:44 PM   #2
crichards
Member
 
Registered: Feb 2003
Location: Arizona
Distribution: Gentoo!
Posts: 124

Rep: Reputation: 15
Did you install the Win32 codec pack from the MPlayer site?
 
Old 02-22-2003, 03:08 AM   #3
franki_boy
LQ Newbie
 
Registered: Feb 2003
Posts: 17

Rep: Reputation: 0
hey guys,

i wanted to install mplayer so i downloaded the mplayer.tar file
and did
./configure it worked then i did ./make it worked but when i type make install this is what i get:-
make[1]: Entering directory `/usr/lib/MPlayer/libdha'
mkdir -p /usr/local/lib
install -m 755 -s -p libdha.so.0.1 /usr/local/lib/libdha.so.0.1
rm -f /usr/local/lib/libdha.so
ln -sf libdha.so.0.1 /usr/local/lib/libdha.so.0
ldconfig
make[1]: Leaving directory `/usr/lib/MPlayer/libdha'
make[1]: Entering directory `/usr/lib/MPlayer/vidix'
make[2]: Entering directory `/usr/lib/MPlayer/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -s -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/usr/lib/MPlayer/vidix/drivers'
make[1]: Leaving directory `/usr/lib/MPlayer/vidix'
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
install -c -m 644 DOCS/mplayer.1 /usr/local/man/man1/mplayer.1
install: cannot stat `DOCS/mplayer.1': No such file or directory
make: *** [install] Error 1

i really dont know what this means can some one help me out??
 
Old 02-22-2003, 03:15 AM   #4
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
woow
 
Old 02-22-2003, 04:31 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
franki_boy please do not hijack threads, you've already asked this elsewhere.

sahsahsaohsansash that's what you get for installing from precomipled packages really.... is that an official mplayer binary? if not you shouldn't use them. if you install mplayer from source then it should play no problem at all. and won't even try to use the win32 dll's as it'll use the ffmpeg package that comes with it.
 
Old 02-22-2003, 05:34 AM   #6
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
cool

Thanx for the reply acid. I have taken the time to look around on the forum before actually posting this thread, and there seems to be great encouragement form installing by compile.
My question is, if I download the sources and install by compilation, will it over-ride the older version of Mlpayer or will it quote unquote "result in an inconsistent system"?
A few tips/pointers/hints would be gladly and greatly appreciated here.
Thanx for the replies everyone
 
Old 02-22-2003, 06:42 AM   #7
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
i dunno but...

I dunno what exactly I did, but I think I installed the Win32 codecs and with a slight bit of tweaking of prefferences and a reboot I can play DivX movies (both audio and video now).
I have yet to try VidX. wish me luck.
 
Old 02-22-2003, 06:46 AM   #8
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Nope. No dice with XVid. I just wish i can find an RPM file to install it somewhere
 
Old 02-22-2003, 06:48 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
just compile from source....
 
Old 02-22-2003, 06:17 PM   #10
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
I looked into compiling from source and it seems a reeeeal pain in the behind. Since I got DivX to work nicely there surely must be a way to get XVid to to do so to without the ugliness of recompiling from source. Also If i recompile from source I would have two different versions of mplayer on my system resultiung in an "inconsistent" system. I tried removing mplayer altogether, but it is waaay tied into other things that the setup would not let me do so.

Any ideas?
 
Old 02-22-2003, 06:27 PM   #11
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Compiling mplayer from source isn't rough. It's the same as compiling anything else, and assuming you've already got gcc installed and working, it's as easy as:
./configure make make install

And you gain alot more functionality out of doing that, so why not?

It's a much better option.

Cool
 
Old 02-22-2003, 06:29 PM   #12
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Oh, and as for 2 versions...

Mplayer will overwrite the old files with the new ones. You won't have 2 versions unless you install to a different path. Assuming you want to install to the same path, during ./configure include the --prefix /path to the configure script. Find where mplayer is located first:
whereis mplayer
Then:
./configure --prefix /usr/local/bin

Assuming mplayer returns in /usr/local/bin

Cool
 
Old 02-23-2003, 06:52 AM   #13
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
tried but

I tried to compile form source. As root i tried ./configure, which spitted out a whole bunch of stuff. The I did make, which spitted out butloads of stuff, and then exited with two errors like "error 2". I will try it again and paste the results in here for you all to see
 
  


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 playing wrong audio. Mirari Linux - Software 1 03-12-2005 01:53 PM
tv stream on Mplayer - all wrong Ligius Linux - Software 2 11-06-2004 10:07 PM
WTF is wrong with debian and mplayer... Lleb_KCir Linux - Software 4 10-08-2004 06:48 PM
something wrong with mplayer of mine coldy Debian 1 11-29-2003 10:17 PM
mplayer - wrong gcc flags crashmeister Linux - Software 2 11-19-2002 07:25 AM


All times are GMT -5. The time now is 07:56 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