asciinema-trim
Trim and change the playback speed of asciinema's session
Motivation
asciinema is an awesome project to record and share your terminal sessions.
After recoding the session, sometimes you would like to trim the session, or change the playback speed. asciinema-trim is a CLI to trim the record file and change the playback speed.
Install
- Homebrew
- aqua
- Download from GitHub Releases
$ brew install suzuki-shunsuke/asciinema-trim/asciinema-trimUsage
$ asciinema-trim <input file>The trimmed record file is outputted to the standard output.
e.g.
$ asciinema-trim input.cast > output.castExample
Trimming
input.cast
[1.000000, "o", "h"]
[2.000000, "o", "e"]
[4.500000, "o", "r"]
[7.000000, "o", "o"]Insert 2 to trim 2 seconds.