mplayer wont install..please HELP!!!!!!!!!!!
hi
i have been trying to install mplayer for some time now...i have both the latest source and the rpm for Suse 9.1 but mplayer is not getting installed from both. when i install by rpm it gives dependency problem saying "w32codec-all" is required by mplayer. now i have these codecs, but where do i extract them to? i tried /usr/lib/win32 and also /lib/codecs as per the README still its giving dependency errors saying mplayer needs w32codecs-all ,where do i put these codecs and how? do i just copy and paste the extracted folders in these directories (i have tried that). ---------------------------------------------------------------------------------------------------- now if i install from source mplayer configures properly but during make it gives the following error.. : undefined reference to `ff_pw_3' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36bf6): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_20' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36c22): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_3' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36c41): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_20' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36c6d): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_3' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36c8f): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_20' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36cbb): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_3' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36cda): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_20' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36d06): In function `put_no_rnd_qpel8_mc32_mmx2': : undefined reference to `ff_pw_3' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36db0): In function `put_no_rnd_qpel8_mc22_mmx2': : undefined reference to `ff_pw_3' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36dbd): In function `put_no_rnd_qpel8_mc22_mmx2': : undefined reference to `ff_pw_20' libavcodec/libavcodec.a(dsputil_mmx.o)(.text+0x36dfa): In function `put_no_rnd_qpel8_mc22_mmx2': : undefined reference to `ff_pw_20' . . . . . .. ..................(and so on.................................) . . . . . . . . . . . libavcodec/libavcodec.a(motion_est_mmx.o)(.text+0xe53): In function `pix_abs16x16_xy2_mmx2': : undefined reference to `bone' libavcodec/libavcodec.a(motion_est_mmx.o)(.text+0xed3): In function `pix_abs16x16_xy2_mmx2': : undefined reference to `bone' libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x26): In function `ff_simple_idct_mmx': : undefined reference to `wm1010' libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x126): In function `ff_simple_idct_mmx': : undefined reference to `d40000' libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x1e69): In function `ff_simple_idct_add_mmx': : undefined reference to `wm1010' libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x1f65): In function `ff_simple_idct_add_mmx': : undefined reference to `d40000' libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x3c4e): In function `ff_simple_idct_put_mmx': : undefined reference to `wm1010' libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x3d4a): In function `ff_simple_idct_put_mmx': : undefined reference to `d40000' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 linux:~/Desktop/MPlayer-1.0pre3 # ---------------------------------------------------------------------------------------------------------- please help as i have no video player installed since no player in suse 9.1 would play DVD thnx |
Download the suse9.1 rpm for "w32codec-all" from:
http://students.ee.sun.ac.za/linux/docs/suse/rpm/9.1/ Install this then try installing the mplayer rpm. Also try installing Ogle. It's a nice DVD player which supports menus: http://www.dtek.chalmers.se/groups/dvd/ Hope this helps:) |
Read mplayer documentation:
http://www.mplayerhq.hu/DOCS/HTML/en...html#id2835163 the correct path to uncompress the codecs is /usr/local/lib/codecs. I've just compiled for both SuSE 9.1 and 8.2 and it works... |
Quote:
well i have read the mplayer documentation and it says to put the w32 codecs in /usr/local/lib/codecs the problem is there is no /codecs directory in /usr/local/lib/ i created a codecs directory there and extracted all the w32 codecs there first it created a w32 folder and within that the codecs it didnt work,then i just removed the w32codecs folder and pasted just the codecs in usr/local/lib/codecs still doesnt work,is giving the same dependency problem again "mplayer needs w32codecs-all" ,i have not tried the rpm version as suggested by vxc69 as i m still downloading it..but i ll try it later...meantime please help me on my last post. |
If you have uncompressed the codecs inside that folder, get the source version. It's pretty simple to compile (without gui) and at least in the distributions I've tried, using source for mplayer gives a much better performance.
1 - Get this file: http://www1.mplayerhq.hu/MPlayer/rel....0pre5.tar.bz2 2 - Uncompress it: bunzip2 MPlayer-1.0pre5.tar.bz2 tar xvf MPlayer-1.0pre5.tar 3 - Go into the uncompressed folder and compile it: ./configure make su root make install This would compile wiith all distributions if you have gcc and make installed. Otherwise, it will tell you to install those packages... Should take you 2 minutes to install them through YaST. Please note that this will compile without gui support. Check the documentation to enable gui and other features (as joystick support). Compiling with gui has a lot of dependecies, but it's very simple: whatever packages are missing when you run a "./configure", install with YaST. RPM's are good, but some applications are easier (and better) to install from source. MPlayer is the best example I know, plus it compiles easily and it's good practice. Don't be afraid of compiling fom source, it's really that simple :) Good luck! |
hi!
finally i got mplayer working! i had tried the compile from source option but i guess my motherboard is unique or something..coz during configure it identifies the processor as celeron 2.4 Ghz but then it goes and compiles for Pentium 4! so i just downloaded the rpm package as suggested by xcv69 and now i can use mplayer..i also tried ogle and i just loved it watching your screen turn into a movie player by typing commands! God thats the beauty of Linux! |
All times are GMT -5. The time now is 10:16 PM. |