Audio Sync Assembly logo

Audio Sync Assembly

Community
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.

Overview

Publishersaranambiar
Repositoryhyperframes-video-agent-skills
Skill nameaudio-sync-assembly
Stars
47
Forks
0
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by saranambiar on GitHub. Read the source before you install it.

Installation

Install the Audio Sync Assembly AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/saranambiar/hyperframes-video-agent-skills/tree/main/skills/audio-sync-assembly
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audio Sync Assembly in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audio Sync Assembly on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audio Sync Assembly is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Audio Sync Assembly AI skill do?

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.

Why use Audio Sync Assembly on TypingMind?

Because you install it once and use it with any model. Audio Sync Assembly is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audio Sync Assembly in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/saranambiar/hyperframes-video-agent-skills/tree/main/skills/audio-sync-assembly. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Audio Sync Assembly?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audio Sync Assembly?

As many as you like. As long as a model supports skills, you can use Audio Sync Assembly with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audio Sync Assembly AI skill free?

Yes. It is published on GitHub by saranambiar under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