video frame metadata extraction and scene detection