LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MPlayer screen size problem (https://www.linuxquestions.org/questions/linux-software-2/mplayer-screen-size-problem-56481/)

ludwig W 04-23-2003 05:58 PM

MPlayer screen size problem
 
Hi,
I have installed MPlayer (mplayer-0.90-fr0.7rc5.i386.rpm) and resolved all the dependencies it needed.

However, I have a problem with viewing movies.
Movies play,but only in a 2X2 " screen.If I hit 'double size,the window size doubles but the size of the movie stays the same:about 2 " square.The same thing happens if I hit fullscreen on Mplayer.The window fills the screen bt the movie stays at 2X2 inches.

Any idea what might be going wrong?
cheers
Ludwig

trickykid 04-23-2003 07:05 PM

Try passing the -zoom option when playing movies or video's. I assume your running this with the gui?

I'd test it by typing this:

mplayer -zoom filename.ext

And see when you expand it the movie expands as well.

ludwig W 04-23-2003 07:49 PM

Hi m8 :)
I can't find a zoom option in preferences.Where would it be?

Should the movie expand when you do to fullscreen mode,like in windows?

cheers
Ludwig

Tinkster 04-23-2003 07:59 PM

Try starting it from the command-line,
using -zoom as a parameter....

Cheers,
Tink

ludwig W 04-23-2003 08:01 PM

how do you do that?
what do you type,exactly?

whansard 04-23-2003 08:10 PM

i've got crazy crap like this in my XF86Config for
lower res modes


Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan

then you have to add stuff like this to your main display
section.

Subsection "Display"
Depth 16
Modes "800x600" "712x600" "640x480" "400x300" "352x288" "352x240"
"320x240"
ViewPort 0 0



type mplayer --help
or mplayer -vo help
for some mplayer options
mplayer -vo dga -fs filename.avi
mplayer -vo x11 -fs filename.avi

Tinkster 04-23-2003 08:13 PM

Quote:

Originally posted by ludwig W
how do you do that?
what do you type,exactly?

/me sighs ...

mplayer -zoom </path/to/file.ext>

Cheers,
Tink

trickykid 04-23-2003 09:56 PM

Quote:

Originally posted by Tinkster
/me sighs ...

mplayer -zoom </path/to/file.ext>

Cheers,
Tink

Kind of like I mentioned in my first reply.. ;)

Tinkster 04-23-2003 11:44 PM

It's pretty much so, yes ... :)

It's hard trying to help people who
attempt to run before they learnt
to walk :}

Cheers,
Tink

acid_kewpie 04-24-2003 02:50 AM

basically though, the reason it's not filling the scren is probably that you're using a crap video output method, i.e. X11, go into the preferences wherever they are (hint - use command lines!!!!) and choose xv instead. should scale fine then, and use less cpu power

ludwig W 04-24-2003 04:29 AM

Quote:

Originally posted by acid_kewpie
basically though, the reason it's not filling the scren is probably that you're using a crap video output method, i.e. X11, go into the preferences wherever they are (hint - use command lines!!!!) and choose xv instead. should scale fine then, and use less cpu power
when I choose XV, I don't get a picture showing.The only one that gives me a picture is X11

I've got 3 options to choose:xv;X11;xvidix and only X11 gives me a picture
If I choose xv I get an error message box come up saying:
error opening/initia;lising the selected video out (-vo) device

ludwig W 04-24-2003 04:30 AM

what is this: </path/to/file.ext> ?
Can you please be more specific as to what type.
thanks

ludwig W 04-24-2003 04:53 AM

Ok,
I figured out the Zoom thing and that what you are asking me to do is start the mplayer from the command line.

I've also figured out that what you mean by : </path/to/file.ext> is the name of a video.

Ok,I started a video like you said and I could resize the screen ok.However,in hte command line I got lots of info saying things like:

************************************************
**** Your system is too SLOW to play this! ****
************************************************

even though it played ok.
I have some more questions:

1.will I always have to start the Mplayer from the command line in order to get this zoom thing working?Shouldn't there be this option in the gui?

2.those system is too slow messages are presumably to do with another posters suggestion here that X11 is not a good option. Are there any others I can try or import ,that will help,considering that the other 2 I have don't play the movies I have .

thx
Ludwig

ludwig W 04-24-2003 05:23 AM

Ok,I've found out something else:This might help anyone else with a similar problem:

If I install nvidia drivers (I had the vesa ones) then the re-sizing works from the gui.

acid_kewpie 04-24-2003 05:25 AM

1. there may well be an option there, but i'm not familiar with the gui, as the commandline really is so so much quicker and easier... why load a gui when you're not even going to use it while watching a film...?

2. again, try -vo xv that really should work no problems, but at the same time, you are using a third party RPM, so we couldn't say how it's been configured. check "mplayer -vo help" for a full list. if xv isn't there, get the real rpm's from mplayerhq.hu or get the source and compile it yourself.

try adding the -framedrop option to the command line, or specify it in your .mplayer/config file to set it permanently.

ludwig W 04-24-2003 05:29 AM

thanks for your help ,acid.

acid_kewpie 04-24-2003 05:30 AM

you had vesa? vesa is for a console framebuffer.... not related really. if you are doing resizing now, you're probably on xv now. run "xvinfo" in a terminal to see if it does exist now.

ludwig W 04-24-2003 05:35 AM

Quote:

Originally posted by acid_kewpie
you had vesa? vesa is for a console framebuffer.... not related really. if you are doing resizing now, you're probably on xv now. run "xvinfo" in a terminal to see if it does exist now.
I'm talking about my video card drivers.
I had the stock "vesa" ones installed. I just installed the nvidia 4349 ones for my GF4 vid card.

xv I had before.I could see them in the preferneces for MPlayer.Only the movies wouldn't play with xv unttil I installed the NVIDIA drivers for my video card .Now they do :)

cheers,
Ludwig

acid_kewpie 04-24-2003 06:03 AM

hmm, so you were running X in a framebuffer then i guess... that'll have seriosuly crippled it...

ludwig W 04-24-2003 06:12 AM

when I installed RH8, it didn't have NVIDIA drivers,so it just installed stock drivers for my GF4 card which,according to the XF86Config file,are called vesa drivers.


All times are GMT -5. The time now is 01:24 AM.