Capítulo 937 de 988

Chapter 937: Greenscreen

Core Idea

Use the colorKey() effect from @remotion/effects to remove the green background of a video.

Key Concepts

  • Requirements
  • See also

Code Examples

export const Greenscreen: React.FC = () => {
  return (
    <AbsoluteFill>
      <Video
        src="https://remotion.media/greenscreen.mp4"
        effects={[
          colorKey({
            similarity: 0.45,
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for Greenscreen from the official docs.

Key Takeaways

  1. Understand requirements when working with Greenscreen.
  2. Understand see also when working with Greenscreen.

Connects To

  • 4 0 Alpha: related page in the Miscellaneous (Core) section.
  • ai: related page in the Miscellaneous (Core) section.
  • Animated Emoji: related page in the Miscellaneous (Core) section.