Skip to main content

play the video in the console as ASCII art

Project description

BadApple-Python-Module

Python Module: Play the video in the console as ASCII art.

Where there is light, there is Bad Apple!!

Install:

python -m pip install badapple

Recommended optional dependencies:

Only wav audio or no audio: Python module simpleaudio.

Multiple audio & video formats supported: command-line tool FFmpeg.

Run:

python -m badapple

Help message:

usage: badapple [options] ... 

BadApple-Python-OS-ISA-v0.0.3

options:
  -h, --help            show this help message and exit
  --help_audio          show avaliable players
  -i INPUT, --input INPUT
                        video file (use _BA_MP4 or _BA_BA to load built-in video)
  -o OUTPUT, --output OUTPUT
                        preload output file
  --font FONT           font data file
  --audio AUDIO         audio file (use _BA_WAV, _BA_MP3 or _BA_MP4 to load built-in audio)
  --audio_player AUDIO_PLAYER
                        audio player [auto ffplay avplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound pydub]
  -s SCALE, --scale SCALE
                        width:height
  -r RATE, --rate RATE  frame rate
  --not_clear           not clear screen (with ANSI) before each frame
  --contrast            contrast enhancement
  --preload             preload video (not play)
  --debug               debug

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

badapple-0.0.3.tar.gz (74.5 MB view hashes)

Uploaded Source

Built Distribution

badapple-0.0.3-py3-none-any.whl (74.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page