dhobsd / castty

A CLI tool to record audio-enabled screencasts of your terminal, for the web.
Other
117 stars 15 forks source link

Improve seek performance in long recordings #3

Closed dhobsd closed 7 years ago

dhobsd commented 7 years ago

When seeking backwards, we have to replay the whole cast from the beginning because of the terminal codes. This isn't so bad for recordings that are just a couple minutes long, but I imagine there's noticeable seek latency on longer recordings.

Probably this would involve the player creating keyframes as it goes such that it has a place to restore from.

dhobsd commented 7 years ago

This is probably not worth doing, 3367f3c does a reasonable job and xterm.js is pretty snappy at replaying even large sequences (from a 1h video). If people decide to use this for something like NetHack walkthroughs, we might need to revisit, but I'm closing this for now.