remotion icon indicating copy to clipboard operation
remotion copied to clipboard

Advanced Chroma Key

Open Ajaylalwani01 opened this issue 11 months ago • 1 comments

Feature Request: Advanced Chroma Key Implementation 🎬

Current Situation

  • The existing green screen implementation (docs reference) provides basic functionality but has limitations
  • Edge blending is not smooth, resulting in visible artifacts
  • The current implementation lacks advanced chroma key features

Requested Features

  1. Improved edge detection and blending

    • Better handling of semi-transparent edges
    • Smoother transitions between keyed and non-keyed areas
  2. Advanced chroma key controls

    • Color selection tolerance adjustment
    • Spill suppression options
    • Edge softening/feathering controls
  3. Performance optimization

    • Efficient processing for real-time preview
    • Maintainable performance with high-resolution footage

Use Cases

  • Professional video production requiring clean green screen removal
  • Content creators needing high-quality compositing
  • Projects requiring precise keying of varied footage

Ajaylalwani01 avatar Feb 01 '25 06:02 Ajaylalwani01

On issue #4841: Implemented a new ChromaKeyEffect component that provides advanced chroma key functionality for video transparency:

Configurable RGB color removal Fine-tune controls for similarity, smoothness, and spill Real-time processing with WebGL2 Documentation and examples included in PR #4882

Ready for review and testing.

anksji avatar Feb 12 '25 22:02 anksji

For Remotion, we would only consider adding a solution to our core if we can make it completely clean and bug-free. Unfortunately, we have not seen a solution that would fit in our line of packages.

We therefore recommend that you experiment with userland experimentations such as in #4882!

JonnyBurger avatar Oct 26 '25 09:10 JonnyBurger