跳到正文
TakoAPI
返回技能列表

insaiai-intelligent-editing

由 liudu2326526 提供

Coding Agents & IDEs
825下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Use when performing video/audio processing tasks including transcoding, filtering, streaming, metadata.

描述

该技能的功能

A guide for video and audio manipulation using FFmpeg and FFprobe. Covers transcoding between formats and codecs, applying filters, complex filtergraph operations, metadata editing, and live stream output. Includes ready-to-run shell commands for common tasks like cutting, scaling, watermarking, and batch conversion.

FFmpeg handles decoding, filtering, encoding, and muxing in a single command, removing the need for separate tools for each step in a media processing pipeline.

何时使用

  • Converting a video to H.265 to reduce file size before sharing
  • Cutting a specific segment out of a long recording
  • Burning subtitles into a video file for distribution
  • Mixing background music under a voiceover at reduced volume
  • Pushing a local video file to a YouTube or Twitch live stream

示例工作流

输入

User asks: add a watermark image to the bottom-right corner of input.mp4

智能体
  1. 1

    Identify the input video and watermark image paths

  2. 2

    Select the overlay filter with position calculated from main dimensions minus overlay dimensions minus padding

  3. 3

    Construct the ffmpeg command using -filter_complex with overlay=main_w-overlay_w-10:main_h-overlay_h-10

  4. 4

    Run the command and verify the output file is created

输出

ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=main_w-overlay_w-10:main_h-overlay_h-10" output.mp4

前置要求

  • FFmpeg installed (ffmpeg and ffprobe binaries)
  • RTMP stream key from YouTube or Twitch (only required for live streaming)

安装

clawhub install liudu2326526/insaiai-intelligent-editing

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接