Page 1 of 1

Controlling X,Y H,W through interface

Posted: 26 Feb 2007 18:14
by brockb
I've done some searching through the forums here but haven't seen anybody address this yet so I thought I would ask real quick before trying to tackle it (no need in re-inventing the wheel if it has already been done).

We have the need to have pixel precision positioning and sizing of the video window and it is variable to which machine VLC is running on (but should not be variable to the content being played). To allow a user to control that height/width and x/y positioning... is it possible to have form elements or controls in the interface that allows for updating and changing the height and positioning of the window? I'm thinking four little boxes that house a value for each H,W,X,Y and allowing user's to type in a value that updates the current window and eventually I'll look into storing a value as a default and allowing the user to update and save their own dimensions as a default.

Has anybody done this or have any ideas on how to get started with something like this?

Thanks,

-BB

Posted: 26 Feb 2007 18:36
by CloudStalker
Yes you can adjust these values. Go to: Preferences > Video (check the “Advanced options box) and scroll down to the “Windows properties” menu. You should now be able to adjust the height, width, X and Y coordinate.

An example of how you can center the video on your desktop can be found here: viewtopic.php?t=30998&highlight=

Posted: 26 Feb 2007 20:16
by brockb
Thanks for the help. Almost too easy. :oops:

-BB

Posted: 12 Jun 2007 12:51
by loic69
and what about changing them dynamicly when playing ?
RC interface can do this....