I think I was pushing the limits of what the service could handle with my fluid simulations. They're pretty choppy on first playback, but run smoothly the second time.
These remind me of the ASCII fluid submission [0] at IOCCC 2012 [1] by Yusuke Endoh. The source [2] itself can be used as an input to the program (see video [3]), and he also made a colour version [4].
My co-founder wrote a bit about Asciinema as part of a comprehensive comparison of terminal recorders [1]. There's a lot to love about it (wide availability, very nice JavaScript playback -- check out the Game of Life playback at [1]), but it's a bit of a chore to self host, if that's important for you.
This is really cool, and if I wanted to host a demo on a public website or something like that (attempting to keep bandwidth use down), I would use it in a heartbeat.
My use case for terminal demos is very different from that. Usually I'm just recording something short and emailing it to one person. Bandwidth savings do not accumulate across many website visitors, and simple is perfect.
The nice thing about video is I can just email it. I don't need to host a web server instance for playback. Even at very high quality settings ("ffmpeg -qscale:v 1", nothing blurry about it) the resulting video is only about 1MB/minute (80x24 term, h264 or h265).
Here's my demo workflow, in case folks are curious:
1. simplescreenrecorder to record terminal window + voice.
2. ffmpeg -i recorded.mkv -vcodec libx264 -qscale:v 1 -acodec aac encoded.mp4 # or s/264/265/ for slightly better compression, if the receiver has new enough codecs
The main killer feature, in my opinion, is that you can pause and copy and paste the text from any given point. Not that you can record and share terminal session, which you could do with basically any video recording software.
You can send the recording(json file) of asciinema too and it's significantly smaller in size. The receiver does need to haveasciinema installed to playback though.
Perhaps because it has lots of fans who like to spread the word?
I use it only very occasionally, like once a year, but love the way it works. My first experience was perfect, I really couldn't think of a single thing to improve (and that's very rare), so that left a very good impression.
Tried out asciinema earlier this year, and it is super duper cool.
TLDR: Wish it included some functionality to get finished usable media artifacts out.
In the end I gave up after failing to find a way to convert the resulting asciinema data files to a GIF or any other HTML-compatible media file. The open-source projects ended up not working for various reasons- broken shell scripts, abandoned projects, node.js programs that require a fully working phantomjs installation and then it still doesn't work, requiring docker (come on, really? Spin up containers just to convert to a GIF?), and these are only the problems I remember offhand.
I swear I can't be the only one who's bugged by the fact that the link to the recording[0] doesn't actually play out the same way as the session you just watched in the front page![1]
I discovered that my dockers demonstration isn't updating the background colour correctly through asciinema. It looks good on my terminal, but maybe I have old man eyes.
With all the terminal recordings I have seen, the content eventually ends up at the bottom. It would be awesome to have the cursor always stay in the middle... any idea if thats possible with Asciinema?
I last used Asciinema when presenting my thesis. It certainly gave the presentation a nice vibe, but I still had to fire up a real terminal window when answering questions.
tty-player [1] gives you seekability, scrolling, and copy/paste with standard ttyrec files. Much easier for self-hosting than Asciinema and permits the use of other existing tools that work with ttyrec output.
[+] [-] slavik81|7 years ago|reply
Block - https://asciinema.org/a/125371
Waterfall - https://asciinema.org/a/125380
[+] [-] warent|7 years ago|reply
[+] [-] bewuethr|7 years ago|reply
[0]: https://www.ioccc.org/2012/endoh1/hint.html
[1]: https://www.ioccc.org/2012
[2]: https://www.ioccc.org/2012/endoh1/endoh1.c
[3]: https://youtu.be/QMYfkOtYYlg
[4]: https://www.ioccc.org/2012/endoh1/endoh1_color.c
[+] [-] czardoz|7 years ago|reply
[+] [-] celerity|7 years ago|reply
[1]: https://intoli.com/blog/terminal-recorders/
[+] [-] AdmiralAsshat|7 years ago|reply
[+] [-] loeg|7 years ago|reply
My use case for terminal demos is very different from that. Usually I'm just recording something short and emailing it to one person. Bandwidth savings do not accumulate across many website visitors, and simple is perfect.
The nice thing about video is I can just email it. I don't need to host a web server instance for playback. Even at very high quality settings ("ffmpeg -qscale:v 1", nothing blurry about it) the resulting video is only about 1MB/minute (80x24 term, h264 or h265).
Here's my demo workflow, in case folks are curious:
1. simplescreenrecorder to record terminal window + voice.
2. ffmpeg -i recorded.mkv -vcodec libx264 -qscale:v 1 -acodec aac encoded.mp4 # or s/264/265/ for slightly better compression, if the receiver has new enough codecs
3. Email the video or whatever.
That's it.
[+] [-] Nadya|7 years ago|reply
For example, at 00:11 of https://asciinema.org/a/139514
[+] [-] xfer|7 years ago|reply
[+] [-] JepZ|7 years ago|reply
[1]: https://hn.algolia.com/?query=asciinema&sort=byPopularity&pr...
[+] [-] lucb1e|7 years ago|reply
I use it only very occasionally, like once a year, but love the way it works. My first experience was perfect, I really couldn't think of a single thing to improve (and that's very rare), so that left a very good impression.
[+] [-] moistoreos|7 years ago|reply
Super useful for sharing because then the other parties don't need this software installed.
[+] [-] lasekar|7 years ago|reply
[+] [-] jaytaylor|7 years ago|reply
TLDR: Wish it included some functionality to get finished usable media artifacts out.
In the end I gave up after failing to find a way to convert the resulting asciinema data files to a GIF or any other HTML-compatible media file. The open-source projects ended up not working for various reasons- broken shell scripts, abandoned projects, node.js programs that require a fully working phantomjs installation and then it still doesn't work, requiring docker (come on, really? Spin up containers just to convert to a GIF?), and these are only the problems I remember offhand.
Some breadcrumbs:
https://www.google.com/search?q=asciinema+convert+to+gif
https://unix.stackexchange.com/questions/314235/converting-a...
"asciinema doesn't provide this natively, there are tools out there that can facilitate that for you"
Right.
[+] [-] laurent123456|7 years ago|reply
https://raw.github.com/laurent22/massren/animation/animation...
As far as I remember it was easy to use and the result was pretty good. Back then I've also tested Asciinema but gave up for the same reasons.
[0] http://0xcc.net/ttyrec/ [1] https://github.com/icholy/ttygif
[+] [-] dcbadacd|7 years ago|reply
[+] [-] fiddlerwoaroof|7 years ago|reply
[+] [-] airstrike|7 years ago|reply
[0] https://asciinema.org/a/17648
[1] https://asciinema.org/
[+] [-] eat_veggies|7 years ago|reply
https://asciinema.org/a/113463
[+] [-] sickill|7 years ago|reply
[+] [-] daveevad|7 years ago|reply
i'm way more confused than disappointed and wonder how easy it would be to rip this for use in a non-public environment?
[+] [-] Patrick_Devine|7 years ago|reply
https://asciinema.org/a/tlpahVHp6cAUsdznznBCExGDo
[+] [-] decafb|7 years ago|reply
[+] [-] kashifr|7 years ago|reply
[+] [-] lucb1e|7 years ago|reply
If you want it to push from the top, I could understand... but in the middle?
[+] [-] pmoriarty|7 years ago|reply
http://0xcc.net/ttyrec/
[+] [-] domakidis|7 years ago|reply
[+] [-] advisedwang|7 years ago|reply
[+] [-] kevin_thibedeau|7 years ago|reply
[1] http://tty-player.chrismorgan.info
[+] [-] alexbeloi|7 years ago|reply
IMO, the killer feature is how easy it is to embed recordings into your project readme or issues/comments in markdown/html.
[+] [-] GiorgioG|7 years ago|reply
[+] [-] tripa|7 years ago|reply
[+] [-] lacker|7 years ago|reply
[+] [-] artgon|7 years ago|reply
[+] [-] analognoise|7 years ago|reply
This is a perfect example of why engineering has a separate marketing division.
[+] [-] CharlesW|7 years ago|reply
[+] [-] ythn|7 years ago|reply
http://man7.org/linux/man-pages/man1/script.1.html
Still, that's pretty sick that you can pause the "video" and highlight/copy/paste in-browser
[+] [-] geofft|7 years ago|reply