dsh-duanju-slice

Short-drama clipping workbench: given a drama folder, a script DOCX, an export folder and a content direction, it picks the matching lines, obtains their real time codes by streaming the episode audio to Doubao speech recognition (a Doubao voice API key is required), tightens the cut to the returned word timestamps, checks the boundary frames, and exports an editable Jianying draft plus an MP4 carrying the source dialogue, BGM and sound effects; trim points and volume can be revised in the same chat and every revision is kept as a new version.

Overview

Short-drama clipping workbench: given a drama folder, a script DOCX, an export folder and a content direction, it picks the matching lines, obtains their real time codes by streaming the episode audio to Doubao speech recognition (a Doubao voice API key is required), tightens the cut to the returned word timestamps, checks the boundary frames, and exports an editable Jianying draft plus an MP4 carrying the source dialogue, BGM and sound effects; trim points and volume can be revised in the same chat and every revision is kept as a new version.

Installation

Install from GitHub

dsh plugin --profile web add github:yanghangju/dsh-duanju-slice

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands