跳到正文
TakoAPI
返回技能列表

ffmpeg-master

由 liudu2326526 提供

Media & Streaming
1.9k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Identify the hstack filter for horizontal stacking of two inputs

  2. 2

    Construct the filter_complex string combining hstack with xfade transition

  3. 3

    Set transition duration and offset based on the 10-second mark

  4. 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 或你在用的任意编程智能体里。

链接