Entra:     


Forum: VirtualDJ Technical Support

Topic: Script help for videos

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

I would like to have a couple off buttons to use as On and Off for videos.
When I hit the button once the video for ex. desk1 goes black and the second hit, the video on desk1 shows again.
Can this be done ?
 

Inviato Fri 22 Mar 19 @ 5:17 pm
Don't think you can disable video per deck.

You can create a custom button to switch the video output on and off though just by using the command video
 

You could set up Slideshow or another video plugin on each deck and use it with a black picture for example.
Then activate it whenever you want to hide the video on that deck.
 

deck 1 leftvideo ? deck 3 leftvideo : deck 3 leftvideo ? deck 1 leftvideo : deck 3 leftvideo

Won't this do it?
 

Genius !

I will try this to get the function I want, for some cut mixing both video and audio..
The only problem is if I have video loaded on deck 3 and 4.. but I dont always mix videos with 4 channels :)

deck 1 eq_kill_high & eq_kill_low & eq_kill_mid & deck 1 leftvideo ? deck 3 leftvideo : deck 3 leftvideo ? deck 1 leftvideo : deck 3 leftvideo
 

there is 'video_level' for that

video_level 0% ? video_level 100% : video_level 0%
 

Nicotux wrote :
there is 'video_level' for that

video_level 0% ? video_level 100% : video_level 0%


Didnt do it right ?
 

Supplemental but
deck 1 eq_kill_high & eq_kill_low & eq_kill_mid
could be
deck 1 mute
 

Thank you for the help.
works like I wanted, on all channels

deck 1 mute & video_level 0% ? video_level 100% : video_level 0%
deck 2 mute & video_level 0% ? video_level 100% : video_level 0%
deck 3 mute & video_level 0% ? video_level 100% : video_level 0%
deck 4 mute & video_level 0% ? video_level 100% : video_level 0%
 

If this is working as you need

"deck 1 mute & video_level 0% ? video_level 100% : video_level 0%"

it looks like you are using one button per deck. "deck x" is not needed in this case as the following "video_level" will apply to current deck when no "deck x" is specified for it. "mute" will act the same

"mute & video_level 0% ? video_level 100% : video_level 0%"

would be enough for the button on any deck
 

Hey Nicotux, the point is to cut one channel @ the time.

Now I have just noticed a new problem when updating.
The video transition effect "Color Swap" is not working properly with this script.
I made a small video to show you, and I hope the dev. team will see this and have some answer later ;)

https://youtu.be/co5p-UDG1TI
 



(Vecchi argomenti e forum sono automaticamente chiusi)