View previous topic :: View next topic |
Author |
Message |
infinity9 n00b
Joined: 07 Jul 2006 Posts: 44 Location: Atlanta, GA
|
Posted: Fri Aug 18, 2006 2:35 am Post subject: XGL stretches out aspect ratio in mplayer [SOLVED] |
|
|
i installed XGL today and it works flawlessly. however, when i play videos while XGL is enabled, they are wider than they should be: 4:3 videos look closer to 16:9, and 16:9 is even worse. specifying the width/height at the command line doesn't help either. i found that when i disable the XGL server and just use the normal X server (i.e., by commenting out the relevant lines in gdm.conf), the videos display just fine.
i'd really like XGL and mplayer to coexist--can anyone help? _________________ "You cheese-eating...sideways monkeys!" -Jeremy Clarkson
Last edited by infinity9 on Fri Aug 18, 2006 5:54 pm; edited 1 time in total |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Aug 18, 2006 8:02 am Post subject: |
|
|
Have you tried the -monitoraspect and -monitorpixelaspect options? |
|
Back to top |
|
|
infinity9 n00b
Joined: 07 Jul 2006 Posts: 44 Location: Atlanta, GA
|
Posted: Fri Aug 18, 2006 11:41 am Post subject: |
|
|
the command
Code: | -monitoraspect 16:10 video.avi |
displayed video at the correct aspect ratio, but when i added -monitoraspect 16:10 to ~/.mplayer/config, this came up when i tried to play a file:
Code: | Option -monitoraspect needs a parameter at line 3 |
which parameter do i need? _________________ "You cheese-eating...sideways monkeys!" -Jeremy Clarkson |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Aug 18, 2006 1:00 pm Post subject: |
|
|
The syntax of ~/.mplayer/config is a bit different. At least one of these (but probably all) should work: Code: | monitoraspect=16:10 |
Code: | monitoraspect=16/10 |
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Fri Aug 18, 2006 1:46 pm Post subject: |
|
|
Code: | monitoraspect=16:10 |
works for me _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
infinity9 n00b
Joined: 07 Jul 2006 Posts: 44 Location: Atlanta, GA
|
Posted: Fri Aug 18, 2006 5:53 pm Post subject: |
|
|
monitoraspect=16:10 in ~/.mplayer/config worked great. thanks a lot. _________________ "You cheese-eating...sideways monkeys!" -Jeremy Clarkson |
|
Back to top |
|
|
|