add the interface to extract video to key frame(get_key_frame)