Here it is (also attached), perhaps a little more involved than necessary, but doable.
Remember to always keep the last frame larger than the first frame.
The basic idea is to use CsvReader to scan and parse the lines from the CSV file, followed by a WindowWorkflow that will, for each line of the CSV, create a sequence of frames. Because I'm using a logic where I start the FileCapture in a particular frame and then Take a certain number of frames, I subtract the last frame from the first frame to get the total number of frames in each clip. Finally, I send all the frames from each clip to a VideoWriter, which will write the clips.
Hope this helps.