Triggers not working properly

 

Hi, I'm trying to make a "ping pong" video were when it end it start to play on reverse making a infinite loop, the way I found to make this was to reverse the video speed to "-1" with the trigger "ended" of the video node passing on a toggle node and a if/else salar node, but as soon I conect the out of the I/E node to the speed on the video the toggle stop working, I'm doing some thing wrong?

   Jose_quercetti

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

You've encountered a quite complex issue. The root of the problem is that you created a circular logic by making a connection between the End pin and the Speed pin of the Video Player. This leads to the Toggle being executed in the frame after the End pin is triggered. However, in the subsequent frame, the Video Player starts as an inactive module. Consequently, it won't execute any module connected to its Speed pin, and therefore, the Toggle does not get executed.
To fix this, you can connect a Force Execution module with high Priority to the Toggle logic:
You can find more information about module execution and the Force Execution module here: https://aximmetry.com/learn/virtual-production-workflow/scripting-in-aximmetry/flow-editor/module/#module-execution

However, be aware that using the Video Player in this manner may lead to other complications.

There's a simpler and more stable approach to create a video that plays back and forth: use a Sequence Video and a Sequencer module and turn on the Bounce pin in the Sequencer module:

Warmest regards,

;