vid2img: add output directory option