Hacker News new | past | comments | ask | show | jobs | submit login

I was really hoping this would render a small video in terminal colors.

Regardless, love it and love that you're bringing baseball to it's biggest new market, unix sysadmins.




You can do that with mpv pretty easily.

mpv "http://SOURCEURL" --vo=caca

Example:

mpv "https://www.youtube.com/watch?v=xYQiqBwczB0" --vo=caca

OR, for a higher-quality terminal-rendered video:

mpv "https://www.youtube.com/watch?v=xYQiqBwczB0" --vo=tct


Do you have a Youtube example of the output?


There's plenty results if you search for libcaca

https://www.youtube.com/watch?v=-h8g5NGUbDM


this was really useful, thank you


Always happy to share!


Baseball’s state and state transitions are easily serializable, no need for a lossy video stream :)




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: