clean up ffmpeg path handling