Re:Show HN: Termplay: Play videos in your terminal
by LEGOlord208 on Tuesday June 20, 2017 @11:39AM
(#14595432)
You could do like the "fbi" tool, which uses the framebuffer (/dev/fb0) to draw to the screen. And that works for the TTY, but doesn't in Konsole.
Others have also told me about Sixels, so I'll probably add support for that at least.
Re:Show HN: Termplay: Play videos in your terminal
by LEGOlord208 on Tuesday June 20, 2017 @02:48PM
(#14597349)
Update: Sixels are now supported :)
Try it out with one of the terminals listed in https://github.com/saitoha/libsixel#terminal-requirements
Example screenshot from Konsole: https://imgur.com/a/D98Kl (showing https://en.wikipedia.org/wiki/xterm)
The rendering is really buggy. Images glitch away all the time, possibly until w3m issues a redraw event, but it kinda sorta works.
Some day, I'll have to dig into either the w3m source or the Konsole source and figure out which ANSI escapes are being used for that. (If someone has a link to a spec or sth, that'd be much appreciated.)