New features added in the dev branch

About usage, announcement and development of skins for VLC
erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

New features added in the dev branch

Postby erwan10 » 28 Nov 2010 16:03

Hello,

Here is a review of what has just been added in the dev branch regarding skins2 :

- fullscreen controller:

- it can now also be activated by mouse move
- transparency and fading out are supported when the Window Manager supports it.
- qt-opacity and qt-fs-opacity parameters are now recognized by skins2

- Relative placement

Up to now, all x, y, width or height could only be given in pixels, and it was impossible to take the size of the screen into account for placement.

The skin dtd has been enhanced in the following way :

- x, y, width and height will now be given either in pixels (default) or in percentage of their container. For a window/layout, the container will be the entire screen (whatever its size). For other widgets, it will be their upper container (layout or panel).

- In addition, five new tags are added to 'geographically' place a window or a widget within its container :
position : takes the value of "Center", "North", "NorthWest", ... to refer to a specific area of a container (divided into 9 subareas)
x-margin/y-margin: allow for an horizontal/vertical margin with respect to the borders of the container
x-offset/y-offset: additional parameters to offset the window/widget from the position computed from the (position, x-margin, y-margin) parameters.

Both x-margin, y-margin, x-offset, y-offset are also given either in pixels or % of their upper container.

- The image control can now accept an width and a height parameters to ease placement.

Default skin

I updated the default skin to showcase how these new features can be used :

- the main window is now centered in the screen (whatever the screen resolution)
- the playlist window is also centered with a 5% offset to avoid covering the main window
- all ancillary windows are all centered
- the fullscreen controller is centered at the bottom of the screen with vertical margin worth 3% of the height of the screen


These new features have been tested extensively on Linux (both with and without composite window managers), a bit on WinNT (though there is currently a bug that prevents fullscreen to be fully usable). Volunteers are welcome to test it on Vista and Win7.

For Vista/Win7, the refresh artefacts when moving the fullscreen controller should also be fixed (please, test and report ...)

Erwan10

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: New features added in the dev branch

Postby 3breadt » 28 Nov 2010 23:03

