LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-23-2003, 05:58 PM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
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
 
Old 04-23-2003, 07:05 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 04-23-2003, 07:49 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
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
 
Old 04-23-2003, 07:59 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Try starting it from the command-line,
using -zoom as a parameter....

Cheers,
Tink
 
Old 04-23-2003, 08:01 PM   #5
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
how do you do that?
what do you type,exactly?
 
Old 04-23-2003, 08:10 PM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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
 
Old 04-23-2003, 08:13 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 04-23-2003, 09:56 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Tinkster
/me sighs ...

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

Cheers,
Tink
Kind of like I mentioned in my first reply..
 
Old 04-23-2003, 11:44 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It's pretty much so, yes ... :)

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

Cheers,
Tink
 
Old 04-24-2003, 02:50 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 04-24-2003, 04:29 AM   #11
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

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

Last edited by ludwig W; 04-24-2003 at 04:35 AM.
 
Old 04-24-2003, 04:30 AM   #12
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

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

Last edited by ludwig W; 04-24-2003 at 04:41 AM.
 
Old 04-24-2003, 04:53 AM   #13
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
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
 
Old 04-24-2003, 05:23 AM   #14
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

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

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply



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
Screen size problem darkstar420 Slackware 5 08-08-2004 03:12 PM
Screen Size Problem with Redhat 9 venkatm Red Hat 7 03-13-2004 06:28 PM
Screen size problem Linux~Powered Linux - Hardware 5 02-11-2004 01:24 AM
Monitor / Screen Size problem Assassin Linux - Newbie 12 01-21-2004 06:42 PM
screen size problem alim Slackware 1 04-22-2002 09:10 AM

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

All times are GMT -5. The time now is 04:21 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
Open Source Consulting | Domain Registration