Simulations & graphics
Video to ASCII
A C++ terminal video player that maps grayscale frames to ASCII characters using OpenCV and ncurses, with audio playback through miniaudio.
Project overview
An experiment in representing moving images within a terminal’s character grid. The current interface offers a menu of preset clips.
What it does
- Select a preset clip from the terminal menu.
- Resize video frames to the available character grid.
- Map grayscale intensity to a density ramp of ASCII characters.
- Play a separate audio track and return to the menu or exit.
Implementation details
OpenCV decodes and resizes each frame before grayscale conversion. A character-density ramp translates pixel intensity into terminal output. The loop uses the clip’s frame rate to calculate a target delay; audio is handled separately by miniaudio.
My contribution
I implemented the frame-to-character conversion and terminal playback workflow, combining OpenCV, ncurses, and the audio component.
Repository-linked recording on YouTube
YouTubeRecording availability has not been verified.
Let’s discuss software.
For software-development opportunities, a website for your business, or questions about my work, email me.
ignabelitzky@gmail.com