LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   MPlayer 16:10 Aspect Ratio (http://www.linuxquestions.org/questions/linux-software-2/mplayer-16-10-aspect-ratio-590474/)

Linkhiei 10-09-2007 04:35 AM

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?

macemoneta 10-09-2007 06:52 AM

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.

maroonbaboon 10-09-2007 08:38 AM

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?

Linkhiei 10-09-2007 08:05 PM

Thanks for the replies :D

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?

macemoneta 10-09-2007 09:03 PM

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'.

Linkhiei 10-09-2007 11:06 PM

o__O Is there any way to go about having it start like that every time, without having to run in terminal?


:) Thanks much

maroonbaboon 10-10-2007 01:24 AM

Quote:

Originally Posted by Linkhiei (Post 2919192)
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).

Linkhiei 10-10-2007 03:09 AM

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?

maroonbaboon 10-10-2007 07:33 AM

Quote:

Originally Posted by Linkhiei (Post 2919364)
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

firekage 01-18-2012 05:26 PM

Quote:

Originally Posted by macemoneta (Post 2918234)
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.


All times are GMT -5. The time now is 05:09 PM.