This project allows you to play videos in ASCII format in the console.
Each frame is converted to grayscale and mapped to specific ASCII characters, creating a fluid video effect displayed in the terminal with modern features and high resolution.
๐ฅ ASCII Video Player
Frame: 15/30
--------------------------------------------------
โโโโโโโโโโโโโโโโโโโโโ โกโขโฃโคโฅโฆโงโจโฉโชโซโฌโญโฎโฏโฐโฑ
โฒโณโดโตโถโทโธโนโบโปโผโฝโพโฟโโโโโโ
โโโโโโโโโโโโโโโโ
โโโโโโโโโโโ โกโขโฃโคโฅโฆโงโจโฉโชโซโฌโญโฎโฏโฐโฑโฒโณโดโตโถโท
โธโนโบโปโผโฝโพโฟ .'`^",:;Il!i><~+_-?][}{1)(|\/
tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$
- Ultra Modern GUI - Dark theme, animations, and tooltips
- Responsive Design - Adapts to different screen sizes
- Smart Tooltip System - Help for every feature
- Colored Output - Message type-based coloring
- High Resolution ASCII - 70 characters for detailed display
- CLAHE Contrast Enhancement - Image quality optimization
- Gaussian Blur - Smoothing while preserving details
- Smart Video Analysis - Automatic metadata and info display
- Dynamic Width - Adjustable 60-200 characters
- FPS Control - 5-60 FPS playback speed
- Vertical Video Support - Automatic centering and visibility
- Flicker Prevention - Smooth playback and cursor optimization
- Multi-Platform - Windows, Linux, Mac support
- Auto-Launch - Batch and bash scripts
- Error Management - Comprehensive error control and reporting
- Python 3.8+
- OpenCV 4.8+
- Tkinter (comes with Python)
- Colorama
You need to install the required packages first:
# Install all required dependencies
pip install -r requirements.txt
# Or install manually
pip install opencv-python colorama# Auto-launch (recommended)
start_gui.bat
# Manual launch
python video_player_gui.py# Auto-launch (recommended)
./start_gui.sh
# Manual launch
python3 video_player_gui.py๐จ Modern GUI Features:
- ๐ Dark theme and modern color palette
- โจ Animated title and hover effects
- ๐ก Smart tooltips and help system
- ๐ Automatic video info analysis
- ๐จ Colored system output
- ๐ฑ Responsive design
python ascii_video_player.py video.mp4# High resolution
python ascii_video_player.py video.mp4 -w 150
# Custom FPS
python ascii_video_player.py video.mp4 -f 24
# Show video info
python ascii_video_player.py video.mp4 --info
# Combination
python ascii_video_player.py video.mp4 -w 120 -f 30# Clone the repository
git clone https://github.com/uzeyirrr/ASCII-Video-Player.git
cd ASCII-Video-Player
# Install required dependencies
pip install -r requirements.txt# Download the files manually
# Then install dependencies
pip install opencv-python colorama- Always install requirements first before running the application
- Make sure you have Python 3.8+ installed
- On some systems, you might need to use
pip3instead ofpip
- First, install requirements:
pip install -r requirements.txt - Run
start_gui.bat(Windows) or./start_gui.sh(Linux/Mac) - Select your video file
- Adjust width and FPS settings
- Click "ASCII Play" to start
# Basic video playback
python ascii_video_player.py my_video.mp4
# High quality playback
python ascii_video_player.py my_video.mp4 -w 200 -f 30
# Show video information only
python ascii_video_player.py my_video.mp4 --infoThe player uses 70 different ASCII characters for high-resolution display:
.'`^",:;Il!i><~+_-?][}{1)(|\/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$
- MP4, AVI, MOV, MKV, WMV, FLV
- All formats supported by OpenCV
GUI won't start:
# Check Python installation
python --version
# Install missing dependencies (MOST COMMON ISSUE)
pip install -r requirements.txt
# If still not working, try:
pip install opencv-python coloramaVideo not playing:
- Check video file path
- Ensure video format is supported
- Try with
--infoflag to check video properties
Poor quality output:
- Increase width parameter (
-w 150) - Check terminal size and font
- Ensure good contrast in terminal
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenCV for video processing
- Tkinter for GUI framework
- Colorama for terminal colors
- All contributors and users
โญ Star this repository if you found it helpful!
Made with โค๏ธ for the terminal community