# !/bin/sh ffmpeg -y -i "$1" -i "$2" -filter_complex '[1:v]format=yuva444p,lut=c3=128,negate[video2withAlpha],[0:v][video2withAlpha]overlay[out]' -map [out] video_diff.mov