[Media] Playing YouTube videos in the terminal using ASCII - My first rust project

304 points SameerVers3 34 comments
[Media] Playing YouTube videos in the terminal using ASCII - My first rust project

This is my first real Rust project. I built a terminal-based YouTube video player that renders videos as ASCII art in real time.

While working on it, I realized I needed a reusable image to ASCII renderer, so I built that separately as a small crate and published it.

The video player uses that crate to convert video frames into ASCII and stream them to stdout with basic FPS control.

Projects:

ASCII engine (published crate): https://github.com/SameerVers3/pixel2ascii

Terminal YouTube player: https://github.com/SameerVers3/stdout-tv

This was mainly a learning project to understand Rust better (ownership, performance, terminal output, etc.), but I’d appreciate any feedback on code structure, performance, or general Rust-idiomatic improvements.

Thanks for reading.