快速登录:  

Forum: Addons

话题: Moving logos
NicotuxHome userMember since 2014
 

发表时间 Wed 22 Sep 21 @ 8:29 pm
NicotuxHome userMember since 2014
In a way to use it with another logo, you need to edit and add your personal logo image
(was not one of my fixed logo as plugin image, but animated Gif. Seems supported only for transitions)

there are 3 different moving skins
They need to activate (demo) / setup using Video menu in skin video -> video options
can control from custom script when not "activated"

Flying logos : 2 logos you can position dynamically on screen
examples in video menu (fixed or moving)

For scripting : use variables
$logo_H $logo_V $logo_H1$logo_V1 : horizontal and vertical positions for eboth logos respectively
$logo_Beats : (bool) make logos (or text when still) flash with beats
$logo_Hour : (bool) display hour over logo if no text
$logo_Txt : text to display over logo


Rotating logo : custom logo rotating
standard positions are taken from settings or menu video options
as well as rotation direction (CW CCW)
For scripting : variables
$logodir : (bool) rotation direction
positions are standard setting


VScroll : make big (or not so big) multi-line comments cross the screen vertically
They need to activated using Video menu in skin video -> video options

it will only make the comment field from new playing track appear from bottom and slowly cross the screen

For scripting : variables
$comment_H : ^^ strangely (why not H for vertical ?) it controls vertical position of comment
need skin to be selected but not activated in a way to be useable
 

发表时间 Wed 22 Sep 21 @ 10:39 pm
NicotuxHome userMember since 2014
Example code : 2 logos rotating all around the screen (1920×1080) in opposite direction
setting videoSkin "Moving_logoV2:Flying logos" & setting useVideoSkin on &
repeat_stop px & set $logo_H 0 & set $logo_V 1080 &
repeat_start px 10ms -1 & deck active set $logo_H1 $logo_H & set $logo_V1 $logo_V &
param_multiply get_rotation 4 & param_cast &
param_greater 3 ? param_add -3 & param_multiply -1920 & param_add 1920 & param_cast & set $logo_H & set $logo_V `param_multiply 'get_var $logo_H1' 0,0001` :
param_greater 2 ? param_add -1 & param_multiply -1080 & param_add 2160 & param_cast & set $logo_V & set $logo_H `param_multiply 'get_var $logo_V' 0,0001 & param_add 1920` :
param_greater 1 ? param_add -1 & param_multiply 1920 & param_cast & set $logo_H & set $logo_V `param_multiply 'get_var $logo_H' 0,0001 & param_add 1080` :
param_multiply 1080 & param_cast & set $logo_V & set $logo_H `param_multiply 'get_var $logo_V' 0,0001`

Note the strange code parts:

set $logo_V `param_multiply 'get_var $logo_H' 0,0001 & param_add 1080`
set $logo_H `param_multiply 'get_var $logo_V' 0,0001`
and alike

These are workarounds needed to force 2D to refresh in realtime because they only refresh when V and H were both modified.
They globally modify slider values in a way not to modify position on screen (less one pixel)
 

发表时间 Thu 23 Sep 21 @ 8:48 am
hi nicotux, please give detailed examples of how to use your logos
 

发表时间 Thu 23 Sep 21 @ 9:20 am
NicotuxHome userMember since 2014
1) Edit skin Moving_lodoV2
2) Put your logo by replacing MyLogo.png as a 600x480 image (hardcoded size)
3) Select the videoSkin you want under setting - options video -> videoSkin -> "Moving_lodoV2 (edit)"
or from settings -> interface -> video Skin -> 'Moving_LogoV2 (edit)'
or by script "setting videoSkin Moving_logoV2/:*" where * can currently be Flying logos or Rotating logo or VScroll
Using the edited one is important for your logo to be selected
4) right click main video preview and navigate 'Video Skin Options' menu
5) select "activate" to make it live (for a demo in 'Flying logos' )
- "Rotating logo must start to rotate your own logo at position specified in settings
- "Flying logos" may display your logo twice somewhere on screen
playing a track makes them move
- VScroll is waiting for a track to start playing and will scroll Comment field from bottom to top

for scripters:
You can define your own logo movements by setting variables
both "$logo_H" and "$logo_V" and both "$logo_H1" and "$logo_V1" have to be set simultaneously in a way to see the position on screen (current limitation in 2D sliders)

displacement are reversed horizontally H and H1

You can script like in previous post and create a pad with sets of movements
 

