Not random! Specifying my needs (keyint 24) and trying to make 1st pass faster.
But okay, at least I know now to keep them as similar as possible to prevent this. Thanks for that.

As a side note, actually I did look at the links and I did think my first parameters weren't a problem. The problem is that I don't see the source code and litteral logic behind it every day. In fact, like most users, I haven't got a clue how x264 actually works apart from the basic ideas of prediction, compensation and GOP. And that first pass gives a rough encoding idea and second pass is where the grinding happens.
So where it seems completely and utterly logical for most coders where to use what setting, I find it weird that x264 --fullhelp doesn't specify what goes in first or second or must be in both. Where most documentation would not assume important stuff like this is just known, x264 let's you know only after you completed the first pass. For example, the first was my idea of quick pass and a grinding second pass:
--pass 1 --level 4.1 --no-8x8dct --me dia --partitions none --ref 1 --subme 2 --trellis 0 --fast-pskip --output NUL - --demuxer y4m
--pass 2 --level 4.1 --bitrate 8000 --preset placebo --tune film, grain --rc-lookahead 250 --merange 32 --vbv-maxrate 40000 --vbv-bufsize 30000 --slices 4 --b-pyramid strict --keyint 24 --ref 4 --bframes 3 --nal-hrd vbr --weightp 0 --aud --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 - --demuxer y4m --output out.264
x264 [error]: different wpredp setting than first pass (0 vs 2) (What's that? Never mentioned in documentation. (Patched by Dark Shikari now))
'' -wpredp 2
x264 [error]: invalid argument: pass = redp
'' -weightp 2
x264 [error]: different b_pyramid setting than first pass (1 vs 2) (I didn't specify)
'' --b-pyramid 2
x264 [warning]: only 1 psy tuning can be used: ignoring tune grain (My mistake, pretty much every tuning is a psy tuning, you can find this in the full help)
'' --tune grain
x264 [warning]: direct should be auto in first pass
And more of that, I didn't keep logs.After all the errors and warnings, I decided to go to on #x264 to verify settings first.
The first 'fail' example, the one that made JEEB think that maybe this topic was a little bit too stupid for his reply, was actually what was suggested on IRC. Come on a guy can only be that stupid before he is unworthy of replies, right?
