Logo Video Audio Stack

Video Audio Stack

Tổ chức
sub-level
video-audio-stack

Sound design for Remotion marketing videos - the three-layer audio stack (music bed, transition impacts, tactile UI sounds), frame-keyed volume curves, sourcing licensed music and SFX from Epidemic Sound, and music validation with ffmpeg. Use when scoring a composition, picking or swapping a music track, deciding what should be silent, or debugging why the music dies before the video ends.

Tổng quan

Nhà phát hànhsub-level
Kho mãmarketing-videos
Tên kỹ năngvideo-audio-stack
Sao
72
Bản fork
9
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được sub-level công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Video Audio Stack trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/sub-level/marketing-videos/tree/main/.claude/skills/video-audio-stack
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sub-level/marketing-videos.git /tmp/marketing-videos
mkdir -p .claude/skills
cp -r /tmp/marketing-videos/.claude/skills/video-audio-stack .claude/skills/video-audio-stack
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Video Audio Stack trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Video Audio Stack ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Video Audio Stack với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Video Audio Stack

The sound design language of good launch films (Anthropic, Figma, Linear) is three layers:

LayerVolume rangeJob
Music bed0.18-0.70One track, end to end, with a frame-keyed volume curve that traces the narrative arc
Transition impacts0.55-0.65whoosh/whip on big physical moments (hero entrance, smash cut) - dominant for ~30 frames
Tactile UI0.04-0.45clicks, keystrokes, dings on individual UI events - present, never competing

Where the music and SFX come from

