Cleanup and bitrate selector