Επεξεργασία

Κοινή χρήση μέσω


Two-Pass Encoding

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Two-pass encoding is an encoding method available with some codecs, like the Windows Media Video 9 codec. When you use two-pass encoding, the codec processes all of the samples for the stream twice. On the first pass, the codec gathers information about the content of the stream. On the second pass, the codec uses the information gathered on the first pass to optimize the encoding process for the stream.

In the Constant Bit Rate encoding mode, files that are encoded in two passes are generally more efficient than files encoded in a single pass. Quality-based VBR, which is one pass, produces more consistent quality than bit-rate-based VBR, which is two-pass.

You cannot use two-pass encoding on live streams.

Codec Features

Using Two-Pass Encoding