play the video in the console as ASCII art
Project description
Python Module: Play the video in the console as ASCII art.
Where there is light, there is Bad Apple!!
Installation
python -m pip install badapple
with audio:
python -m pip install badapple[audio]
with any supported player:
python -m pip install badapple[dev]
Run
python -m badapple
Help Message
usage: badapple [options] ...
BadApple-Python-OS-ISA-Version
options:
-h, --help show this help message and exit
--help_audio show avaliable players (default: False)
-i INPUT, --input INPUT
video file (use _BA_MP4 or _BA_BA to load built-in video) (default: _BA_MP4)
-o OUTPUT, --output OUTPUT
preload output file (default: )
--font FONT font data file (default: )
--audio AUDIO audio file (use _BA_WAV, _BA_MP3 or _BA_MP4 to load built-in audio) (default: )
--audio_player AUDIO_PLAYER
audio player [ffplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound auto] (default: )
-s SCALE, --scale SCALE
width:height (0 means auto) (default: 0:0)
-r RATE, --rate RATE frame rate (default: 1024.0)
--colorful RGB with ANSI (Experimental) (default: False)
--not_clear not clear screen (with ANSI) before each frame (default: False)
--contrast contrast enhancement (default: False)
--preload preload video (not play) (default: False)
--debug debug (default: False)
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.7.tar.gz
(74.2 MB
view hashes)
Built Distribution
badapple-0.0.7-py3-none-any.whl
(74.2 MB
view hashes)