L255J wrote:Now, I do value space savings just a little, which is why DCT Decimation is allowed and the RF isn't any lower than it is, and I do value reasonable encoding time just a little, which is why bframes≠16 and why my motion estimation settings aren't any more comprehensive than umh + 24
I did some quick testing on a couple of different (but fairly small) files using both the standard High Profile preset, yours and some intermediate versions. I used RF=20 for all, it shouldn't matter for this.
Your settings seems to give some minor size gains compared to the regular High Profile preset, but only 1-4% and it took
2-3 times as long to encode. However, starting with the High Profile preset and adding just 4R, 4B and B-Pyramid settings gives a
similar or slightly smaller result than your encode with little or no noticeable speed hit on this source, casting doubt that your settings are that good.
rc-lookahead=60 gave negligable gains above that of 50 (already in High Profile) in this case but on the other hand there was little or not speed hit on these trials either (heck, even a lookahead of 100 didn't reduce the file size nor slow it down in these cases). So it may be worthwhile on other sources.
IIRC the High Profile preset was actually UMH/subme9 (but no rc-lookahead) until shortly before the release of 0.9.4, it was changed at the last moment based on advice from one of the x264 developers, based on this and earlier tests I've done his advice makes a lot of sense (the size hit is very small and mostly recovered by rc-lookahead=50, the benefits for encoding speed is very large).
If you want to really cram the file size down as far as humanly possible, I'd suggest adding a lot of B frames and reference frames, but be advised that it does make decoding harder and at one point it will suddenly stop being possible to hardware accelerate the decoding on the GPU (not 100% sure if VLC uses hardware acceleration). If you want to be able to show this on a machine with less CPU this may be important.
Based on what I've seen and read I wouldn't recommend no-skip-p for CRF/single pass encodes, direct=auto is more debatable but I'd still not use it for CRF. Likewise, analysis=all is doubtful for both CRF and 2-pass encodes, though some say it can sometimes help at very low resolutions (much lower than DVD).
IIRC the reference frame limit for hardware decoding depends on resolution, and I think it's 4 for 1080p (though at least older x264 sometimes incorrectly used one more ref than specified when using with b-pyramid... Not sure if this is fixed or not). The max is higher at lower resolution but then you need to tweak it depending on resolution which most find undesirable. I also doubt it will reduce the size all that much! and storage media is very cheap nowadays.