Skip to content

uzeyirrr/ASCII-Video-Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฅ ASCII Video Player - Modern Edition

ASCII Video Player Python OpenCV License

The most modern way to play videos in terminal! ๐Ÿš€

GitHub stars GitHub forks

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.

๐ŸŽฌ Demo

๐ŸŽฅ ASCII Video Player
Frame: 15/30
--------------------------------------------------
    โ–‘โ–’โ–“โ–ˆโ–„โ–€โ–Œโ–โ–”โ–•โ––โ–—โ–˜โ–™โ–šโ–›โ–œโ–โ–žโ–Ÿโ– โ–กโ–ขโ–ฃโ–คโ–ฅโ–ฆโ–งโ–จโ–ฉโ–ชโ–ซโ–ฌโ–ญโ–ฎโ–ฏโ–ฐโ–ฑ
    โ–ฒโ–ณโ–ดโ–ตโ–ถโ–ทโ–ธโ–นโ–บโ–ปโ–ผโ–ฝโ–พโ–ฟโ—€โ—โ—‚โ—ƒโ—„โ—…โ—†โ—‡โ—ˆโ—‰โ—Šโ—‹โ—Œโ—โ—Žโ—โ—โ—‘โ—’โ—“โ—”โ—•
    โ—–โ——โ—˜โ—™โ—šโ—›โ—œโ—โ—žโ—Ÿโ— โ—กโ—ขโ—ฃโ—คโ—ฅโ—ฆโ—งโ—จโ—ฉโ—ชโ—ซโ—ฌโ—ญโ—ฎโ—ฏโ—ฐโ—ฑโ—ฒโ—ณโ—ดโ—ตโ—ถโ—ท
    โ—ธโ—นโ—บโ—ปโ—ผโ—ฝโ—พโ—ฟ .'`^",:;Il!i><~+_-?][}{1)(|\/
    tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$

โœจ Features

๐Ÿ–ฅ๏ธ Modern Interface

  • 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

๐ŸŽฌ Video Processing

  • 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

โš™๏ธ Advanced Settings

  • 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

๐Ÿ’ป Platform Support

  • Multi-Platform - Windows, Linux, Mac support
  • Auto-Launch - Batch and bash scripts
  • Error Management - Comprehensive error control and reporting

๐Ÿš€ Quick Start

๐Ÿ“‹ Requirements

  • Python 3.8+
  • OpenCV 4.8+
  • Tkinter (comes with Python)
  • Colorama

โšก First Time Setup

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

๐Ÿ–ฅ๏ธ Modern GUI (Recommended)

Windows

# Auto-launch (recommended)
start_gui.bat

# Manual launch
python video_player_gui.py

Linux/Mac

# 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

๐Ÿ’ป Command Line

Basic Usage

python ascii_video_player.py video.mp4

Advanced Options

# 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

๐Ÿ“– Installation

Method 1: Clone Repository (Recommended)

# 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

Method 2: Direct Download

# Download the files manually
# Then install dependencies
pip install opencv-python colorama

โš ๏ธ Important Notes

  • Always install requirements first before running the application
  • Make sure you have Python 3.8+ installed
  • On some systems, you might need to use pip3 instead of pip

๐ŸŽฎ Usage Examples

GUI Mode

  1. First, install requirements: pip install -r requirements.txt
  2. Run start_gui.bat (Windows) or ./start_gui.sh (Linux/Mac)
  3. Select your video file
  4. Adjust width and FPS settings
  5. Click "ASCII Play" to start

Command Line Mode

# 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 --info

๐Ÿ”ง Configuration

ASCII Character Set

The player uses 70 different ASCII characters for high-resolution display:

 .'`^",:;Il!i><~+_-?][}{1)(|\/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$

Supported Video Formats

  • MP4, AVI, MOV, MKV, WMV, FLV
  • All formats supported by OpenCV

๐Ÿ› Troubleshooting

Common Issues

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 colorama

Video not playing:

  • Check video file path
  • Ensure video format is supported
  • Try with --info flag to check video properties

Poor quality output:

  • Increase width parameter (-w 150)
  • Check terminal size and font
  • Ensure good contrast in terminal

๐Ÿค Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • 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

About

Play videos in ASCII format in the console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors