timelapse icon indicating copy to clipboard operation
timelapse copied to clipboard

Faster video creation

Open mre opened this issue 5 years ago • 2 comments

Feature Request Type

  • [X] Core functionality
  • [ ] Alteration (enhancement/optimization) of existing feature(s)
  • [ ] New behavior

Description

At the moment we start ffmpeg after we stopped taking screenshots. The video-creation process can take quite long (up to a few minutes) depending on the duration of the recording. It would be great if we could stream the screenshots into ffmpeg while we record. The risk is that interrupting the recording (e.g. by locking the screen or hibernating the machine) could stop the ffmpeg stream. Also there would be no recovery in case the computer crashes.

Maybe there is an elegant solution to that.

Best thing I came up with so far is to keep the screenshots as a backup. If the process crashes, the user could at least manually stitch together a timelapse. If the recording succeeds, we could clean up the screenshots afterwards.

Thoughts appreciated.

mre avatar Mar 16 '20 14:03 mre

This is a good idea and @mre 's proposed solution above looks good, but I'd give this one a low priority over some of our other ideas, considering the end user's perspective.

For example, a user might be more easily put off by not being able to tune the screenshot intervals but might be willing to wait a few minutes for their video to be compiled.

cmangla avatar Mar 16 '20 21:03 cmangla

Very true. I think a configurable screenshot interval is more important indeed.

mre avatar Mar 16 '20 21:03 mre