<Audio /> (experimental)

warning

This component is a work in progress. The final output does not yet have audio even with this component. At the moment, you need to add audio manually after the render, but you may find the component useful to listen to your intended audio track while editing your video

Using this component, you can add audio to your video. All audio formats which are supported by Chromium are supported by the component. There is currently no option to trim audio or control it's volume. Audio currently only plays in the preview.

API / Example#

Use an import or require to load an audio file and pass it to the src props of the <Audio /> component.

import {Audio} from 'remotion';
import audio from './audio.mp4'
export const MyVideo = () => {
return (
<div>
<div>Hello World!</div>
<Audio src={audio} />
</div>
)
}

See also#