AGENT SKILL
ffmpeg-video-editing
Perform basic video editing operations (cut/trim/split/concat) with FFmpeg.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- ffmpeg-video-editing
- description
- Perform basic video editing operations (cut/trim/split/concat) with FFmpeg.
03 SKILL.md 正文
Steps
- Cut/trim using timestamps:
ffmpeg -ss 00:00:10 -to 00:00:30 -i input.mp4 -c copy output.mp4ffmpeg -ss 00:00:10 -t 20 -i input.mp4 -c copy output.mp4
- Precise cutting (re-encode for accuracy):
ffmpeg -ss 00:00:10 -i input.mp4 -t 20 -c:v libx264 -c:a aac output.mp4
- Concatenate (file-list method):
- Create
list.txtwithfile 'video1.mp4'lines, then:
ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4
- Create
- Split into time segments:
ffmpeg -i input.mp4 -c copy -f segment -segment_time 60 -reset_timestamps 1 output_%03d.mp4
Expected Result
Video content is cut/trimmed/concatenated/split as needed, using stream copy when possible and re-encoding when precision is required.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
★ 0
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
★ 0
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
★ 0
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
★ 0
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
★ 0
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
★ 0