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 details)
Built Distribution
badapple-0.0.8-py3-none-any.whl
(74.2 MB
view details)
File details
Details for the file badapple-0.0.8.tar.gz
.
File metadata
- Download URL: badapple-0.0.8.tar.gz
- Upload date:
- Size: 74.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1323d539a15faf451280ed6e3fb0657c08a08af4b1c64bd470bcd320ac81b5 |
|
MD5 | f511928c047a19d256bbc62b6bcbbf90 |
|
BLAKE2b-256 | 0a7995b67cf5dadf06a6fd3fa7ddc7bbcc522dcdde005e9e07e147efc25c8749 |
File details
Details for the file badapple-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: badapple-0.0.8-py3-none-any.whl
- Upload date:
- Size: 74.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec273c9174bae2914e1d693e08aade354a29619f9246eb1e00a2dbe1a1cff4ee |
|
MD5 | 28bb39b566f79d05f4255b1500b5bc0c |
|
BLAKE2b-256 | 02c8e03b193a405453da52c39676b612ff07cf83c089276d8ba82060ca00c516 |