I would like to group my video_transitions to two different groups: those which are good for long term transitions and those which are good for fast transitions.
Good slow transitions are rgb, fade, strobe etc...
Good fast transitions are flip3d, breaktrough etc...
I would like to map two buttons: first would select & cycle through slow transitions and second would select & cycle through fast transitions.
I know that there is cycle function that may have to be used, but how?
I tried to map function:
cycle "slow" 3 & (var_equal "slow" 0 ? video_transition_select 'rgb' : var_equal "slow" 1 ? video_transition_select 'fade' : var_equal "slow" 2 ? video_transition_select 'strobe')
But it does not work. Any ideas why? Is there a way to implelement this?
Also I would like to create a function to cycle through 3 most common effects (not all but most common i have determined).
Good slow transitions are rgb, fade, strobe etc...
Good fast transitions are flip3d, breaktrough etc...
I would like to map two buttons: first would select & cycle through slow transitions and second would select & cycle through fast transitions.
I know that there is cycle function that may have to be used, but how?
I tried to map function:
cycle "slow" 3 & (var_equal "slow" 0 ? video_transition_select 'rgb' : var_equal "slow" 1 ? video_transition_select 'fade' : var_equal "slow" 2 ? video_transition_select 'strobe')
But it does not work. Any ideas why? Is there a way to implelement this?
Also I would like to create a function to cycle through 3 most common effects (not all but most common i have determined).
Posté Thu 17 Sep 09 @ 3:04 pm
Try removing the ( )'s - VDJscript doesn't support them.
You also don't need the last var_equal "slow" 2 ? because all the other possible values have already been accounted for.
E.g:
For effects, you can use effect select 'Name'
You also don't need the last var_equal "slow" 2 ? because all the other possible values have already been accounted for.
E.g:
cycle "slow" 3 & var_equal "slow" 0 ? video_transition_select 'rgb' : var_equal "slow" 1 ? video_transition_select 'fade' : video_transition_select 'strobe'
For effects, you can use effect select 'Name'
Posté Thu 17 Sep 09 @ 3:28 pm