mplayer


Recommended Posts

hey...

I having some problems with mplayer. First it wouldn't detect a video output, but that I fixed by using mplayer -vo x11, then the sound, but I fixed that too. The only problem I still have is the quality of the movies and the screen size. For example, I played a divx file and the quality was a bit less than in xp and then when I change the screen size, it just maximizes the screen but the size of the video stays the same (its not like that with xine).

any ideas?

could anyone maybe post an installtion procedure I could follow?

Link to comment
Share on other sites

Try to use xv instead x11 for the screen size issue, you will need to have xv installed.. The quailty, I really can't tell. Check my very old screenshot.. -> http://www.mezzweb.com:81/images/fbsd_shot.jpg As you see, the quaility is perfect and it's DivX. Did you compile MPlayer? Or, are you using RPM? If it's compile, then I can show you what I did with compile. I need to download MPlayer and check the options again.

Link to comment
Share on other sites

how do I install xv?

and I used the rpm for mplayer, since I thought it'd easier to remove if I didn't like it. However, if you can tell me what options to use, I'll compile it myself.

for xv, someone told me to " Load="xv" " in XF86Config, but that didn't do anything.

Link to comment
Share on other sites

Heh, xv has nothing to do with XFree86.. xv's website -> http://www.trilon.com/xv/ .. If you want to compile it by yourself, then there are many patches that you will need to patch them and compile it. The patches are in the same link above. FreeBSD's ports do the job for me. Maybe, you can try to find rpm of xv if you rather to use rpm.

To compile MPlayer, I use the options following:

-O3 -ffast-math -fomit-frame-pointer (for CFLAGS)

--enable-gui

--disable-freetype

That's all. Near whole options in the MPlayer's compile will do the autodetect on what your system has already installed and etc. GUI is disable by default and freetype is enable by default. I had to disable freetype, because it makes my MPlayer crawl slower than honey runs down the hill.

BTW: If your system has very good OpenGL support, then you can try to use it instead to see if it helps. Check in mplayer -vo help..

Link to comment
Share on other sites

hey mezz,

I followed you instructions and compiled mplayer, but the "-O3" didn't work but the quality is much better. I also tried the rpm for xv, but that still didn't work so I gave up on it.

The only problem I still have is the "Double Size/Full Screen" option. Even when I try to double/maximize the screen, the size of the window still stays the same. Any ideas?

Link to comment
Share on other sites

if you have xv installed then open mplayer (with the gui) right click on it and go to preferences, then go to the video tab and change it from x11 to xv.... if this doesn't work then your xv installation didn't work ....

what distro are you using?

Link to comment
Share on other sites

The only problem I still have is the "Double Size/Full Screen" option. Even when I try to double/maximize the screen, the size of the window still stays the same. Any ideas?

Yes, use xv instead x11.. x11 doesn't work on double/full screen on me neither, which I had to use xv to get double/full screen works.

Link to comment
Share on other sites

Well, all you are telling us that you are having the problem with XV. Yeah, what's your problem? Care to post your details, eh? ;)

Anyway, at midnight or so, I will try to get on family computer and boot into RedHat 8 (not 8.1 beta) and check stuff. If I am able to get stuff work and I will post the result in here.

Link to comment
Share on other sites

thanks mezz

the only problem is that it doesn't work, lol.

I mean, it installs fine but when I try to use it with mplayer it doesn't work and I get the same video_output error.

Link to comment
Share on other sites

BTW: Did you install XV first, before you compiled MPlayer? If you didn't, then you will need to recompile MPlayer. Also, be sure to check XV if it works by run xv in the command.

Can you copy-n-paste the xvinfo in here?

Link to comment
Share on other sites

hey mezz,

I just got xv to work by itself. When I just type xv, it opens the xv window but mplayer -vo xv file still doesn't work. And, I compiled mplayer with --enable-xv options as well.

Link to comment
Share on other sites

mplayer -vo xv /mnt/e/Anime/Ninja\ Scroll.avi

Using GNU internationalization

Original domain: messages

Original dirname: /usr/share/locale

Current domain: mplayer

Current dirname: /usr/local/share/locale

MPlayer 0.90rc3-3.2.1 ? 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)

Detected cache-line size is 32 bytes

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory

Reading config file /home/pagal/.mplayer/config

Reading /home/pagal/.mplayer/codecs.conf: can't open '/home/pagal/.mplayer/codecs.conf': No such file or directory

Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs

Font /home/pagal/.mplayer/font/font.desc loaded successfully! (206 chars)

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied

Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Using usleep() timing

Can't open input config file /home/pagal/.mplayer/input.conf : No such file or directory

Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory

Falling back on default (hardcoded) input config

Setting up LIRC support...

mplayer: could not connect to socket

mplayer: No such file or directory

Failed to open LIRC support.

You will not be able to use your remote control.

Playing /mnt/e/Anime/Ninja Scroll.avi

AVI file format detected.

VIDEO: [DIV3] 720x480 24bpp 29.97 fps 712.5 kbps (87.0 kbyte/s)

==========================================================================

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: 12000->192000 (96.0 kbit)

Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)

==========================================================================

vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0.0" => local display)

It seems there is no Xvideo support for your video card available.

Run 'xvinfo' to verify its Xv support, and read Xv section of DOCS/video.html !

See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11

Error opening/initializing the selected video_out (-vo) device.

Exiting... (End of file)

Link to comment
Share on other sites

The issue is your video card.. Copy-n-paste your xvinfo in here..

Also, check -> http://www.mplayerhq.hu/DOCS/video.html#xv_ati and http://www.mplayerhq.hu/DOCS/video.html#xv

BTW: There have many -vo options that you can use beside xv to help your fullscreen.. Check in 2.3 -> http://www.mplayerhq.hu/DOCS/ .. I think, Xine uses SDL or SVGAlib by default, but I am not sure.

Link to comment
Share on other sites

thanks mezz.

I think I have figured out the problem though. Its my poop video card, and the outputs that mplayer uses are just too good for it. I was able to get full screen when I used opengl (-vo gl) but it was too slow. I guess I'll use it the way it is untill I get a new vid. card.

Just out of curiosity, how would I get rid of a program that I didn't install using rpm?

Link to comment
Share on other sites

Just out of curiosity, how would I get rid of a program that I didn't install using rpm?

Same as what trpn said, it's really depend on what the programmers provide the nice features. Like, not every app has the uninstall option or lack function of uninstall on Windows.

If there has no make uninstall option, then use rm command to delete them by manual.

Link to comment
Share on other sites

I got the MPlayer plugin working in regular user mode, but I can only run the actual program as root. Xine is much better for DivX support, especially for lower systems like mine.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.