<Experimental.Null>
EXPERIMENTAL
This component is currently a proof of technology.
The API may change in any version. Monitor this documentation page to see breaking changes when upgrading.
This is a special component, that, when rendered, will skip rendering the frame altogether.
You can render it when you are sure that the frame is empty and save rendering time.
EmptyFrame.tsxtsx
import {AbsoluteFill ,Experimental } from "remotion";export constMyComp :React .FC = () => {return (<AbsoluteFill ><Experimental .Null /><div >This will not be rendered</div ></AbsoluteFill >);};
EmptyFrame.tsxtsx
import {AbsoluteFill ,Experimental } from "remotion";export constMyComp :React .FC = () => {return (<AbsoluteFill ><Experimental .Null /><div >This will not be rendered</div ></AbsoluteFill >);};
Rules
If the
imageFormat
is jpeg
, a black frame will be generated, if the imageFormat
is png
, a transparent frame will be generated. Only one
Rendering multiple is an error.
<Experimental.Null>
or <Experimental.Clipper>
component can be rendered per frame.Rendering multiple is an error.