Skip to content

gordnzhou/ASCII-Animation-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII-Animation-generator

A command-line script that plays any MP4 file as an ASCII animation within a command-line interface.

Disclaimer:

This project's example and inspiration are both taken from a trend on the internet of shocasing remakes of the animation of Bad Apple!! on a large variety of technologies (like in within a CLI).

Why...

Why not?

alt text

Installation

  1. Clone the repository:
git clone https://github.com/complexape/ASCII-Animation-generator.git
  1. Install all of the required packages:
pip install -r requirements.txt
  1. Navigate to to your cloned repo in your file explorer, and drag any MP4 files into the /videos folder. (Videos will NOT be detected if they're outside of the /videos folder)

Usage

  1. Run the python file:
python main.py
  1. If you have multiple MP4 files inside of /videos, there will be list of all the files for you to choose.
1 - badapple.mp4
2 - video.mp4
3 - video2.mp4
respond with the number of the file you would like to play: 1

(Your chosen video's audio will get downloaded as a seperate MP3 file in the /audio folder.)

Tip:

  • Use Ctrl-C or Command-C (for Mac) to pause or end the animation!
Animation paused. Continue? (y)

About

Generates an ASCII animation in command line for a video file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages