Port overlay filter from the libavfilter repo (with many fixes),