As opposed to 1-pass CBR, 2-pass encoding is another encoding strategy to retain best image quality. The first pass analyzes video data, and second pass utilizes that data to use VBR, so as to better encoding different scenes, i.e. not to waste high bitrate on unnecessary scenes (for instance, lower bitrate for dark scenes and higher for complex ones).