Welcome to janforman.com you can find here infos about downtime of my servers and other stuff.

H.264 video encoding finetune

x264 Features:
* CAVLC/CABAC * Multi-references * Intra: all macroblock types * Inter P: all partitions * Inter B: partitions from 16×16 down to 8×8 * Ratecontrol: constant quantizer, single or multipass ABR, optional VBV * Scene cut detection * Adaptive B-frame placement * B-frames as references / arbitrary frame order * 8×8 and 4×4 adaptive spatial transform * Lossless mode * Custom quantization matrices * Parallel encoding on multiple CPUs * Interlacing

Here is my recommended values for x264 (H.264 – MPEG4 AVC) encoder


-vcodec libx264 -b 700k -flags +loop -cmp +chroma -flags2 +bpyramid+wpred+mixed_refs+8x8dct+brdo -me umh -subq 7 -trellis 2 -bidir_refine 1 -bf 3 -b_strategy 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4


btw 2 pass encoding is used

For better visual quality and improved compression ratio I’m using
MSU Graphics & Media Lab Denoiser

MainConcept MJPEG (Motion JPEG) have great quality on 90%
(600MHz CPU is enough for 720×576, also this is good for HD)

HuffYUV for lossless compression :-) ehmm yes this produce big file.

MSU H264 codec comparison 2007