Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL stretches out aspect ratio in mplayer [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
infinity9
n00b
n00b


Joined: 07 Jul 2006
Posts: 44
Location: Atlanta, GA

PostPosted: Fri Aug 18, 2006 2:35 am    Post subject: XGL stretches out aspect ratio in mplayer [SOLVED] Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Aug 18, 2006 8:02 am    Post subject: Reply with quote

Have you tried the -monitoraspect and -monitorpixelaspect options?
Back to top
View user's profile Send private message
infinity9
n00b
n00b


Joined: 07 Jul 2006
Posts: 44
Location: Atlanta, GA

PostPosted: Fri Aug 18, 2006 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Aug 18, 2006 1:00 pm    Post subject: Reply with quote

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
Code:
monitoraspect=1.6
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Fri Aug 18, 2006 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
infinity9
n00b
n00b


Joined: 07 Jul 2006
Posts: 44
Location: Atlanta, GA

PostPosted: Fri Aug 18, 2006 5:53 pm    Post subject: Reply with quote

monitoraspect=16:10 in ~/.mplayer/config worked great. thanks a lot.
_________________
"You cheese-eating...sideways monkeys!" -Jeremy Clarkson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum