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` `_BA_BA` to load built-in video) (default: _BA_MP4)
-o OUTPUT, --output OUTPUT
preload output file (default: )
-s SCALE, --scale SCALE
width:height (0 means auto) (default: 0:0)
-r RATE, --rate RATE frame rate (default: 1024.0)
--audio AUDIO audio file (use `_BA_WAV` `_BA_MP3` `_BA_MP4` to load built-in audio) (default: )
--audio_player AUDIO_PLAYER
audio player [ffplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound auto] (default: )
-c COLOR, --color COLOR
color type [ascii rgb24 halfwidth fullwidth x256e x256w x232e x232w] (default: ascii)
-m MESSAGE, --message MESSAGE
print message (default: )
--font FONT font data file (use `_BA_CONSOLA` to load built-in font data) (default: _BA_CONSOLA)
--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.8.tar.gz
(74.2 MB
view hashes)
Built Distribution
badapple-0.0.8-py3-none-any.whl
(74.2 MB
view hashes)