asciinema / asciicast2gif

Generate GIF animations from asciicasts (asciinema recordings)
MIT License
1.21k stars 82 forks source link

asciinema doesn't capture ncurses box #64

Closed xdb64 closed 2 years ago

xdb64 commented 5 years ago

I recorded a snake game session, however it seems that asciinema doesn't capture ncurses box.

It would be nice if asciinema could do that.

ku1ik commented 5 years ago

asciinema captures every character printed on the screen, so if something is not visible during playback it's likely a display/font problem in the web player.

Do you have example recording link (on asciinema.org) that demonstrates the problem?

xdb64 commented 5 years ago

Do you have example recording link (on asciinema.org) that demonstrates the problem?

The recording I linked is made using asciinema and converted to .gif via asciicast2gif.

ku1ik commented 5 years ago

Yes, I understand, but I have nothing to compare the gif too... No idea how it looks in original :)

xdb64 commented 5 years ago

I have made a minimal, complete and verifiable example which demonstrates the issue. As you can see, the border is displayed correctly in the recording but once the recording is converted to .gif the border is gone. Thus, I think the actual problem is in asciicast2gif.

ku1ik commented 2 years ago

I'm not sure what was the problem here... but I used your minimal example and generated gif with asciicast2gif's successor - https://github.com/asciinema/agg - and the result looks alright to me:

vQwSCQOOdbVpdupfrJSFBoEHe

In the future I suggest to use agg instead, as asciicast2gif will no longer be maintained.