ffmpeg-master
от liudu2326526
Media & StreamingКратко
Use when performing video/audio processing tasks.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
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
Установка
clawhub install liudu2326526/ffmpeg-masterВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.