Discussion about ZvideoControl
ZvideoControl is a combination of my 2 previous video pages (autoVXF and autoVFX)
rolled into one page and this has some minor improvements (now uses beat_bar and the rsi runs at 32ms so things are much smoother), and one massive improvement that it doesn't need the builder addon (therefore it's mac friendly)
This padpage is mostly focused on deck master [controls the video crossfader, the video transition, the master video fx] Although it does control [change] shaders on decks too.
Why "ZvideoControl" as a name, well 2 reasons, Z is the last [indicating master, but masterVideoControl or finalVideoControl sounded cheesy] the other reason is starting the page name with "Z" makes it super quick to select for keyboard users [can't forget my keyboard only roots]
*UPDATED to v1.2 2020/01/23*
pad 1 is auto video crossfade [fastest is full left to full right to full left in one beat] [padshift stops]
pad 2 is auto shader swap [shaders on decks] [fastest is change shaders every 1 beat] [padshift stops]
pad 3 is auto transition change [fastest is every beat] [padshift stops]
[The above 3 buttons if the current rate is the same as when the action was started a second press will also act as a stop]
pad 4 makes the transition pick at random [padshift 4 picks 'random' shaders when shaders swap.]
pad 5 shuffles the shaders on decks once [padshift 5 turns shaders on or off decks 1 & 2]
pad 6 copies shader b to deck a [padshift 6 pauses shader swaps on deck a]
pad 7 copies shader a to deck b [padshift 7 pauses shader swaps on deck b]
pad 8 opens up the second layer [double tap to get back to first layer] [padshift 8 kills video crossfader, shader swap and transition swap all together at once]
param 2 changes the rate of the auto buttons [pads 1,2,3]
layer 2 does master video fx
param 1 changes the repeat count [1-512 repeats, if you select 0 the count will go upto 1024]
param 2 changes the rate [1/8th - 32 beats] [exactly like layer 1]
Of course layer 2 uses pads 9-16 [I could have used a software shift but didn't, I'll include a remaping guide soon]
pad 9 does master video fx boom auto [padshift kills]
pad 10 does master video fx colorize [padshift kills]
pad 11 does master video fx negative [padshift kills]
pad 12 does master video fx spectral [padshift kills]
pad 13 does master video fx shake [padshift kills]
pad 14 does master video fx strobe [padshift kills]
pad 15 does master video fx vibrate [padshift kills] [x64 users when we get more video fx, I'll update]
pad 16 does snap, it will sync the fx called [after snap is on] to the down beat of the 32, [padshift kills all master video fx]
update v1.2.
Added padshift 6&7; pauses shader swap for decks A & B respectively.
Changed how pads 1,2,3 work; before button queried rate and then setup a rsi, now button starts a rsi that then queries rate. This allows changing rates for these buttons with just 1 variable [each button] [much nicer than the wall of script needed before]
video crossfader "set '$xBar' X"
shader swap "set '$sBar' X"
transition swap "set '$tBar' X"
values allowed 0,1,2,4,8,16,32 [0 = pause, stationary, no change]
Changed 'snap'; previous sync'd to the 1 of the 4, now sync's to 1 of 32.
Fix bug; previous build snap didn't sync when action was already running.
I'll give images later, but I'm really interested as to how this looks on machines that are better than mine [v interested in mac users]
ZvideoControl is a combination of my 2 previous video pages (autoVXF and autoVFX)
rolled into one page and this has some minor improvements (now uses beat_bar and the rsi runs at 32ms so things are much smoother), and one massive improvement that it doesn't need the builder addon (therefore it's mac friendly)
This padpage is mostly focused on deck master [controls the video crossfader, the video transition, the master video fx] Although it does control [change] shaders on decks too.
Why "ZvideoControl" as a name, well 2 reasons, Z is the last [indicating master, but masterVideoControl or finalVideoControl sounded cheesy] the other reason is starting the page name with "Z" makes it super quick to select for keyboard users [can't forget my keyboard only roots]
*UPDATED to v1.2 2020/01/23*
pad 1 is auto video crossfade [fastest is full left to full right to full left in one beat] [padshift stops]
pad 2 is auto shader swap [shaders on decks] [fastest is change shaders every 1 beat] [padshift stops]
pad 3 is auto transition change [fastest is every beat] [padshift stops]
[The above 3 buttons if the current rate is the same as when the action was started a second press will also act as a stop]
pad 4 makes the transition pick at random [padshift 4 picks 'random' shaders when shaders swap.]
pad 5 shuffles the shaders on decks once [padshift 5 turns shaders on or off decks 1 & 2]
pad 6 copies shader b to deck a [padshift 6 pauses shader swaps on deck a]
pad 7 copies shader a to deck b [padshift 7 pauses shader swaps on deck b]
pad 8 opens up the second layer [double tap to get back to first layer] [padshift 8 kills video crossfader, shader swap and transition swap all together at once]
param 2 changes the rate of the auto buttons [pads 1,2,3]
layer 2 does master video fx
param 1 changes the repeat count [1-512 repeats, if you select 0 the count will go upto 1024]
param 2 changes the rate [1/8th - 32 beats] [exactly like layer 1]
Of course layer 2 uses pads 9-16 [I could have used a software shift but didn't, I'll include a remaping guide soon]
pad 9 does master video fx boom auto [padshift kills]
pad 10 does master video fx colorize [padshift kills]
pad 11 does master video fx negative [padshift kills]
pad 12 does master video fx spectral [padshift kills]
pad 13 does master video fx shake [padshift kills]
pad 14 does master video fx strobe [padshift kills]
pad 15 does master video fx vibrate [padshift kills] [x64 users when we get more video fx, I'll update]
pad 16 does snap, it will sync the fx called [after snap is on] to the down beat of the 32, [padshift kills all master video fx]
update v1.2.
Added padshift 6&7; pauses shader swap for decks A & B respectively.
Changed how pads 1,2,3 work; before button queried rate and then setup a rsi, now button starts a rsi that then queries rate. This allows changing rates for these buttons with just 1 variable [each button] [much nicer than the wall of script needed before]
video crossfader "set '$xBar' X"
shader swap "set '$sBar' X"
transition swap "set '$tBar' X"
values allowed 0,1,2,4,8,16,32 [0 = pause, stationary, no change]
Changed 'snap'; previous sync'd to the 1 of the 4, now sync's to 1 of 32.
Fix bug; previous build snap didn't sync when action was already running.
I'll give images later, but I'm really interested as to how this looks on machines that are better than mine [v interested in mac users]
Posted Mon 17 Jun 19 @ 4:42 pm
I gotta say that the shaders switching around like they are is an awesome touch. Makes the visuals go nuts - love it so far.
Posted Mon 17 Jun 19 @ 7:23 pm
Thank you, using master deck beat_bar for video crossfade and shader change on both decks really steps it up a gear. Following master deck means even with just one deck playing both decks change shaders.
Back at my machine now so I'll update OP.
Back at my machine now so I'll update OP.
Posted Mon 17 Jun 19 @ 8:13 pm
Tryed it while testing simultaneously
- a big 32 button pad page on a touch screen
- with multiple video windows skin
- a video skin with video insert
result is really impressive !!
I tested while 5 video windows were open but only 2 displays but badly this test machine is probably far "not better than yours" and finally the graphic driver crash after 1st screen capture. The image is not really representative but the main preview is not the best view but cool
- a big 32 button pad page on a touch screen
- with multiple video windows skin
- a video skin with video insert
result is really impressive !!
I tested while 5 video windows were open but only 2 displays but badly this test machine is probably far "not better than yours" and finally the graphic driver crash after 1st screen capture. The image is not really representative but the main preview is not the best view but cool
Posted Mon 17 Jun 19 @ 11:53 pm
Cool idea with the 32pad page, Makes sense for a touch screen. I'm in the process of doing similar with my lauchpad, I'm also going to make a normal deck version of the video fx part [pads 9-16] so I have one launchpad page devoted to video for master and decks.
5 outputs + screen capture + video cossfader @ 1 & transition @ 1 is really pushing everything but that's how I would test it too XD
Are you using x64? It should run cooler.
5 outputs + screen capture + video cossfader @ 1 & transition @ 1 is really pushing everything but that's how I would test it too XD
Are you using x64? It should run cooler.
Posted Tue 18 Jun 19 @ 1:06 am
nop 64bit version, even i get shaders and transitions and CDG working with 64bit, there is no video and some video effects don't work at all with this PC and VDJ64 :/
Posted Tue 18 Jun 19 @ 1:55 am
I have not been able to visit the virtualdj forum for a while since I had to start my personal website from scratch due to technical problems.
On the way back I have seen some news such as the new Blur effect video and your fusion of pads.
In my portable computer I find it impossible to make it work 100%, the equipment is rather poor in resources, it is an ASUS TranformerBook T100 and it is not more than a tablet. The default shader "Voxel Corredior" seems to be taken from minecraft.
Therefore, VirtualDJ freezes me and even forces me to restart it. As soon as I can I will try it on the desktop computer, where I hope it improves a bit.
On the way back I have seen some news such as the new Blur effect video and your fusion of pads.
In my portable computer I find it impossible to make it work 100%, the equipment is rather poor in resources, it is an ASUS TranformerBook T100 and it is not more than a tablet. The default shader "Voxel Corredior" seems to be taken from minecraft.
Therefore, VirtualDJ freezes me and even forces me to restart it. As soon as I can I will try it on the desktop computer, where I hope it improves a bit.
Posted Fri 26 Jul 19 @ 7:47 am
Maybe I would recommend changing the pad8 to
doubleclick 350ms ? setting 'sixteenPadsMode' 'Auto' ? setting 'sixteenPadsMode' 'On' & pad_bank2 : pad_bank2 : pad_bank2
This would make it easier for less experienced users to enjoy the 16-button pad that by default is in AUTO
doubleclick 350ms ? setting 'sixteenPadsMode' 'Auto' ? setting 'sixteenPadsMode' 'On' & pad_bank2 : pad_bank2 : pad_bank2
This would make it easier for less experienced users to enjoy the 16-button pad that by default is in AUTO
Posted Fri 26 Jul 19 @ 9:33 am
In my tests I have not been able to make it work with shaders on both platforms until I have used the drop of milk on deck 2. The effect is incredible!
I have also realized that we can now give transparency to the coverage shader and by activating the audio file shader, we get a new combination of 2 simultaneous shaders on the master deck.
Even so, there is something that blocks VirtualDJ if I activate pad2
I have also realized that we can now give transparency to the coverage shader and by activating the audio file shader, we get a new combination of 2 simultaneous shaders on the master deck.
Even so, there is something that blocks VirtualDJ if I activate pad2
Posted Fri 26 Jul 19 @ 2:22 pm
MrJacky wrote :
In my tests I have not been able to make it work with shaders on both platforms until I have used the drop of milk on deck 2.....there is something that blocks VirtualDJ if I activate pad1 + 2 + 3
You almost got it:
Some effects such as milkdrop Milkdrop8 need a very long time to init
The same apply to some shaders i.e. "Voxel Corredior" is medium time
applying ZvideoControl when they don't have been initialized once before take a lot of cpu and GPU time
as ZvideoControl goes on activating other transitions effects and shaders it may - and it does - overload at least one of CPU or GPU
To minimize this bad effect better is to pre-test shaders - they will compile - once before and pre-init heavy load effects and transitions by activating them once before to use ZvideoControl
Reduce rate to 2 beats or 4 beats during tests helps too
MrJacky wrote :
I have also realized that we can now give transparency to the coverage shader and by activating the audio file shader, we get a new combination of 2 simultaneous shaders on the master deck.
There is almost no limit:
You can alter size and position of shaders as well and use extra effect busses for extra shaders and with audiofile shader... you can get 3 shaders per deck and 2 for master 2 for sampler and 2 for mic by combining with a multi decks effect you can get too many, potentially more than 500 active & visible shaders
Better take care about not to do things like this ... unless you know what you are doing
Posted Fri 26 Jul 19 @ 3:26 pm
Actually, I find it more attractive to work with only 2 shaders, one in each mallet.
Most of the shaders that I have on the desktop computer are reviewed, move well and with high image quality. But it is true that some take a while to load.รง
EDIT:
The truth is that I also find it very attractive to use transactions by activating the shader only on deck 1
I have the crossfader video in 4 and the transition change in 8 times.
In a good option to avoid overloading with so much color that some shaders provide
Most of the shaders that I have on the desktop computer are reviewed, move well and with high image quality. But it is true that some take a while to load.รง
EDIT:
The truth is that I also find it very attractive to use transactions by activating the shader only on deck 1
I have the crossfader video in 4 and the transition change in 8 times.
In a good option to avoid overloading with so much color that some shaders provide
Posted Fri 26 Jul 19 @ 3:37 pm
you were right bigbaromilly
I checked my list of shaders again and some stopped working, I also changed the setting of the "Shader Swap" to 4 that stopped hanging
The Pad is fabulous, but I don't really consider it automatic, at least the video effects section. It needs human intervention.
I have been looking to make a new automatism that works for VideoFX and that later I can also adapt it to dmx lights
At the moment it only executes 4 video effects and the result is promising.
You can watch the demonstration video here: https://youtu.be/YFrwS7NQD68
The effects are activated / deactivated according to the strength of the "get_beat" and the sensitivity is graded with a minimum and maximum of the beat's strength so that the effects react differently.
I checked my list of shaders again and some stopped working, I also changed the setting of the "Shader Swap" to 4 that stopped hanging
The Pad is fabulous, but I don't really consider it automatic, at least the video effects section. It needs human intervention.
I have been looking to make a new automatism that works for VideoFX and that later I can also adapt it to dmx lights
At the moment it only executes 4 video effects and the result is promising.
You can watch the demonstration video here: https://youtu.be/YFrwS7NQD68
The effects are activated / deactivated according to the strength of the "get_beat" and the sensitivity is graded with a minimum and maximum of the beat's strength so that the effects react differently.
Posted Sun 28 Jul 19 @ 4:46 pm
Nice work MrJacky, looking good, I think there's a lot of scope for this kind of programmed automation.
Thanks for the compliment on the padpage, it took a lot of work but I think it was worth it. And I don't doubt the other dj softwares are looking at this, but we got there first.
Thanks for the compliment on the padpage, it took a lot of work but I think it was worth it. And I don't doubt the other dj softwares are looking at this, but we got there first.
Posted Sun 28 Jul 19 @ 5:08 pm
To be able to acheive these - both Padpage and the demonstration - takes a lot of time and work
It can really quickly stress all three GPU and CPU and DJ
It's a good thing to talk about shaders not working, often they stay in the list
With this kind of effects, it may result in hangs of software and even hardware
- ie in my first tests... I stressed GPU so much VDJ hung Display driver hung and system took some time to recover
- in next times i took care of this but badly some bad shaders made the system instable enough to reboot
It can really quickly stress all three GPU and CPU and DJ
It's a good thing to talk about shaders not working, often they stay in the list
With this kind of effects, it may result in hangs of software and even hardware
- ie in my first tests... I stressed GPU so much VDJ hung Display driver hung and system took some time to recover
- in next times i took care of this but badly some bad shaders made the system instable enough to reboot
Posted Sun 28 Jul 19 @ 5:58 pm
locodog wrote :
I'm really interested as to how this looks on machines that are better than mine [v interested in mac users]
Just tonight discovered your work Locodog, I'm really amused!! Even 1 static setting through the shaders I've collected is a cool trip. :-)
btw.. my video was rendered on an RTX2070qmax GPU machine on W10.. and it got warm :D
I was thinking about adding a midi controller but the first three buttons can only be turned off by the right mousekey. Same for some of the layer2 fx.
Been looking at the script programming to may change something myself.. no chance :D
But is there a possibility that the first 3 buttons and fx can have a sort of toggle function? So they're easily turned off when using a midi controller :-)
Posted Mon 06 Jan 20 @ 9:53 am