Audio Sync Assemblyのロゴ

Audio Sync Assembly

コミュニティ
saranambiar
audio-sync-assembly

Build and revise FFmpeg-based video assemblies from scene renders and narration, including audio probing, scene retiming, pauses, trim/concat, setpts, atempo, phrase-to-visual cue alignment, and final timeline manifests. Use when narration length, visual beats, product moments, or scene boundaries must sync precisely.

概要

公開者saranambiar
リポジトリhyperframes-video-agent-skills
スキル名audio-sync-assembly
スター
47
フォーク
0
同梱ファイル
1
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    saranambiarがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAudio Sync AssemblyをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/saranambiar/hyperframes-video-agent-skills/tree/main/skills/audio-sync-assembly
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/saranambiar/hyperframes-video-agent-skills.git /tmp/hyperframes-video-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hyperframes-video-agent-skills/skills/audio-sync-assembly .claude/skills/audio-sync-assembly
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAudio Sync Assemblyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAudio Sync Assemblyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Audio Sync Assemblyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Audio Sync Assembly

Use this skill when video timing must follow narration or when multiple rendered scenes need to become one final timeline.

Source Of Truth

  • Use the latest approved narration audio as timing source.
  • Use scene renders as visual source.
  • Use templates/timeline-manifest.example.json to record target timing.
  • Do not infer timings from old final MP4s if source renders and audio clips exist.

Probe First

For every clip:

  • Duration.
  • Frame rate.
  • Resolution.
  • Audio stream presence.
  • Sample rate and channels.

Use ffprobe or this repo's media probe script once available.

Sync Strategy

Choose the smallest timing intervention:

  • Simple scene: retime whole scene to narration length with setpts.
  • Scene with cue points: split into segments and retime each segment.
  • Narration pause: insert silence and hold a frame.
  • Replacement audio slightly longer: use small audio-only atempo only if preserving downstream sync matters more than raw duration.
  • Product moment late/early: retime the segment before the product moment.

Read references/ffmpeg-retiming.md for command patterns.

Phrase Alignment

Map spoken phrase starts to global timestamps when visuals depend on narration:

  • Question cards.
  • Product states.
  • Chart points.
  • Scene title reveals.
  • CTA/logo arrival.

Caption timing and visual timing should share the same narration timeline.

Assembly Order

  1. Build synced scene segments.
  2. Concatenate synced segments into a narration-only master.
  3. Generate captions from narration-only master.
  4. Burn captions.
  5. Build music bed.
  6. Mix narration and ducked music.
  7. Produce final MP4 and preview clips.

QA

  • Probe final duration, frame rate, resolution, and audio.
  • Watch boundary previews.
  • Check exact cue timestamps with proof frames.
  • Listen for clipped words after trims.
  • Confirm no accidental blank final frame appears.

Output

Return:

  • Timeline manifest or script updates.
  • Final path.
  • Scene start map.
  • Preview clips.
  • Proof frames and probe results.

Timeline Manifest Fields

Track:

  • Scene ID.
  • Source render path.
  • Source duration.
  • Target duration.
  • Audio path.
  • Audio trim start/end.
  • Inserted silence.
  • Hold frames.
  • Segment retime ratios.
  • Global scene start.
  • Proof timestamps.

This prevents later caption and music work from guessing.

Audio Replacement Rules

When narration changes:

  • Probe old and new durations.
  • Decide whether visuals move or audio fits the existing slot.
  • If preserving downstream sync, use small audio-only tempo correction when acceptable.
  • If phrase timing changes materially, rebuild the segment map.
  • Regenerate captions from the new narration master.

Segment Mapping Heuristics

Split on:

  • Scene transitions.
  • Product moments.
  • Question reveals.
  • Chart points.
  • Title reveal.
  • Final hold.
  • Narration pauses.

Avoid splitting on arbitrary equal chunks.

Pause Handling

For intentional silence:

  • Insert silent audio.
  • Hold or subtly animate visuals.
  • Do not let music rise unless requested.
  • Preserve global downstream scene starts by accounting for pause duration.

Preview Clip Strategy

Generate preview clips for:

  • Updated narration insertion.
  • Product demo transition.
  • Question timing.
  • Caption style section.
  • Final 10 seconds.
  • Any scene boundary changed by the edit.

Common Mistakes

  • Retiming the full video when only one scene changed.
  • Letting replacement audio shift all downstream scenes.
  • Forgetting caption timings after narration changes.
  • Copying stream segments with non-keyframe starts and causing preview oddities.
  • Ending music before final video.

Handoff Format

Report:

  • Final scene start map.
  • Audio files used.
  • Any tempo changes.
  • Any inserted pauses.
  • Preview paths.
  • Final duration.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Audio Sync Assembly」では何ができますか?

Build and revise FFmpeg-based video assemblies from scene renders and narration, including audio probing, scene retiming, pauses, trim/concat, setpts, atempo, phrase-to-visual cue alignment, and final timeline manifests. Use when narration length, visual beats, product moments, or scene boundaries must sync precisely.

TypingMindでAudio Sync Assemblyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Audio Sync Assemblyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAudio Sync Assemblyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/saranambiar/hyperframes-video-agent-skills/tree/main/skills/audio-sync-assemblyを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Audio Sync Assemblyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Audio Sync Assemblyは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAudio Sync Assemblyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Audio Sync Assembly」は無料ですか?

はい。saranambiarがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