Great for VLC, not so great for me, much stuff to implement in the skin editor and no time :(
-- 3breadt (aka altglass)

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: New features added in the dev branch

Postby erwan10 » 29 Nov 2010 22:13

Well, vlc1.2 is not yet out .... that gives time, I guess !

And the fullscreen controller transparency/fading-out is actually not so promising at least on WinXP :
- fully functional with --vout wingdi (but who really uses it ?)
- works weirdly with --vout directx
- works wildly with --vout opengl

So, if tests on Vista/Win7 are in the same vein, I'm afraid that only Linux will benefit from it !

Manisha
New Cone
New Cone
Posts: 1
Joined: 29 Oct 2010 21:13

Re: New features added in the dev branch

Postby Manisha » 03 Dec 2010 21:59

Somehow i cannot get the x,y co-ordinate working with VLC.

I am bringing up two VLC instance :
"vlc.exe -I skins2 --width=60 --height=60 --video-x=10 --video-y=10 video.wmv"

"vlc.exe -I skins2 --width=60 --height=600 --video-x=10 --video-y=60 video.wmv"


Above command doesn't place the VLC instance on top of each other. The height and width arguments works fine though.

Please let me know how can i bring up two instance of VLC such that they are not place on top of each other.

Thanks,
Manisha

Spyme
Blank Cone
Blank Cone
Posts: 60
Joined: 13 Jan 2009 16:59
VLC version: 1.1.7 Win32 / 1.2.0
Operating System: Win7 64

Re: New features added in the dev branch

Postby Spyme » 24 Jan 2011 17:28

Will try to take care of the improvements on Advantage.VLC and test it under Win7.
Try the Advantage.VLC:Sky Skin.

Spyme
Blank Cone
Blank Cone
Posts: 60
Joined: 13 Jan 2009 16:59
VLC version: 1.1.7 Win32 / 1.2.0
Operating System: Win7 64

Re: New features added in the dev branch

Postby Spyme » 27 Jan 2011 01:00

Uhm, sorry then. Hate the nightly repository -.-
Last edited by Spyme on 27 Jan 2011 20:39, edited 1 time in total.
Try the Advantage.VLC:Sky Skin.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: New features added in the dev branch

Postby erwan10 » 27 Jan 2011 10:47

As dev branch, I meant the next major not-yet-released version (aka vlc1.2.0). You can already test it on windows (latest build as of today is in http://nightlies.videolan.org/build/win ... 0127-0003/)

Spyme
Blank Cone
Blank Cone
Posts: 60
Joined: 13 Jan 2009 16:59
VLC version: 1.1.7 Win32 / 1.2.0
Operating System: Win7 64

Re: New features added in the dev branch

Postby Spyme » 28 Jan 2011 00:07

Updated mine to the new features. Fullscreen controller works very well, no more artifacts on moving. Transparency and movement are smooth too.
Tested on Win7 x64 with 1.2.

Well done, erwan.

Btw: vlc.faster() and vlc.slower() broken? Can´t bring em to work, regardless of the version.
Last edited by Spyme on 28 Jan 2011 00:19, edited 1 time in total.
Try the Advantage.VLC:Sky Skin.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: New features added in the dev branch

Postby Jean-Baptiste Kempf » 28 Jan 2011 00:11

Yep!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: New features added in the dev branch

Postby erwan10 » 28 Jan 2011 17:24

Updated mine to the new features. Fullscreen controller works very well, no more artifacts on moving. Transparency and movement are smooth too.
Tested on Win7 x64 with 1.2.
nice to hear it works
Btw: vlc.faster() and vlc.slower() broken? Can´t bring em to work, regardless of the version.
Thanks for reporting. It will be fixed by tomorrow.

Spyme
Blank Cone
Blank Cone
Posts: 60
Joined: 13 Jan 2009 16:59
VLC version: 1.1.7 Win32 / 1.2.0
Operating System: Win7 64

Re: New features added in the dev branch

Postby Spyme » 28 Jan 2011 21:22

Forgot something yesterday: All new Att-values, must have her first character uppercased or they don´t work. Work as intended?

Example: <window id="foo" position="north"></window> isn´t recognized but <window id="foo" position="North"></window> is.
Try the Advantage.VLC:Sky Skin.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: New features added in the dev branch

Postby erwan10 » 29 Jan 2011 16:38

You're right. That needs a correction too, at least for the sake of consistency. Probably having both work is more desirable.

Spyme
Blank Cone
Blank Cone
Posts: 60
Joined: 13 Jan 2009 16:59
VLC version: 1.1.7 Win32 / 1.2.0
Operating System: Win7 64

Re: New features added in the dev branch

Postby Spyme » 27 Feb 2011 17:52

Is there any chance that you will take a look on how skins2 handles large png´s? Atm i decided to remove the timeline based filling of bars because it forces heavy cpu load. Depending of the bar size and desired look, there can be huge files like 500px x 8500px, which forces the cpu load to around 50%. Maybe there is a chance to add another more simple method like start img, fill pixel, end img.
Try the Advantage.VLC:Sky Skin.

kylkorver
New Cone
New Cone
Posts: 2
Joined: 24 Apr 2011 14:07
VLC version: 1.1.9
Operating System: windows 7
Location: davao city

Re: New features added in the dev branch

Postby kylkorver » 24 Apr 2011 14:21

cool love the new feature...

edcoppen
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2011 13:48

Re: New features added in the dev branch

Postby edcoppen » 22 Feb 2012 14:56

Any idea when the fullscreen controller auto-fade will be incorporated into the Skins editor?

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: New features added in the dev branch

Postby 3breadt » 23 Feb 2012 17:19

I've stopped work on the skin designer, I don't have the time to maintain it anymore. And so far nobody else was interested in helping the development.
-- 3breadt (aka altglass)

edcoppen
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2011 13:48

Re: New features added in the dev branch

Postby edcoppen » 26 Feb 2012 22:08

That's a shame but I understand. Thank you for all you have done!

AndyM48
New Cone
New Cone
Posts: 1
Joined: 21 Jul 2023 08:36

Re: New features added in the dev branch

Postby AndyM48 » 21 Jul 2023 08:59

Can someone tell me where/how to get hold of the development version?

Lotesdelere
Cone Master
Cone Master
Posts: 9961
Joined: 08 Sep 2006 04:39
Location: Europe

Re: New features added in the dev branch

Postby Lotesdelere » 21 Jul 2023 09:43

Can someone tell me where/how to get hold of the development version?

https://nightlies.videolan.org


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 4 guests