mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #46] Save data to files while recording in real time #636
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#636
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cronfy on GitHub (Oct 25, 2013).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/46
If one wants to record a really large screencast (kernel build, cluster deploy or just a terminal session of several days long), it would require alot of memory. There is also a risk of that asciinema process can be killed, and in this case even if it catched anything, data wil be lost.
To solve this, asciinema can save data into files in real time. Then it would be possible to recover aborted screencasts and record really long sessions. It also partially solves #21.
@ku1ik commented on GitHub (Nov 25, 2013):
The recorded stream is just a text + some control sequnces. It's really not that much. You probably can record several hours long session and it will take at most several MBs of memory. Given we all have GBs of mem these days this isn't really an issue.
@cronfy commented on GitHub (Nov 26, 2013):
Probably the more important thing I wanted to mention was that if session is killed by some reason, it is lost completely. If it would saved to tmp files, it could be recovered then.
This is very useful feature for automatically recording all sessions (as live logs of everything was done in console).
Can you please reopen the issue?
@ku1ik commented on GitHub (Nov 26, 2013):
If it was saving to a file and the session recording was interrupted would you still upload unfinished recording? What's the value in it? I don't see anyone want to do that honestly...
@cyc115 commented on GitHub (Apr 9, 2019):
This is a long dead thread, but I for one would like to have the ability to recover accidentally closed sessions. Especially when a recording can be multi hour long and the only thing you need to to destroy the recording is a
cmd+w😄 .--appendrecording mode improvements #942