Confused about Muxer Settings/Video Encoder Settings

—––

New Member
Hi,

Under Output → Recording → Type → Custom Output (FFmpeg), I don't quite understand what constitutes a "Muxer Setting" as opposed to a "Video Encoder Setting". When using h264_nvenc, for example, would Video Encoder Settings be what ffmpeg normally calls "x264-params"?

The specific ffmpeg settings I'm trying to configure, which work when using the ordinary ffmpeg executable, are:
vbv-maxrate=6144:vbv-bufsize=9216:qcomp=0.9:qpmin=3:rc-lookahead=60:scenecut=40:keyint=288:keyint-min=1:me=umh:merange=32:subme=10:direct=auto:ref=4:b-pyramid=none:fast-pskip=1:b-adapt=2:bframes=3:trellis=2:psy-rd=1,1:dct-decimate=0:partitionsp4x4=off:deblock=0,0:weightp=2.

When I run Mediainfo against a file encoded with these settings, it says the "Encoder Settings" are:
cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:1.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=288 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.90 / qpmin=3 / qpmax=69 / qpstep=4 / vbv_maxrate=6144 / vbv_bufsize=9216 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00.

How should I go about formatting these into OBS-compliant syntax, and which of those two fields should I put them in?
 

—––

New Member
Is this not the correct syntax?

h264-params=vbv-maxrate=6144:vbv-bufsize=9216:qcomp=0.9:qpmin=3:rc-lookahead=60:scenecut=40:keyint=288:keyint-min=1:me=umh:merange=32:subme=10:direct=auto:ref=4:b-pyramid=none:fast-pskip=1:b-adapt=2:bframes=3:trellis=2:psy-rd=1,1:dct-decimate=0:partitionsp4x4=off:deblock=0,0:weightp=2

According to this, that should work. But I get an error in the log saying "Failed to set h264-params...".

Any help would be greatly appreciated :)
 

rockbottom

Active Member
I didn't check your commands, just removed the (:) that weren't needed.


h264-params=vbv-maxrate=6144 vbv-bufsize=9216 qcomp=0.9 qpmin=3 rc-lookahead=60 scenecut=40 keyint=288 keyint-min=1 me=umh merange=32 subme=10 direct=auto ref=4 b-pyramid=none fast-pskip=1 b-adapt=2 bframes=3 trellis=2 psy-rd=1,1 dct-decimate=0 partitionsp4x4=off deblock=0,0 weightp=2
 
Top