@Venus: if you want smaller size with same quality it is not just about bitrate. x264 has a lot of good encoding option for archive smaller size with the same quality, but it require more encoding time.
Furthermore you don't really need exactly precalculated file sizes in cock hero projects because quality is prior over size. So I recommend using RF instead of average bitrate. RF can calculates required bitrate better and more freely so the result will be much more size-quality optimal.
I run through CruelNyx's parameters and they are pretty good indeed (you may pat your slave). However I would recommend some plus quality here and there exchange for time:
bframes=6 -> 16
direct=1 -> auto
subme=9 -> 10
analyse=0x3:0x113 -> all
deblock=1:-2:-2 -> -1:-1 (imho better for us here)
rc_lookahead=42 -> 60
He gives a lot of parameters with default values, you don't need to set those in
Handbreak.
There is a few gray area in my knowledge so I don't know the benefits of these parameters:
chroma_qp_offset=-1
slices=2
wpredb=1
wpredp=2
threads=3
sliced_threads=0
@CruelNyx : if your slave could help us understand why these are good for use, pls share.
Some forum pointed out that deadzone is incompatible with trellis so it is not recommended. qpmin>0 is discouraged if adaptive quantization is enabled.
psy_rd is an interesting parameter, default for films is 1.0:0.0. It does not change image quality but human-eye-friendliness. Frankly I don't know the benefits to go with 0.2:0.0 but one can give it a try if it looks better for the actual video or not.
If the setting above is fast enough in your CPU you may try changing these
settings to gain some hdd space:
merange= up to 64.
fast_pskip=0 has negligible effect but one can give it a try.
Based on these
settings I made a screenshot for you, how to configure
HandBreak:
You need to insert the yellow marked options manually. Moreover you need to set in Picture tab, Anamorphic to Strict and Filters tab Detelecine: Default and Decomb: Default. After that you can save these setting as a preset if you don't want to lose it.
These options must be enough for encoding cock hero projects. For image quality you need the Video tab and select Constant Quality. Here you can play with the RF value, the smaller value results better quality. A good base is around 21-20. Use a small segment of your video to determine the required picture quality. If you need superior quality go for 20-18 (or if the source is SD quality). If your project's filesize is to large, go around 23-21 (or if you have HD quality source).
One more thing: use the source videos if available not your finished project videos. Encoding something hardly gives the same picture quality so using the source can result better quality-size ratio then encoding a finished cock hero video again.