360 Secure SkillHub
360 安全技能中心

Overlay Skill

核心功能涵盖片头片尾、字幕标题、转场、水印边框、下三分之一栏五大类,可满足品牌动画、对话字幕、场景转场等多种场景需求。支持FFmpeg和MoviePy后端,提供多风格预设模板,可配置文本、位置等参数,输入原始视频及需求,输出处理后的专业视频。

wells1137
wells1137
热度 33.99
最近更新 2026-03-03 14:57:50
分类:创作依赖:代码执行 / 读写文件应用场景:视频编辑

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add overlay-skill
Metadata
name
overlay-skill
description
Adds professional packaging and motion graphics to videos, including intros/outros, subtitles, transitions, watermarks, and lower thirds. Supports multiple styles and custom options.
version
2.0.0
author
wells1137
tags
["video","editing","motion graphics","ffmpeg","moviepy"]

Overlay Skill

This skill adds a variety of professional packaging and motion graphics to videos, enhancing their overall quality. It supports both FFmpeg and MoviePy as backend engines and provides a rich set of preset templates and flexible custom parameters.

Core Features

Feature Description Example Use Case
Intro/Outro Add an engaging opening or a professional closing. Brand logo animation, "Thanks for watching" screen.
Subtitles/Titles Overlay static or dynamic text information. Dialogue subtitles, chapter titles, call-to-action text.
Transitions Create smooth or dynamic transitions between clips. Fade between scenes, wipe to reveal next shot.
Watermark/Borders Add copyright information or decorative borders. Channel logo in corner, cinematic black bars.
Lower Thirds Display names, locations, or other info. Interviewee name and title, location identifier.

Workflow

To use this skill, the agent follows these general steps:

  1. Select Feature: Choose one of the five core features based on the user's request.
  2. Choose Style/Template: Select a preset style from templates/presets.json (e.g., modern, cyberpunk, business).
  3. Configure Parameters: Provide the necessary parameters to the appropriate script (e.g., text content, image paths, colors, positions).
  4. Execute Script: Run the corresponding Python script from the /scripts directory to generate the effect.
  5. Preview & Deliver: The final video is generated and presented to the user.

Usage Guide (for Agent Development)

This section details the command-line interface for each script, intended for agent developers to understand how to execute the skill's functions.

1. Intro/Outro

Script: add_intro_outro.py

python /home/ubuntu/skills/overlay-skill/scripts/add_intro_outro.py --input <video> --output <video> --type <intro|outro> --text "Your Text" --template <name>

2. Subtitles/Titles

Script: add_subtitles.py

python /home/ubuntu/skills/overlay-skill/scripts/add_subtitles.py --input <video> --output <video> --text "Your Text" --start HH:MM:SS --end HH:MM:SS --style <name>

3. Transitions

Script: add_transition.py

python /home/ubuntu/skills/overlay-skill/scripts/add_transition.py --input1 <video1> --input2 <video2> --output <video> --type <fade|slide|wipe>

4. Watermark/Borders

Script: add_watermark.py

python /home/ubuntu/skills/overlay-skill/scripts/add_watermark.py --input <video> --output <video> --image <image> --position <pos> --border-color <color>

5. Lower Thirds

Script: add_lower_third.py

python /home/ubuntu/skills/overlay-skill/scripts/add_lower_third.py --input <video> --output <video> --title "Title" --subtitle "Subtitle" --template <name>

Resources

  • /scripts/: Contains the Python implementation code for all features.
  • /templates/presets.json: A JSON file containing preset styles for intros, subtitles, and lower thirds.
  • /references/ffmpeg_moviepy_cheatsheet.md: A cheatsheet with common commands and tips for FFmpeg and MoviePy.