I made this a while back now thought to myself huh, I wish I could do this with other videos. So I did.
The repository consists of two scripts, one that converts a video to ASCII art and the other a flask server to actually handle the curl request.
- Python 3.6+
- ffmpeg (make sure to add it to your path)
- A video fil (use one with green screen like this one) (you can use yt-dlp to download videos from youtube)
- A terminal that supports ANSI escape codes (I use windows terminal)
- ascii-image-converter
- Clone the repo
git clone https://github.com/shanTen/VideoToASCIIArt.git - Install the requirements
pip install -r requirements.txt - run
ConvertVideoToAsciiFramesFull.cmd <SomeVideo.ext> - W A I T. (not too long)
- run
python server.py - In another tab/window run
curl localhost:7070(or whatever port you set it to) - Enjoy! (optional)
