LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-09-2007, 04:35 AM   #1
Linkhiei
LQ Newbie
 
Registered: Feb 2006
Location: Portland, OR
Distribution: debian etch
Posts: 28

Rep: Reputation: 15
MPlayer 16:10 Aspect Ratio


Hihi! I've got suggestions from googling that have told me to add monitoraspect="16:10" to the mplayer.conf files in both directories: /etc/mplayer and /home/username/.mplayer

These suggestions have not worked for me, could anyone tell me what it is I need to do?
 
Old 10-09-2007, 06:52 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Changing the monitor aspect ratio does not change the aspect ratio of the video, if that's what you were thinking. You can force the aspect ratio of the video, but unless it was set improperly in the file, doing that will distort the image.
 
Old 10-09-2007, 08:38 AM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Bit hard to tell from the documentation but I think 'monitoraspect' might be there to handle displays with non-square pixels. If your display has square pixels then setting monitoraspect would have no effect (unless you set it to the wrong value).

Or are you doing this to fix some problem with using mplayer?
 
Old 10-09-2007, 08:05 PM   #4
Linkhiei
LQ Newbie
 
Registered: Feb 2006
Location: Portland, OR
Distribution: debian etch
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the replies

I'm actually just trying to view the video in a 16:10 format, like I am able to do using VLC Player by setting a custom aspect ratio. Don't want to actually change the video or anything like that. Sorry, shoulda been more specific. Is there a different value I should add into the config file?
 
Old 10-09-2007, 09:03 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
You don't need to change the config, you can specify it as an option:

Code:
mplayer -aspect 16:10 /some/file
The details are available via 'man mplayer'.
 
Old 10-09-2007, 11:06 PM   #6
Linkhiei
LQ Newbie
 
Registered: Feb 2006
Location: Portland, OR
Distribution: debian etch
Posts: 28

Original Poster
Rep: Reputation: 15
o__O Is there any way to go about having it start like that every time, without having to run in terminal?


Thanks much
 
Old 10-10-2007, 01:24 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by Linkhiei View Post
Is there any way to go about having it start like that every time, without having to run in terminal?
Just add the option to the configuration file mplayer.conf. See the mplayer man page for details and syntax (search for mplayer.conf).
 
Old 10-10-2007, 03:09 AM   #8
Linkhiei
LQ Newbie
 
Registered: Feb 2006
Location: Portland, OR
Distribution: debian etch
Posts: 28

Original Poster
Rep: Reputation: 15
O__O Oh wow, like I said in the first post monitoraspect=16:10 was not working for some reason. I was doing the right thing, though. For some reason, when I put in monitoraspect=16:9 in the config file, it worked correctly. Sorta weird considering I have a 16:10 monitor. But I am satisfied. XD Stupid me


If you do not mind though, I would like to ask one more question about mplayer:

Is there anyway to have it read the font face, colour, size etc. from the subtitle stream rather than just using the standard white sans font?

Last edited by Linkhiei; 10-11-2007 at 01:57 AM.
 
Old 10-10-2007, 07:33 AM   #9
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by Linkhiei View Post
Is there anyway to have it read the font face, colour, size etc. from the font file rather than just using the standard white sans font?
Never tried to do anything like that. The MPlayer documentation would be your best bet for more information on using fonts:

http://www.mplayerhq.hu/DOCS/HTML/en/index.html
 
Old 01-18-2012, 05:26 PM   #10
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 272

Rep: Reputation: 7
Quote:
Originally Posted by macemoneta View Post
Changing the monitor aspect ratio does not change the aspect ratio of the video, if that's what you were thinking. You can force the aspect ratio of the video, but unless it was set improperly in the file, doing that will distort the image.
Sorry for refreshing - how to change aspect ratio for a files? I want to have it permamently for all files. If i run from terminal command with aspect ratio + file than this file is played with the aspect ratio that i want, but running from icon/gui causes to run in default aspect ratio of a movie, so i need to change it with use of a mouse - is there a way to change it for all files permamently? I tried to editing config files in /etc/mplayer and ~/.mplayer but adding monitoraspect=16:9 it is not the option that causes to play movie files with this aspect - i have to change it while playing with mouse from rightclick and choosing aspect ratio.
 
  


Reply

Tags
mplayer


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
mplayer for Windows - aspect ratio problem neutron68 General 4 05-06-2007 08:19 PM
mplayer is changing aspect ratio shanenin Linux - Software 1 10-20-2004 12:40 PM
Mplayer Aspect Ratio Glock Shooter Linux - Software 6 11-22-2003 06:19 PM
Mplayer & Ogle aspect ratio Johng Linux - Software 0 09-21-2002 05:24 AM


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