AgentSkillsCN

video-workflow

通过提取视频音频并裁剪静音片段来处理视频。当用户希望清理视频、去除静音,或运行完整的视频处理流程时,可选用此方法。

SKILL.md
--- frontmatter
name: video-workflow
description: Process a video by extracting its audio and trimming silent parts. Use when the user wants to clean up a video, remove silence, or run the full video processing pipeline.

Run the following steps in order using the VotGO CLI (./votgo). The input video is $ARGUMENTS.

Step 1: Extract Audio

sh
./votgo extract-audio -i $ARGUMENTS -y

This pulls the audio track from the video. The output lands in output/.

Step 2: Remove Silence

sh
./votgo remove-silence -i $ARGUMENTS -y

This detects and cuts silent segments from the video. The cleaned video and a JSON silence report are saved to output/.

Notes

  • Always pass -y to avoid interactive prompts.
  • The extract-audio step preserves the original codec by default.
  • The remove-silence step re-encodes the video with libx264/aac.
  • Both outputs land in timestamped subdirectories under output/.