SkillsGrove
SkillsGrove/Videoproduktion/leecyno1/newma-media-studio/dasheng-ffmpeg-toolkit

dasheng-ffmpeg-toolkit

Installation

$npx skills add https://github.com/leecyno1/newma-media-studio --skill dasheng-ffmpeg-toolkit
$git clone --depth 1 https://github.com/leecyno1/newma-media-studio.git /tmp/newma-media-studio && mkdir -p ~/.claude/skills && cp -r /tmp/newma-media-studio/skills/dasheng-ffmpeg-toolkit ~/.claude/skills/dasheng-ffmpeg-toolkit
Bitte installiere diesen Agent Skill für mich: https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/dasheng-ffmpeg-toolkit – lies zuerst seine SKILL.md und seine Skripte und installiere ihn erst dann in meinen Skills-Ordner, wenn du bestätigt hast, dass er sicher ist.

Zusammenfassung

Originalbeschreibung · MITUse when a video or audio file must be probed, clipped, transcoded, normalized, have audio extracted, or receive an image watermark through repeatable guarded FFmpeg commands.
Die folgende SKILL.md ist aus leecyno1/newma-media-studio (Commit 1760eda) unter der Lizenz MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2026 Newma Media Studio. Lizenz: LICENSE. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.

Newma FFmpeg Toolkit

Role

Provide a small safe wrapper around common FFmpeg engineering operations. Use this for deterministic media handling; use the director, B-roll, or caption skills for creative decisions.

Quick Start

python3 skills/dasheng-ffmpeg-toolkit/scripts/ffmpeg_toolkit.py probe --input /absolute/input.mp4
python3 skills/dasheng-ffmpeg-toolkit/scripts/ffmpeg_toolkit.py clip --input /absolute/input.mp4 --output /absolute/output.mp4 --start 4.2 --duration 12
python3 skills/dasheng-ffmpeg-toolkit/scripts/ffmpeg_toolkit.py transcode --input /absolute/input.mov --output /absolute/output.mp4
python3 skills/dasheng-ffmpeg-toolkit/scripts/ffmpeg_toolkit.py extract-audio --input /absolute/input.mp4 --output /absolute/audio.wav
python3 skills/dasheng-ffmpeg-toolkit/scripts/ffmpeg_toolkit.py watermark --input /absolute/input.mp4 --watermark-image /absolute/logo.png --output /absolute/output.mp4

Add --dry-run to any mutating command to print the exact argument list without executing it. Existing outputs are refused unless --overwrite is explicit.

Workflow

  1. Run probe and record duration, streams, frame size, codec, and frame rate.
  2. Choose the least lossy operation that satisfies the downstream contract.
  3. Use an absolute output path under ~/Desktop/自媒体创作/<run_id>/ for production work.
  4. Execute the wrapper; never assemble a shell command from untrusted filenames.
  5. Probe the result and run the repository's video_render_qc.py for final masters.

See references/operations.md for operation defaults and limitations.

Hard Rules

  • Never write outputs into skills/, .codex/skills/, or openclaw-skill-exports/.
  • Never overwrite an existing output implicitly.
  • Watermarks use an image overlay so the command does not depend on host font discovery.
  • The wrapper is not a substitute for subtitle proofreading, director review, or final QC.
Vollständigen Lizenztext ansehen (MIT)
MIT License

Copyright (c) 2026 Newma Media Studio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.