一键导入
videoeditor
Automated video editing using FFmpeg. Use when trimming videos, merging clips, adding audio, or automating video production workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automated video editing using FFmpeg. Use when trimming videos, merging clips, adding audio, or automating video production workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Craft Docs API integration for document management, collaboration, and knowledge organization. Use when managing documentation, syncing content, or organizing knowledge bases.
Generate clear, patient educational voiceovers (130-150 WPM). Optimized for courses, tutorials, and instructional content with authoritative, calm delivery.
Generate energetic, persuasive marketing voiceovers (150-170 WPM). Optimized for promotional content, ads, and sales materials with confident, motivating delivery.
Generate calm, soothing meditation voiceovers with slow, deliberate pacing. Optimized for relaxation, mindfulness, and guided meditation content.
Generate professional podcast voiceovers with conversational, warm tone (140-160 WPM). Optimized for natural, engaging delivery in multi-segment episodes.
Generate professional voiceovers in the user's voice using ElevenLabs AI. Use when creating audio for videos, podcasts, courses, or any content requiring spoken narration.
| name | videoeditor |
| description | Automated video editing using FFmpeg. Use when trimming videos, merging clips, adding audio, or automating video production workflows. |
| version | 1.0.0 |
Note: Review PROFILE.md for user-specific video quality settings, encoding preferences, and workflow defaults.
Master Briefing: Global brand voice at
~/.superskills/master-briefing.yamlapplies automatically. Skill profile overrides when conflicts exist.
Automate video editing tasks with FFmpeg-powered operations including trimming, merging, audio mixing, and format conversion.
VideoEditor.py (in src/):
Trim Video:
from superskills.videoeditor.src import VideoEditor
editor = VideoEditor(output_dir="output/videos")
result = editor.trim_video(
input_file="long_recording.mp4",
start_time="00:02:30",
end_time="00:15:45",
output_name="trimmed_section"
)
print(f"Trimmed video: {result.output_file}")
print(f"Duration: {result.duration_seconds}s")
Merge Multiple Videos:
clips = [
"intro.mp4",
"main_content.mp4",
"outro.mp4"
]
result = editor.merge_videos(
input_files=clips,
output_name="complete_video"
)
print(f"Merged video: {result.output_file}")
Add Audio Track:
result = editor.add_audio(
video_file="video.mp4",
audio_file="narration.mp3",
output_name="video_with_audio"
)
Convert Format:
result = editor.convert_format(
input_file="video.mov",
output_format="mp4",
quality="high"
)
Extract Thumbnail:
thumbnail = editor.extract_thumbnail(
video_file="video.mp4",
timestamp="00:00:10",
output_name="thumbnail.jpg"
)
# No API keys required - FFmpeg is a local tool
# Ensure FFmpeg is installed on system
FFmpeg Installation:
# macOS
brew install ffmpeg
# Ubuntu/Debian
sudo apt-get install ffmpeg
# Windows
# Download from ffmpeg.org
With Transcriber (Add Subtitles):
from superskills.transcriber.src import Transcriber
from superskills.videoeditor.src import VideoEditor
transcriber = Transcriber()
subs = transcriber.transcribe("video.mp4", output_format="srt")
editor = VideoEditor()
result = editor.add_subtitles(
video_file="video.mp4",
subtitle_file=subs.output_file,
output_name="video_with_subs"
)
With Narrator (Add Voiceover):
from superskills.narrator.src import VoiceoverGenerator
from superskills.videoeditor.src import VideoEditor
narrator = VoiceoverGenerator()
audio = narrator.generate(
script="Welcome to this tutorial...",
content_type="educational"
)
editor = VideoEditor()
result = editor.add_audio(
video_file="silent_video.mp4",
audio_file=audio['output_file'],
output_name="video_with_narration"
)
With CoursePackager (Package Video Course):
from superskills.videoeditor.src import VideoEditor
from superskills.coursepackager.src import CoursePackager
editor = VideoEditor()
# Merge lesson videos
lessons = ["lesson1.mp4", "lesson2.mp4", "lesson3.mp4"]
full_course = editor.merge_videos(lessons, output_name="full_course")
# Package with materials
packager = CoursePackager()
package = packager.package_course(
course_name="Video Course",
files=[full_course.output_file, "workbook.pdf"]
)
Trim: Cut video to specific time range
Merge: Concatenate multiple clips
Add Audio: Mix or replace audio track
Convert: Change format/codec
Extract: Get thumbnails or frames
Resize: Change resolution
Compress: Reduce file size
# System dependency
ffmpeg (install via package manager)
# Python wrapper
pip install ffmpeg-python