Hi there,
I’m trying to build a network that has a JSONDAT
which loads a JSON file with a scenes
array.
Each scene has a startTime
, an endTime
and a video
property.
I setup two JSONDAT behind that named current_scene
and next_scene
. These filter the JSON like so: "$.scenes[?(@.endTime > " + str(root.time.seconds) + ")]"
for current and "$.scenes[?(@.endTime > " + str(op('current_scene').result['endTime']) + ")]"
for next.
Then two MOVIEFILEIN
that load like so 'the-videos/' + op('current_scene').result['video']
(and next_scene).
I can’t figure out how to trigger a crossfade between these movies when current and next scene change… can somebody hint me in the right direction?
Thank you very much,
Hans