Mplayer, xvid...yaieee
I'm kinda a n00b but I managed to figure out how to configure/install mplayer with the xvid codec installed. Problem is that I haven't been able to actually play the movie I want to play. As you can see from my output (below), mplayer thinks xvid isn't installed or something, though I made sure to enable it during configure. It also says to try updating the codecs.conf file, but I have done that already...What am I doing wrong?
THANKS...! OUTPUT: mplayer -vo xv "movie.avi" Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/share/locale MPlayer 0.90rc4-3.3 (C) 2000-2003 Arpad Gereoffy (see DOCS) This version of MPlayer may lack certain features because of legal requirements (potential patent violation). For more see /usr/share/doc/packages/MPlayer/README.SuSE CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled with Runtime CPU Detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection Reading config file /etc/mplayer.conf Reading config file /home/Justin/.mplayer/config Reading /home/Justin/.mplayer/codecs.conf: 50 audio & 135 video codecs font: can't open file: /home/Justin/.mplayer/font/font.desc Font /usr/share/mplayer/font/font.desc loaded successfully! (204 chars) Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /de v/rtc should be readable by the user.) Using usleep() timing Can't open input config file /home/Justin/.mplayer/input.conf : No such file or directory Input config file /etc/input.conf parsed : 52 binds Opening joystick device /dev/input/js0 Setting up LIRC support... mplayer: could not connect to socket mplayer: Permission denied Failed to open LIRC support. You will not be able to use your remote control. Playing movie.avi AVI file format detected. VIDEO: [XVID] 576x320 24bpp 25.00 fps 759.6 kbps (92.7 kbyte/s) Clip info: Software: Nandub v1.0rc2 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 MP3lib: init layer2&3 finished, tables done AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display) Disabling DPMS ========================================================================== Requested video codec family [ffodivx] (vfm=ffmpeg) not available (enable it at compilation) Requested video codec family [xvid] (vfm=xvid) not available (enable it at compi lation) Requested video codec family [odivx] (vfm=odivx) not available (enable it at com pilation) Requested video codec family [divx4] (vfm=divx4) not available (enable it at com pilation) *** Try to upgrade /home/Justin/.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 0x44495658. ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... Video: no video Starting playback... A: -0.0 0.0% 0% MPlayer interrupted by signal 11 in module: seek - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html#crash.b. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. |
Do you also experience troubles with MPlayer playing another _type_ of movie, for example a MPEG movie?
( You can also play MP3 files with MPlayer, does that work? ) Is it 'only' _that_ particular file which crash MPlayer? Can you post your "./configure ....... " command you used to compile MPlayer? |
Quote:
|
Uninstall MPlayer e.g. rpm -e MPlayer
Download and instal everything else from e.g. http://packman.links2linux.org/ Have fun :-) |
I love this forum. You guys are great. Do you really think that it is because of SuSE crippling? That never even occurred to me...
|
it's not a question of think.... all the major distros are too scared to add support for potentially dubious formats, absolute certainty
|
Huzzah!
This will be easier than I thought! ...hopefully. :)
Thanks again! |
I'm baaaaaaaack :(
I thought compilation would be easy enough, I configured/made/installed xvid(using divx4compat), and then did a ./configure --enable-gui --with-xvidcore=/usr/local/lib/libxvidcore.a for mplayer. During Make, I get this:
ve_divx4.c:58: error: parse error before "divx4_param" (snip-a bunch of stuff relating to ve_divx4) `divx4opts_conf[19]')gcc: libmpcodecs/libmpencoders.a: No such file or directory make: *** [mencoder] Error 1 make stops. Then I tried a make install, and everything seems to be OK until: gcc: libmpcodecs/libmpencoders.a: No such file or directory make: *** [mencoder] Error 1 I do know the libmpcodecs dir/file exists... mplayer works with XVid now, but the only way I could get it to work was to copy the binary mplayer file to /usr/bin/ gmplayer doesn't work at all... any ideas? :( |
why do you want to use xvid so much? ffmpeg's codecs come bundled with the software (libavcodec) and are more optimized than Xvid.
have you tried compiling it without xvid support? and also i'd assume that it's not actaully able to build the gui at all.. is there anything about this in the configure script output? btw i may have preached about this already but GUI's on video players are such a waste of time... just use key bindings... so so much faster. |
oh an what version is this that you're trying to compile?
|
I wanted to use xvid because without it I was unable to use a specific movie that my roommates really want to see (heh). I figured if this movie wouldn't play, others won't, so I should try to make it compatible. As for the GUI, the roommate reason is there...they don't know how to use cmd line :)
I just tried compiling without xvid (but with gui enabled) and got nothing. I can play the movie, so at least that is figured out. Version, I downloaded the latest version, 0.90. gmplayer used to work when I had my crippled SuSE version...now the link seems to be dead, it just gives me bad command...Configure doesn't give any errors pertaining to the GUI...or any errors at all, for that matter... Thanks... |
but in the configure output it will have a line where it checks for gtk libraries to build the gui, and it will say no if it can't find them (i don't believe it actually bombs out though, so take a closer look) it will also give a summary at the end of the configure check there too.
|
Yeah, I had checked that before...unfortunately it isn't as easy as something screwing up in the configure, I think...everything seems to be OK. Here is the part about GUI and gtk.
Checking for GUI ... yes Checking for XShape extension ... yes Checking for gtk version ... 1.2.10 (using gtk-config) Checking for glib version ... 1.2.10 (using glib-config) Creating Gui/config.mak is there anything more you might want? Sorry, this is rather...tenacious. Another tidbit: I tried configure without the GUI and I get the same problem during make (with ve_divx4.o and then the libmpcodecs.a Error 2) and make install (limbmpencoders.a)... Even more so: if I configure with --disable-mencoder it seems to make and make install fine...but so much for that pesky gmplayer...any more ideas? :( |
okay uh...I guess I'm a dope. Dunno why mencoder blows things up, but I don't think I really need it now (unless you think I should) anyway...I will eventually get gmplayer working with a little time and patience.
Thanks! |
All times are GMT -5. The time now is 08:51 PM. |