2-pass encoding

on Saturday, February 23rd 2013 I 0 Comment

With the increasing rates of bandwidth and computing power, the video quality is constantly evolving. Aware of this, we are improving the quality of daily videos encoded by our system.

2-pass encoding

The two pass encoding gives better results than one pass.
The first pass considers the
Rate-Distortion methods for video using a first set of quantization parameters (QP). Estimated rates helps to select quantization parameters for the second pass to minimize fluctuations in quality between frames.
Let's see how it works in detail:
For instance, you have a
2 minutes video. A part of it, is very dynamic, the other part is more static. So that the video can be properly read in HQ, it takes at least 750kbps for the biterate global level.

A biterate of 300kbps is enough to play the static part of the video, and 750kbps is correct for the dynamic part.

When using 1-pass encoding, the process selects 750kbps for both parts, and thus ignores their differences, which leads to a noticeable fluctuation between frames.
The 2-pass encoding will not make such mistakes. The use of statistics from the first pass allows the encoder to estimate the value of each frame in bits. This results in a better allocation of bits between the two parties.
The first
dynamic part  will get more bits while the second part will have fewer bits.

We must note that there is only one flaw with this technique: The 2-pass encoding is almost 30% slower than 1-pass encoding. So if you are in a hurry, do not use this encoding mode.

For those looking for the best possible encoding, just check the "Enable 2-pass" option, which is on your video settings page Video settings> WebTV

This feature is currently available only for the product WebTV.

Saveria Maroselli
As support manager, Saveria guides you daily while you're using your favorite CMS, but not only,... Know more about this author

New comment:
Facebook Twitter

Last tweets
WMaker Blog | Explications sur l'incident de cette nuit: De 2:00 AM à 09:30 AM... | #cms https://t.co/Z1Q2DccXvv https://t.co/hstgyo9xx8
Friday, September 22nd - 17:20
WMaker Blog | Boites mails, piratage et spam: Récemment nous avons eu beaucoup de... | #cms https://t.co/UICs9e0YMN https://t.co/Fy13d5zdZ9
Tuesday, July 4th - 18:18
WMaker Blog | Maintenance planifiée ce Mercredi 22 Février: Nous allons faire une maintenance de base de... | #cms https://t.co/U8xu9JWiTC
Monday, February 20th - 15:16
WMaker Blog | Pace e Salute: Toute l'équipe du CampusPlex (WMaker &... | #cms https://t.co/pnUZnbw3vG https://t.co/7FVEI4qGnf
Sunday, January 1st - 00:02