File-based live video buffer?

I’m trying to use TD to write video to disk to create a continuous buffer. (I want delays of possibly up to an hour, so writing the videos to hard disk seems necessary). As you can see in the attached toe in container2, I have two files alternating: one writes while the other plays to create a 1-second delay. But it’s not working - it’s slow and jumpy and sometimes gives warnings (the timeline is choppy too) - presumably unable to switch so quickly from writing a file to reading it. Do I need to have four files and cross-fade the playback of two of them at a time? Or is there another way?
videoSokkyo3.toe (4.7 KB)