script to generate accompanying visuals for voice dramas from .ass subtitle files
Project description
Dramasub
A tool for auto-generating visuals for a video based off of an .ass
subtitle file. Intended for creating visual novel-style visual accompaniments for audio-only content, such as drama CDs.
Installation and Requirements:
Dramasub can be installed via:
pip install dramasub
Requires FFmpeg to be installed and for both ffmpeg
and ffprobe
configured in PATH. Also requires the Wand Python bindings, which requires ImageMagick; please see the Wand documentation for installation instructions.
Has only been tested with Windows, but may work on other platforms.
Args:
-i
,--input
: Input video file (audio and non-overlay background visuals, such as scene transitions)-o
,--output
: Output video file-c
,--config
: Config file (.py
) that lists what visuals are assigned to each Actor and Effect specified in the .ass subtitle file. For more details, seeexamples/example_config.py
.-a
,-ass
: Input subtitle file (.ass
). IMPORTANT: Must be in the current working directory (path your terminal is in) due to issues with ffmpeg. For an example actor/effect setup, seeexamples/example_sub.ass
.--cook_only
(optional): For previewing visuals without processing the whole video. Only reads the.ass
file and generates accompanying images to thekitchen
path specified in the config. If set, does not require output video path to be specified, but input video is still required.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dramasub-0.0.3.tar.gz
.
File metadata
- Download URL: dramasub-0.0.3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c37dd01c7e27cc43eb2e2b51dcbe4e06dfaddf57b3bf9d99e3020487d6355f53 |
|
MD5 | 1f7bd7a81881b29278bfcf272a3bd059 |
|
BLAKE2b-256 | 613f86bebb58a916cb015ac3f2b6d8b65bb6b8b35a0b7e82e99b43ca97937747 |
File details
Details for the file dramasub-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: dramasub-0.0.3-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f87b14029bda5149278bc5778875bfeb82a4c6cb1c131fb23b99ab575c06f7e |
|
MD5 | dc9c492723865456bcd1f24d219f3fb6 |
|
BLAKE2b-256 | 67df1332e1209ff3e2e723dd1e372bb7c649cbf6f8cc883e5b10dc828f2ebe44 |