Loading...
Loading...
Compare original and translation side by side
Automate repetitive video editing tasks using FFmpeg - the industry-standard tool powering YouTube, Netflix, and most video platforms.
使用FFmpeg自动化完成重复的视频编辑任务——FFmpeg是支撑YouTube、Netflix及大多数视频平台的行业标准工具。
| Claude Does | You Decide |
|---|---|
| Structures production workflow | Final creative direction |
| Suggests technical approaches | Equipment and tool choices |
| Creates templates and checklists | Quality standards |
| Identifies best practices | Brand/voice decisions |
| Generates script outlines | Final script approval |
| Claude负责 | 由你决定 |
|---|---|
| 构建生产工作流 | 最终创意方向 |
| 提出技术方案 | 设备与工具选择 |
| 创建模板和检查清单 | 质量标准 |
| 识别最佳实践 | 品牌/风格决策 |
| 生成脚本大纲 | 最终脚本审批 |
pip install ffmpeg-python moviepy clickpip install ffmpeg-python moviepy clickundefinedundefinedpython scripts/main.py compress video.mp4 --target-mb 10
python scripts/main.py compress video.mp4 --crf 28 --output compressed.mp4python scripts/main.py compress video.mp4 --target-mb 10
python scripts/main.py compress video.mp4 --crf 28 --output compressed.mp4python scripts/main.py extract-audio video.mp4 --format mp3
python scripts/main.py extract-audio video.mp4 --format wav --output audio.wavpython scripts/main.py extract-audio video.mp4 --format mp3
python scripts/main.py extract-audio video.mp4 --format wav --output audio.wavpython scripts/main.py resize video.mp4 --format instagram # 1080x1920 (9:16)
python scripts/main.py resize video.mp4 --format youtube # 1920x1080 (16:9)
python scripts/main.py resize video.mp4 --format square # 1080x1080 (1:1)
python scripts/main.py resize video.mp4 --width 1280 --height 720python scripts/main.py resize video.mp4 --format instagram # 1080x1920 (9:16)
python scripts/main.py resize video.mp4 --format youtube # 1920x1080 (16:9)
python scripts/main.py resize video.mp4 --format square # 1080x1080 (1:1)
python scripts/main.py resize video.mp4 --width 1280 --height 720python scripts/main.py clip video.mp4 --start 00:30 --end 01:45
python scripts/main.py clip video.mp4 --start 00:30 --duration 60python scripts/main.py clip video.mp4 --start 00:30 --end 01:45
python scripts/main.py clip video.mp4 --start 00:30 --duration 60python scripts/main.py concat video1.mp4 video2.mp4 --output merged.mp4
python scripts/main.py concat ./clips/ --output compilation.mp4python scripts/main.py concat video1.mp4 video2.mp4 --output merged.mp4
python scripts/main.py concat ./clips/ --output compilation.mp4python scripts/main.py thumbnail video.mp4 --time 00:30
python scripts/main.py thumbnail video.mp4 --best # Auto-select best framepython scripts/main.py thumbnail video.mp4 --time 00:30
python scripts/main.py thumbnail video.mp4 --best # 自动选择最佳帧undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined| Platform | Format | Resolution | Max Size | Max Duration |
|---|---|---|---|---|
| Instagram Reels | 9:16 | 1080x1920 | 4GB | 90s |
| Instagram Feed | 1:1 | 1080x1080 | 4GB | 60s |
| TikTok | 9:16 | 1080x1920 | 287MB | 10min |
| YouTube Shorts | 9:16 | 1080x1920 | - | 60s |
| YouTube | 16:9 | 1920x1080 | 256GB | 12h |
| 1:1/16:9 | 1920x1080 | 5GB | 10min | |
| Twitter/X | 16:9 | 1920x1080 | 512MB | 2:20 |
| 平台 | 格式 | 分辨率 | 最大文件大小 | 最长时长 |
|---|---|---|---|---|
| Instagram Reels | 9:16 | 1080x1920 | 4GB | 90秒 |
| Instagram Feed | 1:1 | 1080x1080 | 4GB | 60秒 |
| TikTok | 9:16 | 1080x1920 | 287MB | 10分钟 |
| YouTube Shorts | 9:16 | 1080x1920 | - | 60秒 |
| YouTube | 16:9 | 1920x1080 | 256GB | 12小时 |
| 1:1/16:9 | 1920x1080 | 5GB | 10分钟 | |
| Twitter/X | 16:9 | 1920x1080 | 512MB | 2分20秒 |
ultrafastslowultrafastslowcategory: automation
subcategory: video-processing
dependencies: [ffmpeg-python, moviepy]
difficulty: beginner
time_saved: 5+ hours/weekcategory: automation
subcategory: video-processing
dependencies: [ffmpeg-python, moviepy]
difficulty: beginner
time_saved: 5+ hours/week