This program ascii_video is a simple tool that converts a video file into ASCII art and displays it in the terminal using ncurses.
- ffmpeg
- libswscale-dev
- libncurses5-dev
- libncursesw5-dev
To install the dependencies on Ubuntu/Debian, run the following commands:
sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev libncurses-dev
To build the program, run the following command in the terminal:
gcc -o ascii_video ascii_video.c -lavcodec -lavformat -lavutil -lswscale -lswresample -lncurses -lm
To use the program, run the following command in the terminal:
./ascii_video <input_file>
Replace <input_file> with the path to your video file.
Please note that the program only works with ASCII characters, and may not display the video with full accuracy. The output may also depend on the font and size of your terminal.