跳过主要内容
H

dsh-video-preflight

holderlink/dsh-video-preflight

上传 B 站前本地检查视频、响度、封面、标题、简介和标签,给出 PASS/WARN/FAIL 和修改建议。

安装

dsh plugin --profile web add github:holderlink/dsh-video-preflight

README

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.

相关插件