
Description
Dealing with captions in Remotion
SKILL.md
All captions must be processed in JSON. The captions must use the Caption type which is the following:
import type { Caption } from "@remotion/captions";
This is the definition:
type Caption = {
text: string;
startMs: number;
endMs: number;
timestampMs: number | null;
confidence: number | null;
};
Generating captions
To transcribe video and audio files to generate captions, load the transcribe-captions.md file for more instructions.
Displaying captions
To display captions in your video, load the display-captions.md file for more instructions.
Importing captions
To import captions from a .srt file, load the import-srt-captions.md file for more instructions.
More skills from the skills repository
View all 7 skillsmediabunny
handle multimedia with Mediabunny
Jul 21AudioMediaRemotionVideoremotion-create
create new Remotion video projects
Jul 12CreativeRemotionVideoremotion-docs
search Remotion documentation
Jul 17DocumentationReferenceRemotionremotion-markup
write Remotion React markup
Jul 17FrontendReactRemotionVideoremotion-render
render videos with Remotion
Jul 12DeploymentPerformanceRemotionVideoremotion-upgrade
upgrade Remotion projects and dependencies
Jul 21EngineeringMigrationRemotion
More from Remotion
View publisherremotion-best-practices
build programmatic videos with Remotion
remotion
Jul 21AnimationReactRemotionTypeScript +1remotion-interactivity
create interactive Remotion animations
remotion
Jul 17AnimationDesignReactRemotionremotion-saas
build Remotion-powered SaaS applications
remotion
Jul 11ReactRemotionSaaSVideo +1