C++ program that converts media files such .mp4 into ASCII characters.
Before getting started with media-to-ascii, ensure that you have the following dependencies installed on your Linux system:
-
g++ compiler
sudo apt install g++
-
CMake
sudo apt install cmake
-
OpenCV 4
sudo apt install libopencv-dev python3-opencv
-
nCurses 6
sudo apt-get install libncurses5-dev libncursesw5-dev
To use media-to-ascii, follow these steps
- Clone the repository to your local machine:
git clone https://www.github.com/garlinhs/media-to-ascii.git
- Step into the repository:
cd media-to-ascii
- Compile the project with make:
mkdir build
cd build
cmake ..
cmake --build .
- Now you will see the executable media_to_ascii and you can execute the program
- Without the audio
./media_to_ascii ../resource/sample.mp4
- With the audio
./media_to_ascii -a ../resource/sample.mp3 ../resource/sample.mp4
Contributions are welcome from the community! Wheter it's bug fixes, feature enhancements, or new ideas, feel free to open an issue or submit a pull request.
- Garlinh Soler
- Email: garlinhs@gmail.com