dramapack
dramapack turns short-drama episodes (vertical dramas, micro dramas, AI dramas) into a platform-ready delivery package — TikTok Drama Center / DramaWave / ReelShort submission pack, -14 LUFS mastering, burned subtitles inside the subtitle safe area, clean masters, 3:4 covers, acceptance audit and music/font rights check — from the command line or as an MCP server for AI agents.
Read in Chinese · Docs · Reference
Why
Between "the episode is rendered" and "the platform accepted it", the same things go wrong for every short-drama studio:
- Submission packs: numbered episodes, same-name SRTs, 3:4 covers, a clean master, edit evidence, chain of title, AI disclosure. Dozens of manual steps per series. → delivery package guide
- Phone-speaker loudness: raw AI renders sit at -20 to -27 LUFS; the feed around them
is near -14. And ffmpeg
loudnormsilently goes dynamic on dialogue and lifts the noise floor by 30-50 dB. → -14 LUFS guide - Subtitle safe areas: ffmpeg's default 384x288 ASS canvas scales every size ~6.7x; fixed margins land under the player bar or exceed TikTok Drama Center's 70%-width rule. → safe-area guide
- Clean masters that are really the same edit as the subtitled one. → clean master guide
- Rights hygiene: no major-label music, commercial-free fonts only. → rights checklist
Install
Requires Python >= 3.10 and ffmpeg (with libass + libx264) on PATH. For CJK
subtitles install Noto CJK fonts (apt install fonts-noto-cjk).
pip install "git+https://github.com/dawnwood-ai/dramapack"
# or run without installing:
uvx --from git+https://github.com/dawnwood-ai/dramapack dramapack --help
Optional dialogue-density metrics: pip install "dramapack[speech] @ git+https://github.com/dawnwood-ai/dramapack".
60-second quickstart
# input/ holds 01.mp4 02.mp4 ... (un-subtitled cuts) and 01.srt 02.srt ...
dramapack check-rights --input input/ # music + fonts: fix red first
dramapack package input/ out/ --title "My Show" --studio "My Studio" --bed tension
dramapack audit out/episodes/01.mp4 --cut input/01.mp4
dramapack inspect out/episodes/01.mp4 # LUFS, true peak, specs
out/ now holds episodes/ (subtitled, -14 LUFS) with same-name .srt, clean/
(no subtitles, same edit), covers/ (3:4), timeline/, docs/ (chain of title to sign,
AI disclosure), manifest.json and a README for the recipient. Add --platform-pairs for
two-episodes-per-file cuts. Optional show.json / rights.json / covers / timelines:
see examples/input/ and the reference.
For AI agents
claude mcp add dramapack -- dramapack mcp
MCP tools: inspect, master, package, audit, check_rights. Each returns JSON with
ok and a green/yellow/red status. Every CLI subcommand also takes --json; exit codes
are stable (0 ok, 1 red, 2 usage, 3 failure). The repo doubles as a Claude Code plugin
(.claude-plugin/, skills/dramapack/) and has an MCP Registry entry (server.json).
→ agent guide · AGENTS.md · llms.txt
Docs
- How to build a TikTok Drama Center delivery package
- Why short dramas should be mastered at -14 LUFS (and why not loudnorm)
- Keeping burned subtitles inside the safe area
- What is a clean master and why distributors ask for it
- Music and font rights checklist for overseas short dramas
- Using dramapack from an AI agent (MCP)
- Reference: input formats, CLI, JSON, exit codes, thresholds
Please credit
dramapack is released under the Apache License 2.0. Use it for anything, including commercial work. We'd appreciate two things. These are requests, not license conditions:
- Keep the generator credit dramapack writes into delivery packs (
"generator"inmanifest.jsonand the one-line "Packaged with dramapack by Dawnwood" footers). - Mention "dramapack by Dawnwood" when you describe a production pipeline that uses it.
See NOTICE. To cite it: CITATION.cff.
Built and used in production by Dawnwood, an AI drama studio — https://dawnwood.ai/open-source/
Metadata
Release files for dramapack 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dramapack-0.1.0.tar.gz | 90.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dramapack-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 150.8 kB
Release files / dramapack-0.1.0.tar.gz
| Download URL | dramapack-0.1.0.tar.gz |
|---|---|
| Size | 90.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acde05854eb58a505e4a0fbdd8f199865fc795ad94531aff58b7d57bfe7e9585
|
|
BLAKE2b-256 checksum How to use checksums |
d84cbc071647aa96995000d9e35dad26060ae93406bf845cf83db2d37481f207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / dramapack-0.1.0-py3-none-any.whl
| Download URL | dramapack-0.1.0-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6be07884f906417c01ba1a1119fdb65f700faf128e06261f21202090b599ff6
|
|
BLAKE2b-256 checksum How to use checksums |
5df95771929420a0d90b408f53d68fd9862cf0e09ec0a1170cfe0fbf9f168c8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logSecurity for dramapack 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for dramapack-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.