News for hackers. Stuff that matters.
Re:Show HN: turn videos into ASCII art (open source, js+canvas) by jraph on Thursday August 29, 2024 @07:10AM (#41389547)
This reminds me of libcaca [1], which anyone interested in this should check out. It's integrated in various tools, including ffmpeg, mpv, and of course VLC (Sam Hocevar, who wrote libcaca, was also a key VLC contributor at its beginnings).

The biggest difference I see (apart from the used programing language) is that libcaca outputs colored ascii art.

[1] https://en.wikipedia.org/wiki/Libcaca

Re:Show HN: turn videos into ASCII art (open source, js+canvas) by jiripospisil on Thursday August 29, 2024 @07:17AM (#41389603)
I was just about to say. With mpv, you can play videos as ASCII art just by doing mpv --vo=caca <file>. Just make sure your mpv is actually built with caca support (mpv --vo=help; Arch Linux's mpv is not, Fedora's is).
Re:Show HN: turn videos into ASCII art (open source, js+canvas) by jgtrosh on Thursday August 29, 2024 @07:16AM (#41389599)
For uncolored (and generally simpler) ASCII art, see the older libaa
Re:Show HN: turn videos into ASCII art (open source, js+canvas) by nachomg on Thursday August 29, 2024 @08:55AM (#41390320)
Haha, name made me chuckle.