August 29th, 2024

Show HN: turn videos into ASCII art (open source, js+canvas)

The tool converts videos into ASCII pixel art from uploads or webcam feeds, allowing users to adjust settings. It is free, open-source, and processes videos client-side without storage.

Read original articleLink Icon
Show HN: turn videos into ASCII art (open source, js+canvas)

The tool allows users to convert videos into ASCII pixel art by either uploading a video or using a webcam feed. Users can adjust various settings such as colors, resolution, and text style. Once the video is processed, it can be exported for sharing or saving. The tool is free and open-source, licensed under MIT, and can be used for both personal and commercial purposes. Users are encouraged to support the developer through donations. The application may experience lag on less powerful computers or if too many applications are running simultaneously. If the video export feature fails, users are advised to use a screen-recording tool like OBS Studio. The project is built using JavaScript, HTML canvas, and CSS, with video encoding handled by an mp4 muxer. The developer emphasizes that no uploaded videos are stored, as all processing occurs on the user's device. Users are invited to share their creations on social media.

- The tool converts videos into ASCII art using webcam or uploaded videos.

- It is free, open-source, and allows for personal and commercial use.

- Users can adjust settings like colors and resolution before exporting.

- No uploaded videos are stored; processing is done client-side.

- Users can share their creations on social media platforms.

Link Icon 10 comments
By @jraph - about 2 months
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

By @iaad - about 2 months
There's a version of "Never Gonna Give You Up" in ASCII art. Which means if you can access a .bashrc or something similar, you can rick roll them in their terminal on startup.

Found it: https://github.com/keroserene/rickrollrc

By @liam-hinzman - about 2 months
Is there anything like this where it's only coloring the text and not the background of the font? Hoping to find something like ascii-gen [0,1] but for video

[0] https://github.com/seatedro/asciigen [1] https://x.com/seatedro/status/1828414268707946506

By @she46BiOmUerPVj - about 2 months
It's awesome. I used the image export, is there anyway to export to text with escape codes?
By @earthWindFi - about 2 months
This is really cool, thanks for sharing. I’m getting glitchy cyberpunk vibes from this.
By @spacebacon - about 2 months
Glad you did this. I had a similar idea but never made time for it. Thanks.
By @dylanha - about 2 months
I thought the point of ASCII art was that it could be exported into Notepad. is the website mainly for aesthetics/art as opposed to inserting diagrams into READMEs now?
By @louloulouhoo - about 2 months
Nice and simple site. Well done for making this work on mobile!
By @pak9rabid - about 2 months
Interesting, so like aalib for the browser?