start trying filter graphs and fix a memory leak in encodeVideo