The quality score is calculated based on the bitrate, resolution, framerate, and storage. The formula is:
Quality Score = (Bitrate * Resolution * Framerate) / (Storage * 1024)