Epidemic Sound (https://www.epidemicsound.com) is the source for both layers in every film made with this method: the bed track and most of the one-shots (swooshes, morphs, UI confirms, taps, crowd swells). A subscription covers use in marketing videos and ads while it is active, which is what a launch film needs; read your own plan's terms before publishing, because coverage differs between personal, commercial and client work.

It ships an MCP server, so the agent can search the catalog and pull candidates itself instead of asking you to go hunting:

jsonc
// .mcp.json  (or `claude mcp add`)
{
  "mcpServers": {
    "epidemic-sound": {
      "type": "http",
      "url": "https://www.epidemicsound.com/a/mcp-service/mcp",
      "headers": { "Authorization": "Bearer ${EPIDEMIC_SOUND_TOKEN}" }
    }
  }
}

Notes that cost time if you learn them the hard way:

  • The token is yours and belongs in the environment, never in a committed file. Setting an explicit Authorization header disables the OAuth fallback, so when the token expires the server fails to connect with a bare 401 and no prompt to re-auth - refresh the token rather than debugging the URL.
  • Once connected, read the server's own tool list; search by mood, genre, BPM and energy, and audition candidates before downloading.
  • Whatever you use, write the track title and artist into the audio README next to the file. Six months later "which track was this?" is unanswerable from a waveform, and you need it for re-licensing and for the video platform's rights screens.

Free and attribution-free alternatives for one-shots: @remotion/sfx (peak-normalized to about -3 dB). Mix the two freely - the bed is what matters.

Never commit a licensed track to a public repo. Keep the audio folder out of git, or ship only the placeholder, and say in the README where the real one comes from.

Music bed

  • ONE track for the whole film. The volume curve is a keyframe table of [frame, volume] pairs interpolated in the volume={(f) => ...} callback (both extrapolations clamped). Shape it like a narrator: warm fade-in, build through the middle, DUCK under key spoken/typed moments so they sit in a quiet pocket, swell into the climax, settle on the outro.
  • Fade in over ~1s and out over ~1.5s minimum. Never remove the ramps.
  • Clamp the fade-out to a MUSIC_LEN constant, not to the composition length - then a growing cut can never hard-stop the track mid-note.
  • Duck under impacts; the impact owns the moment, the bed recovers after.

SFX cues

Wrap each one-shot in a <Sequence from={at}> so the sample's internal frame is 0 at trigger time (see src/lib/SfxCue.tsx):

tsx
<SfxCue src={staticFile("sfx/whoosh.wav")} at={155} volume={0.55} />
<SfxCue src={staticFile("sfx/ding.wav")}   at={235} volume={0.4} pitch={1.1} />
  • pitch is playbackRate doubling as pitch shift - vary the SAME sample (1.3 higher, 0.85 lower) so repeated pops/drops feel distinct without authoring new files.
  • Related events share one voice: if a purchase gets a bright ding, later confirmations echo a quieter, pitched version of the same ding.
  • Pull SFX from an attribution-free pack (e.g. @remotion/sfx, peak-normalized ~-3dB) and mirror the files into public/ so headless renders never touch the network.

Silence is a design choice, not a gap

The reflex is to put a sound on everything that moves. Resist it. On one film every per-letter typing click, every UI tap and every cut inside the on-screen recording was removed, and the cut got better: the typed lines, the device tap and the screen's own edits all play silent, carried by the music and one or two real impacts.

Rules of thumb:

  • A typed line does not need a click per letter. It sounds like a stock typewriter.
  • A tap you can SEE does not need a tap you can hear. If a tile lights up, the light is the tap.
  • Reserve dings for things the viewer should feel good about, and then use at most one. Pings on a reveal and on the final title card both got cut from the same film for making it feel like a tutorial.
  • One real, recorded, specific sound (a pack tearing, a keyboard, a shutter) is worth ten library whooshes. Duck the music under it and let it own its moment.

Timing a one-shot to the picture

  • Measure the sample's attack, do not assume it peaks at its start. Profile it in 100ms slices (ffmpeg -ss T -t 0.1 -i s.wav -af volumedetect -f null -) and find the real peak. A whoosh that peaks at 0.5s fired ON a cut blooms 15 frames into the new shot, which feels late. Do not eyeball it off a waveform view either: on one sample the visible crest at 1.25s was reverb tail and the real transient was at 0.5s. Only the per-100ms numbers tell you which.
  • For INSTANT events (a hard cut), trim the sample's head so the peak lands ~6 frames after it fires, and fire it on the cut. Keep the trimmed variant as its own file with the measurement in its name or comment.
  • Supplied organic recordings usually carry handling noise at the head. Trim it (trimBefore on the <Html5Audio>, or re-cut the file) so the first transient meets the frame it belongs to.
  • When the music should start on its downbeat, start it at source zero on that frame rather than fading it in - a fade across a drop wastes the drop.

Revising audio without re-rendering the video

A picture-locked film whose mix changed does not need a re-render. Render the composition to WAV and remux onto the existing master with a video stream copy:

bash
npx remotion render MyFilm out/audio.wav --codec=wav
ffmpeg -i out/film.mp4 -i out/audio.wav -map 0:v -map 1:a -c:v copy -c:a aac -b:a 320k \
  -movflags +faststart out/film-remix.mp4

Seconds instead of an hour, and the video stream is bit-identical to the approved one. Both aspect ratios share the same mix, so one WAV serves both.

Validating a music track BEFORE you cut to it

Audible length is not file length. Tracks bake in long fades and quiet intros; a "46s" file may carry energy for only 29s, and the film's climax lands on silence.

  1. Get real duration: ffprobe -v error -show_entries format=duration -of csv=p=0 track.wav
  2. Profile per-second loudness: for t in $(seq 0 44); do ffmpeg -ss $t -t 1 -i track.wav -af astats=metadata=1 -f null - 2>&1 | grep 'RMS level'; done Find where RMS falls off a cliff - that is the track's true end.
  3. A quiet intro (first ~10s) means the hook plays over near-silence - trim the track or skip into it with startFrom.

Do not assume a track can be loop-extended. Most produced tracks have no self-similar splice region; an eyeballed crossfade splice audibly lurches. Check first (autocorrelate the waveform/onset envelope, or just listen to a test splice). If it cannot loop, pick a longer track - do not ship the lurch.

Fit the cut to the track (or the track to the cut)

When the cut grows past the track's energy, you have three honest options, in order of preference: (1) get a re-export of the track at the new length, (2) retime the cut so the climax lands inside the track's energy window, (3) swap tracks. The dishonest option - letting the outro play over dead air - reads as a mistake to every viewer.

Licensing

The bed track is usually the ONLY licensed asset in the film. Placeholder tracks are fine in dev; before public publication, confirm the license covers distribution and swap if not. Never commit a track to a public repo unless its license explicitly allows redistribution.

A subscription library (Epidemic Sound and friends) covers you while the subscription is active and generally does NOT transfer to a client who later takes the film. If the film is being handed over, say so before you score it - that decision belongs upstream of the mix, not after picture lock.

Câu hỏi thường gặp

Kỹ năng AI Video Audio Stack làm được gì?

Sound design for Remotion marketing videos - the three-layer audio stack (music bed, transition impacts, tactile UI sounds), frame-keyed volume curves, sourcing licensed music and SFX from Epidemic Sound, and music validation with ffmpeg. Use when scoring a composition, picking or swapping a music track, deciding what should be silent, or debugging why the music dies before the video ends.

Vì sao nên dùng Video Audio Stack trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Video Audio Stack là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Video Audio Stack trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/sub-level/marketing-videos/tree/main/.claude/skills/video-audio-stack. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Video Audio Stack?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Video Audio Stack với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Video Audio Stack với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Video Audio Stack có miễn phí không?

Có. Kỹ năng này được sub-level phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