Skip to main content

Use Audio from video

Audio from <Video>, <Html5Video> and <OffthreadVideo> tags are also included in the output.

The same principles apply as for audio - you may trim, delay, mute, speed up and reduce the volume of your videos.

MyComp.tsx
tsx
import {AbsoluteFill, OffthreadVideo, staticFile} from 'remotion';
 
export const MyComposition = () => {
return (
<AbsoluteFill>
<OffthreadVideo src={staticFile('video.mp4')} playbackRate={2} volume={0.5} />
</AbsoluteFill>
);
};