process null returned by read_from_video/read_from_camera