Added video_convert function