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 |
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.
|
 |
02-21-2003, 08:22 PM
|
#1
|
Member
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556
Rep:
|
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
|
|
|
02-21-2003, 10:44 PM
|
#2
|
Member
Registered: Feb 2003
Location: Arizona
Distribution: Gentoo!
Posts: 124
Rep:
|
Did you install the Win32 codec pack from the MPlayer site?
|
|
|
02-22-2003, 03:08 AM
|
#3
|
LQ Newbie
Registered: Feb 2003
Posts: 17
Rep:
|
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??
|
|
|
02-22-2003, 03:15 AM
|
#4
|
Senior Member
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
woow
|
|
|
02-22-2003, 04:31 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-22-2003, 05:34 AM
|
#6
|
Member
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556
Original Poster
Rep:
|
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 
|
|
|
02-22-2003, 06:42 AM
|
#7
|
Member
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556
Original Poster
Rep:
|
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.
|
|
|
02-22-2003, 06:46 AM
|
#8
|
Member
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556
Original Poster
Rep:
|
Nope. No dice with XVid. I just wish i can find an RPM file to install it somewhere 
|
|
|
02-22-2003, 06:48 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
just compile from source....
|
|
|
02-22-2003, 06:17 PM
|
#10
|
Member
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556
Original Poster
Rep:
|
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?
|
|
|
02-22-2003, 06:27 PM
|
#11
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
02-22-2003, 06:29 PM
|
#12
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
02-23-2003, 06:52 AM
|
#13
|
Member
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556
Original Poster
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 01:17 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
|
|