start /wait x264.exe "mixed.avi" --stats "./bothumh.stats" --deldup 20 --versioninfo --ssim --pass 1 --bitrate 320 --keyint 500 --ref 15 --mixed-refs --no-fast-pskip --bframes 16 --b-adapt 2 --mbtree --weightb --direct auto --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads 2 --8x8dct --no-dct-decimate --output "encodedboth.mp4"
start /wait x264.exe "mixed.avi" --stats "./bothumh.stats" --deldup 20 --versioninfo --ssim --pass 3 --bitrate 320 --keyint 500 --ref 15 --mixed-refs --no-fast-pskip --bframes 16 --b-adapt 2 --mbtree --weightb --direct auto --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads 2 --8x8dct --no-dct-decimate --output "encodedboth.mp4"
This is the script I previously used, but I doubt it's compatible with Mencoders's x264 encoder.
This is the version of x264 I used instead, I've found it to be pretty reliable.
Just uh, be aware that the above script is incredibly slow, painstakingly slow...
start /wait x264.exe "mixed.avi" --stats "./bothumh.stats" --deldup 20 --versioninfo --ssim --crf 20 --keyint 500 --ref 15 --mixed-refs --no-fast-pskip --bframes 16 --b-adapt 2 --mbtree --weightb --direct auto --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads 2 --8x8dct --no-dct-decimate --output "encodedboth.mp4"
I suggest using this one instead, adjusting the
crf value as needed. It's pretty similar to what Aktan also uses (But he somehow has an even tougher script, no doubt he increased the
keyint value).
The thing is, these all need external muxing, so... yeah.