ffmpeg-master
bởi liudu2326526
Media & StreamingTóm tắt
Use when performing video/audio processing tasks.
Mô tả
Kỹ năng này làm gì
Generates FFmpeg and FFprobe shell commands for video and audio processing tasks. Covers transcoding, filtering, stream manipulation, metadata editing, and complex filtergraph operations. Supports hardware acceleration options for NVIDIA, Intel, and Apple platforms.
FFmpeg's command syntax is dense and error-prone, so having a specialist that generates correct commands with proper flag ordering, filter syntax, and stream mapping saves significant trial and error.
Khi nào nên dùng
- Convert MP4 files to MKV with H.265 encoding
- Extract audio tracks from video files
- Add watermarks or text overlays to videos
- Cut, trim, or concatenate multiple video clips
- Inspect codec and stream metadata of a media file
Quy trình ví dụ
User asks: 'Create a side-by-side comparison video from two 1080p clips and add a fade transition at the 10-second mark'
- 1
Identify the hstack filter for horizontal stacking of two inputs
- 2
Construct the filter_complex string combining hstack with xfade transition
- 3
Set transition duration and offset based on the 10-second mark
- 4
Assemble the full ffmpeg command with -filter_complex and output settings
ffmpeg -i left.mp4 -i right.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[stacked];[stacked]xfade=transition=fade:duration=1:offset=10" -c:v libx264 -crf 23 output.mp4
Cài đặt
clawhub install liudu2326526/ffmpeg-masterChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.