I’ve done this before by separating the video into its frames with something like VLC.
I can’t find the exact graph at the moment, but here is a GIF I hade made (It seems to show all the logic).
Utility.FaderOneWay
is from the package Firefly
and the graph was set to run on periodic at 100ms.