Turn YouTube videos into ASCII art right in your terminal!
- Download YouTube Videos: Fetch videos directly from YouTube.
- Extract Audio: Extract audio from the video.
- Convert to ASCII: Transform video frames into ASCII art.
- Play in Terminal: Enjoy the video and audio playback in your terminal.
-
Clone the Repository:
git clone https://github.com/droidmaximus/asciimation.git cd asciimationYou can use the tool directly from the cloned repository by running the
asciimation.exefile. -
Install the CLI Tool: Make sure you have Python 3.6+ installed. Then, install the package using pip:
pip install . -
Install FFmpeg: Ensure you have FFmpeg installed on your system. You can download it from FFmpeg's official website.
-
(Optional) Install the .exe: If you want to create an executable file, run the following command:
python build.py
And you will get a .exe file in the
distfolder, which you can run directly to use the tool.
-
Run the CLI Tool:
asciimation <YouTube-URL>
-
Example:
asciimation https://www.youtube.com/watch?v=dQw4w9WgXcQ
We welcome contributions! Follow these steps to contribute:
-
Fork the Repository: Click the "Fork" button at the top right of this page.
-
Clone Your Fork:
git clone https://github.com/droidmaximus/asciimation.git cd asciimation -
Create a Branch:
git checkout -b feature/your-feature-name
-
Make Your Changes: Implement your feature or fix a bug.
-
Commit Your Changes:
git add . git commit -m "Add your descriptive commit message here"
-
Push to Your Branch:
git push origin feature/your-feature-name
-
Create a Pull Request: Go to the original repository and click the "New Pull Request" button.
- Add support for more video formats.
- Improve the speed of the ASCII conversion process.
- Add support for customizing the ASCII art output.
This project is licensed under the MIT License. See the LICENSE file for details.
- yt-dlp for downloading YouTube videos.
- pydub for audio processing.
- OpenCV for video frame processing.
- FPSTimer for frame rate control.
Made with ❤️ by Avinash