Lens Flare Overlay

Place the brightest natural light near the streak before compositing. Reduce intensity on white skies.

Render from the start of your input. Trim a duplicate of the section you want to treat before rendering. Adjust duration in seconds to cover the section.

python render.py template.json Edited.mp4 Original.mp4

Import the output MP4 into CapCut Desktop, DaVinci Resolve, Final Cut Pro or Premiere Pro using each editor's standard Media Import panel. Align it with the cut in your existing timeline. Import support for the generated H.264 media can vary by editor and platform. Layer your original audio underneath and blend it independently, if needed. There is no native project format in this ZIP; the recipe and included script are the editable source files.

Requirements: Python 3.10 or later, FFmpeg on PATH, and the Python dependencies in requirements.txt. Run python -m pip install -r requirements.txt once in a local Python environment. Standard 30 fps output; the default custom render is 1280 x 720. Use --size 1920 1080 for full HD. The clips are center-cropped to match your output size. The example is 960 x 540.

Validation: FFmpeg rendered and decoded the bundled example, with distinct frame checks across the clip. The named editor import round-trips have not been performed.
