This page contains some presets from ffmpeg. It will help you finding the right H264 encoding parameters for your needs.
You must use them using the “x264_options”. More info here.
coder:0,bf:0,flags2:-wpred-dct8x8
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partb8x8,me_method:hex,subq:6,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,directpred:1,flags2:+fastpskip
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partb8x8,me_method:umh,subq:8,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:2,qcomp:0.6,qdiff:4,bf:4,refs:4,directpred:3,trellis:1,flags2:+bpyramid+wpred+mixed_refs+dct8x8+fastpskip
coder:0,bf:0,flags2:-wpred-dct8x8,level:13
coder:0,bf:0,refs:1,flags2:-wpred-dct8x8,level:30
coder:0,flags:+loop,cmp:+chroma,partitions:-parti8x8+parti4x4+partp8x8-partp4x4-partb8x8,me_method:hex,subq:3,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,directpred:1,flags2:+fastpskip,cqp:0
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partp4x4-partb8x8,me_method:esa,subq:8,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,refs:16,directpred:1,flags2:+mixed_refs+dct8x8+fastpskip,cqp:0
coder:1,flags:+loop,cmp:+chroma,partitions:-parti8x8+parti4x4+partp8x8+partp4x4-partb8x8,me_method:hex,subq:5,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,directpred:1,flags2:+fastpskip,cqp:0
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partp4x4-partb8x8,me_method:umh,subq:6,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,refs:2,directpred:1,flags2:+dct8x8+fastpskip,cqp:0
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partp4x4-partb8x8,me_method:umh,subq:8,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,refs:4,directpred:1,flags2:+mixed_refs+dct8x8+fastpskip,cqp:0
coder:0,flags:+loop,cmp:+chroma,partitions:-parti8x8-parti4x4-partp8x8-partp4x4-partb8x8,me_method:dia,subq:0,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,directpred:1,flags2:+fastpskip,cqp:0
coder:1,flags2:-dct8x8
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8,me_method:tesa,subq:9,me_range:32,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:2,qcomp:0.6,qdiff:4,bf:4,refs:16,directpred:3,trellis:2,flags2:+bpyramid+wpred+mixed_refs+dct8x8-fastpskip
coder:1,flags:+loop,cmp:+chroma,partitions:+parti8x8+parti4x4+partp8x8+partb8x8,me_method:hex,subq:6,me_range:16,g:250,keyint_min:25,sc_threshold:40,i_qfactor:0.71,b_strategy:1,qcomp:0.6,qdiff:4,bf:4,refs:2,directpred:3,trellis:0,flags2:+bpyramid+wpred+dct8x8+fastpskip
Service made by Particles
Follow @particles