[GH-ISSUE #97] [CLI] Change playback speed #689

Closed
opened 2026-03-15 08:52:12 +03:00 by kerem · 5 comments
Owner

Originally created by @vvv on GitHub (May 8, 2015).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/97

Ability to speed up / slow down asciinema play would be very useful.

ttyrec has this feature:

TTYPLAY(1)                                                    TTYPLAY(1)

NAME
       ttyplay - player of the tty session recorded by ttyrec

SYNOPSIS
       ttyplay [-s SPEED] [-n] [-p] file

DESCRIPTION
       Ttyplay  plays the tty session in file, which was recorded previ-
       ously by ttyrec(1).

       When -p option is given, ttyplay output the file as it grows.  It
       means  that  you  can  see  the  "live"  shell session running by
       another user.

       If you hit any key during playback, it will go right to the  next
       character  typed.   This is handy when examining sessions where a
       user spends a lot of time at a prompt.

       Additionally, there are some special keys defined:

       + or f  double the speed of playback.

       - or s  halve the speed of playback.

       1      set playback to speed 1.0 again.

OPTIONS
       -s SPEED
              multiple the playing speed by SPEED (default is 1).

       -n     no wait mode.  Ignore the timing information in file.

       -p     peek another person's tty session.

SEE ALSO
       script(1), ttyrec(1), ttytime(1)

                                                              TTYPLAY(1)
Originally created by @vvv on GitHub (May 8, 2015). Original GitHub issue: https://github.com/asciinema/asciinema/issues/97 Ability to speed up / slow down `asciinema play` would be very useful. [ttyrec](http://0xcc.net/ttyrec/index.html.en) has this feature: ``` TTYPLAY(1) TTYPLAY(1) NAME ttyplay - player of the tty session recorded by ttyrec SYNOPSIS ttyplay [-s SPEED] [-n] [-p] file DESCRIPTION Ttyplay plays the tty session in file, which was recorded previ- ously by ttyrec(1). When -p option is given, ttyplay output the file as it grows. It means that you can see the "live" shell session running by another user. If you hit any key during playback, it will go right to the next character typed. This is handy when examining sessions where a user spends a lot of time at a prompt. Additionally, there are some special keys defined: + or f double the speed of playback. - or s halve the speed of playback. 1 set playback to speed 1.0 again. OPTIONS -s SPEED multiple the playing speed by SPEED (default is 1). -n no wait mode. Ignore the timing information in file. -p peek another person's tty session. SEE ALSO script(1), ttyrec(1), ttytime(1) TTYPLAY(1) ```
kerem 2026-03-15 08:52:12 +03:00
Author
Owner

@ku1ik commented on GitHub (May 8, 2015):

Yeah, that is something I was considering. It's not a top priority though at the moment, sorry. If you often replay in terminal then maybe just stick to ttyrec?

<!-- gh-comment-id:100204351 --> @ku1ik commented on GitHub (May 8, 2015): Yeah, that is something I was considering. It's not a top priority though at the moment, sorry. If you often replay in terminal then maybe just stick to `ttyrec`?
Author
Owner

@ku1ik commented on GitHub (Apr 11, 2017):

I just released 1.4.0, with #190 by @bastiaanb. It's not exactly what you were thinking about (interactively changing speed), but related anyway.

<!-- gh-comment-id:293317729 --> @ku1ik commented on GitHub (Apr 11, 2017): I just released 1.4.0, with #190 by @bastiaanb. It's not exactly what you were thinking about (interactively changing speed), but related anyway.
Author
Owner

@ku1ik commented on GitHub (Apr 11, 2017):

Should we close this issue?

<!-- gh-comment-id:293318105 --> @ku1ik commented on GitHub (Apr 11, 2017): Should we close this issue?
Author
Owner

@vvv commented on GitHub (Apr 11, 2017):

I guess we should. Thank you!

<!-- gh-comment-id:293331523 --> @vvv commented on GitHub (Apr 11, 2017): I guess we should. Thank you!
Author
Owner

@Drugoy commented on GitHub (Feb 9, 2019):

The ability to change playback speed interactively is far superior to setting it for the whole video on start up via a cli arg.

<!-- gh-comment-id:462042379 --> @Drugoy commented on GitHub (Feb 9, 2019): The ability to change playback speed interactively is far superior to setting it for the whole video on start up via a cli arg.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#689
No description provided.