Log in

View Full Version : Do I need to specify x264 tune presets and bitrate in both passes?


orion44
18th July 2012, 19:29
Hi,

I have a DVD which I want to backup with x264, in two-pass encoding mode.

Do I need to specify x264 tune presets and bitrate in both passes?

Should I use slow first pass, and does it increase picture quality?

Do slower presets increase picture quality or compression, or both?

Here is my batch script:

C:
CD C:\Program Files (x86)\x264
x264.exe --tune film -I 250 -i 25 -r 4 -B 700 -p 1 --stats D:\Project\Stats.log --direct auto -o D:\Project\Video.mkv D:\Project\AviSynthScript.avs
x264.exe --tune film -I 250 -i 25 -r 4 -B 700 -p 2 --stats D:\Project\Stats.log --direct auto -o D:\Project\Video.mkv D:\Project\AviSynthScript.avs

SassBot
18th July 2012, 19:31
Do I need to specify x264 presets in both passes?

Yes. How else do you expect it to know which settings you want to use?

Should I use slow first pass, and does it increase picture quality?

It does, but to such a small extent that you won't notice.

Do slower presets increase picture quality or compression, or both?

Increase compression giving you similar picture quality at smaller size.

orion44
18th July 2012, 21:09
Thanks!

I forgot to ask one more question. I know that when you encode a movie, it is recommended to use tune film.

But if I have a movie which has a grain that I want to preserve, do I use both tune film and tune grain at the same time,
or only tune grain?

sneaker_ger
18th July 2012, 21:18
Only grain.

orion44
18th July 2012, 21:23
Thanks.