packages/template-audiogram/README.md
This template is for creating "audiograms". In other words, video clips from podcast episodes, or any other audio. It's a popular way of sharing audio snippets on social media.
<p align="center"> </p>npm i
npx remotion studio
Start changing things like this:
src/Root.tsx or in the Studio sidebarpublic folderRun this:
npx remotion render
Or check out the Remotion docs. There are lots of ways to render.
You can generate the captions or supply a .srt file or a .json file that follows the @remotion/captions format.
With the built-in transcription script using @remotion/install-whisper-cpp:
bun transcribe.ts
# With Node.js: `npx tsx transcribe.ts`
This will:
Alternatively, use @remotion/openai-whisper to get captions from OpenAI Whisper into the right shape.
Get it from a provider:
If you supply a .srt, make sure to export subtitles that are segmented by word rather than by sentence.
If your audio is long, make sure to pass a .wav file as audio.
The template will use useWindowedAudioData() to only fetch the data around the current time.
Otherwise, the waveform of the whole audio needs to be fetched, which may be slow.
Get started with Remotion by reading the fundamentals page.
We provide help on our Discord server.
Found an issue with Remotion? Upgrade Remotion to receive fixes:
npx remotion upgrade
Didn't help? File an issue here.
The source of this template is in the Remotion Monorepo.
Don't send pull requests here, this is only a mirror.
Note that for some entities a company license is needed. Read the terms here.