mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #321] Feature Request: add "pause" control to record action #827
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#827
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 @yuvalif on GitHub (Sep 6, 2018).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/321
When recording, sometimes you want to pause the recording, and then continue.
@just4t commented on GitHub (Sep 6, 2018):
You can set an idle_time_limit in a custom file /root/.config/asciinema/config as follows (this would save you to record the delay times while typing your terminal entries, making the playback 'waiting' times reduced to max. 2 seconds) :
Recommended to read the docs. about for more info. + other options available.
Hope this helps.
@yuvalif commented on GitHub (Sep 6, 2018):
@just4t thanks for the answer. This will help in some cases, but not when i want to actually skip in the recording parts that are printed to the terminal (e.g. booting of a virtual machine).
@ku1ik commented on GitHub (Nov 16, 2018):
That's a good use case. We could implement pause/unpause via a keyboard shortcut, for ex:
<ctrl-p>or similar.It would probably be good to have some indicator/confirmation that you actually paused/unpaused, otherwise you would never be sure.
@vanyakosmos commented on GitHub (Dec 6, 2018):
The only thing I can imagine is that recorder could write play/pause status into some file and we will need to run something like
watch -n 1 cat that_file.txtin separate tab in order to check that status.But this approach looks kinda ugly...
Maybe we can add this feature as post processing step:
illustration:
@probonopd commented on GitHub (Dec 27, 2018):
Can this be made the default please?
@fabianbaier commented on GitHub (Jan 11, 2019):
Another workaround would be:
asciinema rec my.castCTRL+Dto end the recordingasciinema rec --append my.castOptional: You can edit the recording and e.g. remove certain bits and pieces by editing the
my.castafterwards with a text-editorWatching your recording via
asciinema play my.castshould show you a smooth video as if you hit the pause/resume buttons.@probonopd commented on GitHub (Jan 11, 2019):
Not really, as I don't type with constant speed ;-)
@ku1ik commented on GitHub (Mar 2, 2019):
You can "burn" fixed idle time of existing recording by playing it inside new recording.
This one will save idle-time-limit in new recording's header line:
This one will actually adjust the timing of every print event:
@ku1ik commented on GitHub (Mar 17, 2019):
I've opened PR #340 for recording pause feature. Please take a look, I think this is what @yuvalif had in mind when opening this issue.
@stealthman22 commented on GitHub (Oct 22, 2019):
This pause feature if added will be the best.
Sometimes I am not too sure of what I am doing on the terminal (Like reading some docs to learn something), I should be able to pause and resume easily. It's intuitive
@ku1ik commented on GitHub (Oct 2, 2021):
This has been solved with #340, will be relased shortly with v2.1.