packages/docs/docs/hls.mdx
<Video> from @remotion/media supports HLS / .m3u8 files natively via Mediabunny.
Simply pass an .m3u8 URL as the src prop:
import {AbsoluteFill} from 'remotion';
import {Video} from '@remotion/media';
export const HlsExample = () => {
return (
<AbsoluteFill>
<Video src="https://stream.mux.com/nqGuji1CJuoPoU3iprRRhiy3HXiQN0201HLyliOg44HOU.m3u8" />
</AbsoluteFill>
);
};
This works across all browsers and during rendering. When a master playlist with multiple quality variants is used, Remotion will automatically select the highest-quality video track and its accompanying audio.
Is currently not implemented by Remotion.
Currently, the highest-quality video track and its accompanying audio are selected automatically.
Are not supported by Remotion.
Any live HLS videos will be rejected.
See: Can Remotion be used for live streaming?.
:::note Only VOD (Video on Demand) HLS playlists are supported. Live HLS streams are not supported. :::