added video preview image generation