I have a simple list in csharp only for example:
LReg.start = rise[i]; LReg.end = fall[i]; LR.Add(LReg);
start and end are int's in the end I have a List of the frames I want to extract from a video file. For example in index 0 of LR I have start 48 end 51 In index 1 start 110 end 124
So I want to loop over the List an save as a video file the part of a video file using ffmpeg according to the frame number start and end by jumping to this frames. Jump to frame 48 and create a video file out from frame 48 to 51 including 48 and 51. Then jump forward to the next group of frames 110 and 124 and so on.
The problem is how to use ffmpeg to extract and save video files ?