While this tool doesn't use constant frame-rate (delay for each frame is specified individually), it's worth investigating if skipping over frames with very small delay can decrease file size without degrading animation smoothness in noticeable way.
We can experiment with 30 fps clamp. asciinema-player has asciinema.player.frames/at-hz function which quantizes frame times so they sit on multiples of 1/30s, and can be used on frames before passing them to renderer (gen-image-frames).
While this tool doesn't use constant frame-rate (delay for each frame is specified individually), it's worth investigating if skipping over frames with very small delay can decrease file size without degrading animation smoothness in noticeable way.
We can experiment with 30 fps clamp. asciinema-player has
asciinema.player.frames/at-hz
function which quantizes frame times so they sit on multiples of 1/30s, and can be used onframes
before passing them to renderer (gen-image-frames
).