LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-27-2003, 06:48 PM   #1
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Rep: Reputation: 15
Question 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.
 
Old 06-27-2003, 07:25 PM   #2
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
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?
 
Old 06-27-2003, 07:38 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
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
you're using a version that suse have been kind enough to cripple for you. go get the REAL version from mplayerhq.hu and install that.
 
Old 06-27-2003, 09:03 PM   #4
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
Uninstall MPlayer e.g. rpm -e MPlayer

Download and instal everything else from e.g.

http://packman.links2linux.org/

Have fun :-)
 
Old 06-28-2003, 09:59 AM   #5
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Original Poster
Rep: Reputation: 15
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...
 
Old 06-28-2003, 11:04 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
it's not a question of think.... all the major distros are too scared to add support for potentially dubious formats, absolute certainty
 
Old 06-28-2003, 02:11 PM   #7
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Original Poster
Rep: Reputation: 15
Talking Huzzah!

This will be easier than I thought! ...hopefully.

Thanks again!
 
Old 06-29-2003, 04:53 PM   #8
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Original Poster
Rep: Reputation: 15
Exclamation 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?
 
Old 06-29-2003, 05:10 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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.
 
Old 06-29-2003, 05:11 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
oh an what version is this that you're trying to compile?
 
Old 06-29-2003, 05:34 PM   #11
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Original Poster
Rep: Reputation: 15
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...
 
Old 06-29-2003, 05:37 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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.
 
Old 06-30-2003, 12:01 AM   #13
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Original Poster
Rep: Reputation: 15
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?
 
Old 06-30-2003, 12:18 AM   #14
shock_ez
Member
 
Registered: May 2003
Location: Japan
Posts: 67

Original Poster
Rep: Reputation: 15
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!
 
  


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
new XviD <=> new MPlayer? six6 Linux - Software 2 09-22-2004 02:15 AM
Xine/Mplayer and Xvid 1.0 playback? yautja666 Linux - Newbie 3 05-24-2004 05:59 AM
XviD 1.0rc3 stuttering with MPlayer 1.0pre3try2 PunkPT Linux - Software 0 04-15-2004 10:34 AM
i can't compile mplayer (after installing divx and xvid) jogurt666 Linux - Software 0 12-10-2003 01:39 PM
problem with mplayer+XviD+DivX jogurt666 Linux - Software 2 12-08-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 PM.

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