发表时间 Thu 23 Sep 21 @ 2:58 pm
NicotuxHome userMember since 2014
JUST NOTICE in example code please read 'setting videoSkin "Moving_logoV2/:Flying logos"'
(the slash bar is NEEDED in a way to use custom logo... unless it's me ^^)

I use a rs loop in script for live movements
fixed positions does not need a loop
just setting variables is enough
 

发表时间 Thu 23 Sep 21 @ 3:18 pm
NicotuxHome userMember since 2014
Pad with some examples using Flying logos videoskin
<?xml version="1.0" encoding="UTF-8"?>
<page name="Moving_logos">
<pad1 name="rxVu">setting videoSkin &quot;Moving_logoV2/:Flying logos&quot; &amp; setting useVideoSkin on &amp;
repeat_stop px &amp; set $logo_H 0 &amp; set $logo_V 1920 &amp;
repeat_start px 10ms -1 &amp; set $logo_H `deck active param_multiply get_level_left 1920` &amp; set $logo_V `deck active param_multiply get_rotation 1080` &amp; set $logo_H1 `deck active param_multiply get_level_right 1920` &amp; set $logo_V1 `deck active param_multiply get_rotation -1080 &amp; param_add 1080`
</pad1>
<pad2 name="Rotation">setting videoSkin &quot;Moving_logoV2/:Flying logos&quot; &amp; setting useVpdeoSkin on &amp;
repeat_stop px &amp; set $logo_H 0 &amp; set $logo_V 1080 &amp;
repeat_start px 10ms -1 &amp; deck active set $logo_H1 `param_multiply -1.0 &apos;get_var $logo_H&apos; &amp; param_add 1920` &amp; set $logo_V1 $logo_V &amp;
param_multiply get_rotation 4 &amp; param_cast &amp;
param_greater 3 ? param_add -3 &amp; param_multiply -1920 &amp; param_add 1920 &amp; param_cast &amp; set $logo_H &amp; set $logo_V `param_multiply &apos;get_var $logo_H1&apos; 0,0001` :
param_greater 2 ? param_add -1 &amp; param_multiply -1080 &amp; param_add 2160 &amp; param_cast &amp; set $logo_V &amp; set $logo_H `param_multiply &apos;get_var $logo_V&apos; 0,0001 &amp; param_add 1920` :
param_greater 1 ? param_add -1 &amp; param_multiply 1920 &amp; param_cast &amp; set $logo_H &amp; set $logo_V `param_multiply &apos;get_var $logo_H&apos; 0,0001 &amp; param_add 1080` :
param_multiply 1080 &amp; param_cast &amp; set $logo_V &amp; set $logo_H `param_multiply &apos;get_var $logo_V&apos; 0,0001`
</pad2>
<pad3 name="X_Rot">setting videoSkin &quot;Moving_logoV2:Flying logos&quot; &amp; setting useVpdeoSkin on &amp;
repeat_stop px &amp; set $logo_H 0 &amp; set $logo_V 1080 &amp;
repeat_start px 10ms -1 &amp; deck active set $logo_H1 $logo_H &amp; set $logo_V1 $logo_V &amp;
param_multiply get_rotation 4 &amp; param_cast &amp;
param_greater 3 ? param_add -3 &amp; param_multiply -1920 &amp; param_add 1920 &amp; param_cast &amp; set $logo_H &amp; set $logo_V `param_multiply &apos;get_var $logo_H&apos; 0,0001` :
param_greater 2 ? param_add -1 &amp; param_multiply -1080 &amp; param_add 2160 &amp; param_cast &amp; set $logo_V &amp; set $logo_H `param_multiply &apos;get_var $logo_V&apos; 0,0001 &amp; param_add 1920` :
param_greater 1 ? param_add -1 &amp; param_multiply 1920 &amp; param_cast &amp; set $logo_H &amp; set $logo_V `param_multiply &apos;get_var $logo_H&apos; 0,0001 &amp; param_add 1080` :
param_multiply 1080 &amp; param_cast &amp; set $logo_V &amp; set $logo_H `param_multiply &apos;get_var $logo_V&apos; 0,0001`
</pad3>
<pad4 name="XPos">setting videoSkin &quot;Moving_logoV2:Flying logos&quot; &amp; setting useVpdeoSkin on &amp;
repeat_stop px &amp; set $logo_H 0 &amp; set $logo_V 1080 &amp;
repeat_start px 10ms -1 &amp; deck active set $logo_H1 $logo_H &amp; set $logo_V1 $logo_V &amp;
param_multiply get_position 4 &amp; param_cast &amp;
param_greater 3 ? param_add -3 &amp; param_multiply -1920 &amp; param_add 1920 &amp; param_cast &amp; set $logo_H &amp; set $logo_V `param_multiply &apos;get_var $logo_H&apos; 0,0001` :
param_greater 2 ? param_add -1 &amp; param_multiply -1080 &amp; param_add 2160 &amp; param_cast &amp; set $logo_V &amp; set $logo_H `param_multiply &apos;get_var $logo_V&apos; 0,0001 &amp; param_add 1920` :
param_greater 1 ? param_add -1 &amp; param_multiply 1920 &amp; param_cast &amp; set $logo_H &amp; set $logo_V `param_multiply &apos;get_var $logo_H&apos; 0,0001 &amp; param_add 1080` :
param_multiply 1080 &amp; param_cast &amp; set $logo_V &amp; set $logo_H `param_multiply &apos;get_var $logo_V&apos; 0,0001`
</pad4>
<pad5 name="Stop Center">repeat_stop px &amp; set $logo_H 960 &amp; set $logo_V 500 &amp; set $logo_H1 960 &amp; set $logo_V1 500</pad5>
<pad6 name="RevRot">setting videoSkin &quot;Moving_logoV2/:Flying logos&quot; &amp; setting useVpdeoSkin on &amp;
repeat_stop px &amp; set $logo_H1 0 &amp; set $logo_V1 1080 &amp;
repeat_start px 10ms -1 &amp; deck active set $logo_H `param_multiply -1.0 &apos;get_var $logo_H1&apos; &amp; param_add 1920` &amp; set $logo_V $logo_V1 &amp;
param_multiply get_rotation 4 &amp; param_cast &amp;
param_greater 3 ? param_add -3 &amp; param_multiply -1920 &amp; param_add 1920 &amp; param_cast &amp; set $logo_H1 &amp; set $logo_V1 `param_multiply &apos;get_var $logo_H&apos; 0,0001` :
param_greater 2 ? param_add -1 &amp; param_multiply -1080 &amp; param_add 2160 &amp; param_cast &amp; set $logo_V1 &amp; set $logo_H1 `param_multiply &apos;get_var $logo_V1&apos; 0,0001 &amp; param_add 1920` :
param_greater 1 ? param_add -1 &amp; param_multiply 1920 &amp; param_cast &amp; set $logo_H1 &amp; set $logo_V1 `param_multiply &apos;get_var $logo_H1&apos; 0,0001 &amp; param_add 1080` :
param_multiply 1080 &amp; param_cast &amp; set $logo_V1 &amp; set $logo_H1 `param_multiply &apos;get_var $logo_V1&apos; 0,0001`
</pad6>
<pad7 name="stop all">repeat_stop px &amp; set $logo_V `constant -1`</pad7>
<shift_pad7>set $logo_V `constant -1`</shift_pad7>
<pad8 name="Stop `setting videoLogoPosition`">repeat_stop px &amp;
setting videoLogoPosition Left-Top ? set $logo_H 0 &amp; set $logo_V 1080 &amp; set $logo_H1 1920 &amp; set $logo_V1 1080 :
setting videoLogoPosition Right-Top ? set $logo_H 1920 &amp; set $logo_V 1080 &amp; set $logo_H1 0 &amp; set $logo_V1 1080 :
setting videoLogoPosition Left-Bottom ? set $logo_H 0 &amp; set $logo_V 0 &amp; set $logo_H1 1920 &amp; set $logo_V1 0 :
setting videoLogoPosition &apos;Right-Bottom&apos; ? set $logo_H 0 &amp; set $logo_V 0 &amp; set $logo_H1 0 &amp; set $logo_V1 0 :</pad8>
</page>
Moving_logos.xml

fix can improve stopping activation code (will be added in future version if any/needed)


 

发表时间 Thu 23 Sep 21 @ 11:10 pm
HELP, is this for 64 bit? because after installation I cant find it anywhere, like where do I edit this? I look in skins and its not there, neigher in video options
 

发表时间 Wed 15 Dec 21 @ 8:06 pm
drjustPRO InfinityMember since 2006
Id like to try your solution, but I have no Idea how to make it work.... can you provide a step by step outline on how to use it?
 

发表时间 Tue 11 Jan 22 @ 7:43 pm
I second that request...
 

发表时间 Sun 21 May 23 @ 1:44 am
can someone detail how and where you replace the mylogo with your own. i saw a post above mentioning you need it to ne a certain size and name but doesnt say how to replace the original
 

发表时间 Mon 25 Sep 23 @ 7:14 am