Scrub video texture (by e.g. mouse pos)- SOLVED

Not sure if this is a bug, a feature request or just something I don’t know.

So, I want to scrub a video based on the mouse position. Thought it would be pretty straightforward, e.g. here:

But the playback is very janky. Tried different values / ops / things, but to no avail.
Any ideas?

All the best, Artur

you have to encode a video with way more keyframes.

internaly the video decoder does not update the image until it hits the next keyframe (full image frames in this case) and from then on it displays the video.

video will get quite big if you add many keyframes.