Question / Help OBS x264 custom setting

#1
Hi,

The medium preset works fine on my PC. The slow preset does not.
Is there any setting I can change to create a preset between those two?
For example, if I change ref=4. Will this work?
And if I only want to change one setting, for example "ref=3" ( medium default ) to ref=4.
Do I just need to change this setting ( in the x264 options box ), or do I have to copy the entire medium preset settings and just change that on setting?
 
#4
Hi,

The medium preset works fine on my PC. The slow preset does not.
Is there any setting I can change to create a preset between those two?
For example, if I change ref=4. Will this work?
And if I only want to change one setting, for example "ref=3" ( medium default ) to ref=4.
Do I just need to change this setting ( in the x264 options box ), or do I have to copy the entire medium preset settings and just change that on setting?
You can write ref=4 and it will override only ref parameter in the preset
 
#6
There is a difference between Medium and Slow, but the settings that increase the quality are the same ones that jack up the CPU usage. So in your attempt to find the in between you will be messing with encoding parameters that have very little impact.

Theres only 5 parameters that change between Medium and Slow

MEDIUM
ref=3
subme=7
trellis=1
direct=1
rc_lookahead=40

SLOW
ref=5
subme=8
trellis=2
direct=3
rc_lookahead=50

You will notice, there is no real inbetween, the value increases are 1, with the exception of Reference Frames and Rate Control Look ahead

https://en.wikibooks.org/wiki/MeGUI/x264_Settings

Code:
MEDIUM
cabac=1
ref=3
deblock=1:0:0
analyse=0x3:0x113
me=hex
subme=7
psy=1
psy_rd=1.00:0.00
mixed_ref=1
me_range=16
chroma_me=1
trellis=1
8x8dct=1
cqm=0
deadzone=21,11
fast_pskip=1
chroma_qp_offset=-2
threads=22
lookahead_threads=3
sliced_threads=0
nr=0
decimate=1
interlaced=0
bluray_compat=0
constrained_intra=0
bframes=3
b_pyramid=2
b_adapt=1
b_bias=0
direct=1
weightb=1
open_gop=0
weightp=2
keyint=120
keyint_min=12
scenecut=40
intra_refresh=0
rc_lookahead=40
rc=cbr
mbtree=1
bitrate=6000
ratetol=1.0
qcomp=0.60
qpmin=0
qpmax=69
qpstep=4
vbv_maxrate=6000
vbv_bufsize=6000
nal_hrd=none
filler=1
ip_ratio=1.40
aq=1:1.00

SLOW      
cabac=1      
ref=5        <---DIFFERENT
deblock=1:0:0      
analyse=0x3:0x113      
me=hex      
subme=8        <---DIFFERENT
psy=1      
psy_rd=1.00:0.00      
mixed_ref=1      
me_range=16      
chroma_me=1      
trellis=2        <---DIFFERENT
8x8dct=1      
cqm=0      
deadzone=21,11      
fast_pskip=1      
chroma_qp_offset=-2      
threads=22      
lookahead_threads=3      
sliced_threads=0      
nr=0      
decimate=1      
interlaced=0      
bluray_compat=0      
constrained_intra=0      
bframes=3      
b_pyramid=2      
b_adapt=1      
b_bias=0      
direct=3        <---DIFFERENT
weightb=1      
open_gop=0      
weightp=2      
keyint=120      
keyint_min=12      
scenecut=40      
intra_refresh=0      
rc_lookahead=50        <---DIFFERENT
rc=cbr      
mbtree=1      
bitrate=6000      
ratetol=1.0      
qcomp=0.60      
qpmin=0      
qpmax=69      
qpstep=4      
vbv_maxrate=6000      
vbv_bufsize=6000      
nal_hrd=none      
filler=1      
ip_ratio=1.40      
aq=1:1.00
 
Last edited:
Top