I generate video from png images using
ffmpeg -i visualization/%d.png -c:v libx264 -vf "scale=500:trunc(ow/a/2)*2" -pix_fmt yuv420p z.mov
and if the images have transparencies, they turn black. Can I somehow make them white?
Before running ffmpeg, use ImageMagick to “smooth” each PNG on a white background.
mogrify -background white -flatten visualization/*.png