Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Faster video creation #46

Open
1 of 3 tasks
mre opened this issue Mar 16, 2020 · 2 comments
Open
1 of 3 tasks

Faster video creation #46

mre opened this issue Mar 16, 2020 · 2 comments

Comments

@mre
Copy link
Owner

mre commented Mar 16, 2020

Feature Request Type

  • 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.

@cmangla
Copy link
Collaborator

cmangla commented Mar 16, 2020

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.

@mre
Copy link
Owner Author

mre commented Mar 16, 2020

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

@mre mre added the feature label May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants