FFMPEG - Apply opaque white with mask
Found the answer to this problem in here. The mask should be first be white + transparent, instead of black and white. New code would be:
ffmpeg -i video.mp4 -i mask.png \
-filter_complex &quot;[0:v][1:v] overlay=0:0&quot; -c:a copy \
output.mp4