I'm trying to pause a screencast made with ffmpeg under Linux, giving the command:
kill -s SIGSTOP <PID>
resuming then it with the command:
kill -s SIGCONT <PID>
to finally interrupt it with the command:
kill <PID>
but the resulting file keeps the duration of the pause command in the timeline. For a better explanation of the problem, I realized a video: as you can see, there are 14 seconds in which the timeline is locked (from 29th to 43th second), the same duration of the command to pause the screencast (kill -s SIGSTOP <PID>).
Is there any way to not include it in the final video output? The unique one that I thought is to cut the final output, "labeling" the pause command in such a way to know where to cut...
Thank you