Hi.
I’m seeking to understand the behavior of preloading better which is a bit difficult to pin-point by testing in practice.
Consider the scenario:
I have two moviefileinTOPs to alternate between them by preloading and switching to produce seamless playback of a playlist. Once a video ends, the other one has the next one loaded already and can start immediately, the former one preloads the next immediately after, and so on…
Then say I want to hot-switch to a different playlist. My planned approach is to hide outputs of both moviefileinTOPs while they preload the new current and next videos, using preload’s “index” parameter to have them cue in at the correct time, with some margin of error (playing in “Sequential” mode)
What happens if they are driven by timecode though, that is linked to some “global” playlist time.
When I use preload() either with index parameter or leaving it undefined, does the moviefileinTOP preload and then have to seek the video to catch up once it’s asked to actually cook?
…potentially causing a hiccup that preloading promises to avoid?
Or does this depend on pre-read frames? If I have enough of these pre-read frames between when it’s asked to preload and when I actually cook the moviefileinTOP?
I’m trying to test this but I don’t know how to accurately measure this. I’d rather just hear about the actual implementation under the hood.
Thanks!