I just started using vvvv and now I want to display one of multiple videos conditionally.
I found a way to get that done with a multiFlipFlop that checks which video I want based on keyboard input and a switch which, based on the flipflop output, forwards one of the videos to a renderer.
That feels rather clunky and very prone to errors.
Will I have to do it like that or did I miss something that would help in that situation?
It sounds like your Filestream node receives a spread of the video-filenames instead of just one of the slices. Check its ‘Filename’ pin, is there only slice coming in? If there is a spread - something is wrong in your patch, because actually the Filestream node starts to play videos always from the beginning.
Please provide you patch.
Anyway, the Filestream node has the ‘Do Seek’ and the ‘Seek Time’ pins. If you bang the ‘Do Seek’ pin the video jumps to the ‘Seek Time’ value (which is 0 by default). This can be used for “rewinding” the videos.