You are not logged in.

#1 2007-08-11 07:33:20

joco2
Member
Registered: 2007-07-23
Posts: 6

Stop auto resize on mplayer? [solved]

Hi does anyone know how to stop mplayer from auto resizing when you load a video??

I have searched everywhere and i am suprised it's not an option in preferences

Cheers

Last edited by joco2 (2007-08-12 12:07:25)

Offline

#2 2007-08-11 08:01:27

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Stop auto resize on mplayer? [solved]

I missing the point, do you want seeing movie distorted?

Offline

#3 2007-08-11 08:21:06

joco2
Member
Registered: 2007-07-23
Posts: 6

Re: Stop auto resize on mplayer? [solved]

Not particularly, but i would like to have the window stay in it's normal default size when i open a video rather than being too big or too small.

any ideas on how i can force it to open videos at a particular size?

Cheers James

Offline

#4 2007-08-11 11:09:52

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: Stop auto resize on mplayer? [solved]

Look into devilspie, you could write a rule for it to resize mplayer to specific size.

Offline

#5 2007-08-11 15:26:11

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Stop auto resize on mplayer? [solved]

I am pretty sure mplayer resizes itself in order to have one monitor pixel per one movie pixel in one dimension and the other dimension is calculated differently if the movie uses non square pixels (like DVDs).

About your problem, try reading -vf scale in mplayer man.

Offline

#6 2007-08-12 11:39:57

reefer
Member
From: Norway
Registered: 2004-11-13
Posts: 14

Re: Stop auto resize on mplayer? [solved]

You could just add

xy=600

to your ~/.mplayer/config file
mplayer will then set the width of the video to 600 pixels, and scale the height according
to the movies aspect ratio.

Offline

#7 2007-08-12 12:06:43

joco2
Member
Registered: 2007-07-23
Posts: 6

Re: Stop auto resize on mplayer? [solved]

Cool,

adding xy=600 to the config file fixes my problem


Thanks

Offline

Board footer

Powered by FluxBB