-1

Can someone please help me with a program that overlays a green screen intro in the start of the video.
Basically I need help with a FFMPEG program that overlays a green screen video which is the intro of the video, so the first few seconds are with the green screen overlay and then the normal video continues.

BitBit
  • 3
  • 4

1 Answers1

2

Use the chromakey and overlay filters.

ffmpeg -i main.mp4 -i green.mp4 -filter_complex "[1:v]chromakey=color=0x61e577:similarity=0.01[gs];[0:v][gs]overlay=eof_action=pass" output.mp4
llogan
  • 121,796
  • 28
  • 232
  • 243