#1 mencoder test2.ts -nosound -ovc x264 -x264encopts pass=1:crf=23:subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b -o outmenc.mp4 #2 ffmpeg -i test2.ts -an -vcodec h264 -pass 1 -crf 23 -loop -ac -subq 6 -bf 3 -refs 5 -8x8dct 1 -me_method 7 -max_b_frames 3 -me umh -autodetect outffloop.mp4 #3 ffmpeg -i test2.ts -an -vcodec h264 -pass 1 -ac -loop -crf 22 -partitions parti4x4+partp8x8+partb8x8 -me_method 7 -subq 5 -me_range 16 -chroma 1 -trellis 1 -gop_size 250 -keyint_min 25 -sc_threshold 40 -bit_rate_tolerance 3000 -rc_eq 'blurCplx^(1-qComp)' -qcompress 0.60 -max_qdiff 2 -rc_buffer_size 8000000 -i_quant_factor 0.71 -max_b_frames 2 outNEW.mp4