LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 01-24-2005, 02:04 PM   #1
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Rep: Reputation: 15
Mplayer on a widescreen laptop


Hello,
I have a widescreen laptop, and when I run a movie in MPlayer at full-screen it stretches the frame, as if it thought I regular 4:3 monitor -- in other words everything played in full-screen mode is stretched horizonally. Does anybody know how I can fix this? If I play in the integrated KDE MPlayer it's fine, and also in Totem, it's just when I play it directly through MPlayer. Video card is ATI IGP 320-M and I use MDK 10.0 with KDE.
Thanks!

Last edited by johngcarlsson; 01-24-2005 at 02:05 PM.
 
Old 01-24-2005, 02:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
i thought there was a nicer way to do it, but try adding the options "-screenh <pixels> -screenw <pixels>" to the command line. what video output are you using? this shouldn't be an option under any X output, or fbdev.
 
Old 01-24-2005, 05:55 PM   #3
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Hi,
I have the following line when I run mplayer:

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

Is that the video output module?

If I invoke mplayer with -screenw 1280 -screenh 800, I get the stretchy problem as before. However, the options -screenw 1067 -screenh 800 give me the correct aspect ratio. Cool! However, when I do fullscreen mode with this setting, it doesn't cover up the whole screen, so my desktop still pokes out at the rightmost region of my screen. Do you suppose there is any way to work around that?
Thanks!!!
 
Old 01-24-2005, 06:33 PM   #4
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
EDIT: I find that if i use the -x and -y commands, every works fine in gmplayer and mplayer...except the bars at the edge of the screen are grey, not black, so it's rather distracting. Does anybody know where I would change such a thing? Also, is there any way to do this so that I don't have to manually enter the resolutions in every time?
Thanks!!!

Last edited by johngcarlsson; 01-24-2005 at 06:54 PM.
 
Old 01-24-2005, 11:43 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
What happens if you put "monitoraspect=16:9" in your config?


Håkan
 
Old 01-25-2005, 07:38 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Quote:
Originally posted by hw-tph
What happens if you put "monitoraspect=16:9" in your config?


Håkan
that's the sucker i was after. i thought it was screenaspect...
 
Old 01-25-2005, 03:56 PM   #7
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
That does the trick. 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Widescreen WXGA Laptop + VGA-Out (same time) khermans Linux - Newbie 0 11-24-2004 08:58 AM
New Laptop Advice? Pentium-M, Brand/Make, Widescreen etc HaloinaHaystack Linux - Laptop and Netbook 10 10-28-2004 05:34 PM
change resolution on widescreen laptop tjuii Linux - Laptop and Netbook 4 09-28-2004 02:22 PM
unable to install on my widescreen laptop 3nbar Fedora - Installation 4 08-05-2004 09:48 PM
adjusting resolution on widescreen laptop nkorde Linux - Newbie 5 01-21-2004 07:56 PM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration