fixed leaky ffmpeg problem, added a second template for testing.