スキル一覧に戻る

c-video-edit

daxaur
更新日 2 days ago
1 閲覧
143
6
143
GitHubで表示
メタvideoeditingremotioneditlyreactrenderingcreative

について

c-video-editは、Reactベースの動的動画作成にはRemotionを、迅速なJSONベースのアセンブリにはEditlyを使用して、プログラムによる動画作成を可能にします。開発者はコードから直接動画の作成、レンダリング、合成を行うことができます。動的コンテンツ、データ可視化、自動編集など、プログラムによる動画生成が必要な場合にこのスキルをご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add daxaur/openpaw -a claude-code
プラグインコマンド代替
/plugin add https://github.com/daxaur/openpaw
Git クローン代替
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-video-edit

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Video Editing — Remotion & Editly

Create, render, and compose videos programmatically. Use Remotion for React-based dynamic videos or Editly for quick JSON-based assembly.

Remotion (React-based video creation)

Project Setup

# Create a new Remotion project
npx create-video@latest my-video
cd my-video

# Start interactive studio
npx remotion studio

Rendering

# Render a composition to video
npx remotion render src/index.ts MyComposition out/video.mp4

# Render a still frame (thumbnail)
npx remotion still src/index.ts MyComposition out/thumbnail.png --frame=30

# List available compositions
npx remotion compositions src/index.ts

Render Options

# Resolution and FPS
npx remotion render src/index.ts MyComp out.mp4 --width 1920 --height 1080 --fps 30

# Codec (h264, h265, vp8, vp9, prores)
npx remotion render src/index.ts MyComp out.mp4 --codec h264

# Quality (CRF 0-51, lower = better)
npx remotion render src/index.ts MyComp out.mp4 --crf 18

# Speed preset
npx remotion render src/index.ts MyComp out.mp4 --x264-preset fast

# Pass data as props
npx remotion render src/index.ts MyComp out.mp4 --props='{"title":"Hello","color":"blue"}'

# Parallel rendering (faster)
npx remotion render src/index.ts MyComp out.mp4 --concurrency 4

# Benchmark render time
npx remotion benchmark src/index.ts MyComp

Composition Structure

// src/Root.tsx — register compositions
import { Composition } from "remotion";
import { MyVideo } from "./MyVideo";

export const RemotionRoot = () => (
  <Composition id="MyVideo" component={MyVideo}
    durationInFrames={150} fps={30} width={1920} height={1080} />
);

// src/MyVideo.tsx — video content
import { useCurrentFrame, interpolate, AbsoluteFill, Sequence } from "remotion";

export const MyVideo = () => {
  const frame = useCurrentFrame();
  const opacity = interpolate(frame, [0, 30], [0, 1]);
  return (
    <AbsoluteFill style={{ backgroundColor: "black" }}>
      <Sequence from={0} durationInFrames={60}>
        <h1 style={{ color: "white", opacity }}>Hello World</h1>
      </Sequence>
    </AbsoluteFill>
  );
};

Editly (JSON-based declarative editing)

Quick Assembly

# Simple concatenation with titles
editly title:'Intro' clip1.mov clip2.mov title:'THE END' --out output.mp4

# From JSON spec
editly spec.json5 --fast --out output.mp4

# Add background music
editly spec.json5 --audio-file-path music.mp3 --out output.mp4

JSON Spec Format

{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "outPath": "output.mp4",
  "defaults": {
    "duration": 4,
    "transition": { "name": "fade", "duration": 0.5 }
  },
  "clips": [
    {
      "duration": 3,
      "layers": [{ "type": "title-background", "text": "My Video", "background": { "type": "linear-gradient" } }]
    },
    {
      "layers": [{ "type": "video", "path": "clip1.mp4", "cutFrom": 0, "cutTo": 10 }]
    },
    {
      "layers": [
        { "type": "image", "path": "photo.jpg" },
        { "type": "title", "text": "Caption", "position": "bottom" }
      ]
    }
  ],
  "audioFilePath": "background.mp3",
  "keepSourceAudio": false
}

Layer Types

  • video — video clip (cutFrom/cutTo for trimming)
  • audio — audio track
  • image — static image
  • title-background — full-screen title card with background
  • title — text overlay
  • subtitle — subtitle text
  • gl — WebGL shader transition/effect

Guidelines

  • Remotion — best for complex, data-driven, animated videos (dashboards, branded content, social media)
  • Editly — best for quick assembly (concatenation, transitions, title cards, slideshows)
  • Both require ffmpeg (installed automatically with this skill)
  • Remotion renders can be CPU-intensive — warn user about duration for long compositions
  • Always confirm output path before rendering to avoid overwriting
  • Use --fast flag with Editly for quick previews before final render

GitHub リポジトリ

daxaur/openpaw
パス: skills/c-video-edit
0
ai-agentanthropicautomationclaudeclaude-codecli

関連スキル

content-collections

メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る

polymarket

メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る

creating-opencode-plugins

メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る

sglang

メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る