H
dsh-video-preflight
holderlink/dsh-video-preflight
Checks a local video, loudness, cover, title, description and tags before uploading to Bilibili, with PASS/WARN/FAIL and fix hints.
설치
dsh plugin --profile web add github:holderlink/dsh-video-preflightREADME
dsh-video-preflight
DSH Host plugin: local Bilibili upload preflight.
One tool, video_preflight, checks:
- duration, resolution, fps, codecs, audio stream
- loudness mean/peak (ffmpeg
volumedetect) - cover dimensions/aspect/size
- title ≤80, description ≤2000, tags 1–10
- AI declaration warning
Returns PASS / WARN / FAIL with fix hints. No network, no Bilibili API, no upload.
Install
Copy this directory into a workspace and install it from Plugins → Add plugin → local directory (or plugin_manager install_bundle).
Requires ffmpeg/ffprobe and pip install pillow.
Set FFMPEG/FFPROBE if they are not on PATH; set PREFLIGHT_PYTHON if python is not on PATH.
Example
video_preflight file="C:\video\final.mp4" cover="C:\video\cover.png" title="标题" desc="简介" tags=["DSH","AI"]
License
MIT.