Log in

View Full Version : Do I need 2-pass encoding?


LonelyPixel
15th December 2013, 10:42
I know that 2-pass encoding is useful to better distribute the bits over a given time and a fixed resulting file size, putting more data where it matters most. But what if I don't care about the resulting file size of a video and just indicate the quality I want. Does 2-pass encoding still have any advantages in this case? Asking about x264 specifically.

Brother John
15th December 2013, 11:00
But what if I don't care about the resulting file size of a video and just indicate the quality I want. Does 2-pass encoding still have any advantages in this case?
No, it doesn’t. Use 1-pass CRF instead.

Sharc
15th December 2013, 11:09
I know that 2-pass encoding is useful to better distribute the bits over a given time and a fixed resulting file size, putting more data where it matters most. But what if I don't care about the resulting file size of a video and just indicate the quality I want. Does 2-pass encoding still have any advantages in this case? Asking about x264 specifically.
If your first pass is ABR: yes
If your first pass is CRF: no

As you don't care about size: go for 1-pass CFR with x264.

LoRd_MuldeR
15th December 2013, 13:40
Just a side note: 2-Pass and 1-Pass CRF give the same quality (at the same file size), because internally they use the same RC algorithm. Only with CRF you can't predict the final file size, while with 2-Pass you can.

LonelyPixel
17th December 2013, 19:54
Ok, thanks for the feedback.