This Python script allows you to search for music videos on YouTube and play them in ASCII art form.
Check out this short video to see the program in action: ASCII Tube Demo
- Python 3.x
pytube
,youtubesearchpython
,moviepy
,pygame
, andopencv
libraries- Terminal with support for ANSI escape codes
-
Clone the repository:
git clone https://github.com/your_username/ascii-video-player.git
-
Navigate to the project directory:
cd ascii-video-player
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the script in your terminal:
python main.py
-
Choose the option to search for music.
-
Enter the title of the song you want to search for.
-
Select the desired video from the search results.
-
Enjoy watching the video in ASCII art!
- Search for music videos by title.
- Play selected music videos in ASCII art form.
main.py
: Contains the main menu and the entry point of the program.src/VideoPlayer/Player.py
: Defines theVideoPlayer
class responsible for playing videos in ASCII art.src/ImageProcessing/ImageConverter.py
: Defines theImageConverter
class responsible for converting frames to ASCII art.
Contributions are welcome! If you have any ideas, improvements, or bug fixes, feel free to open an issue or submit a pull request.
Enjoy exploring the world of music videos in ASCII art!