video-processor
Remove specified time segments from a video and concatenate the remaining parts into a new video file.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- video-processor
- description
- Remove specified time segments from a video and concatenate the remaining parts into a new video file.
02 资源文件 1
- 脚本scripts/process_video.py5.3 KB
03 SKILL.md 正文
Steps
- Process the input video using the unified removal segments and write the required deliverable name:
python3 /root/.claude/skills/video-processor/scripts/process_video.py \ --input data/input_video.mp4 \ --output compressed_video.mp4 \ --remove-segments all_segments.json - Confirm the output video exists:
ls -l compressed_video.mp4
- (Optional) Quickly sanity-check duration is reduced:
ffprobe -v error -show_entries format=duration -of default=nw=1:nk=1 data/input_video.mp4ffprobe -v error -show_entries format=duration -of default=nw=1:nk=1 compressed_video.mp4
Expected Result
compressed_video.mp4 exists in the current workspace with the opening and long pauses removed while retaining teaching content.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms