Bug Report replaybuffer out of whack when use NVENC encoder

true-meaning

New Member
If i use x264 encoder it is fine but when i use nvenc encoder it wont save to file as i press the savereplaybuffer hotkey.The source code is
if ((*data)[0] != 0x17)
return;
Maybe the nvenc encoder did not add the header "0x17"?
the machine GPU is GeForce GT 730M(notbook)
driver is GeForce Game Ready Driver 347.25 WHQL
any reply will be appreciated
 
Last edited:

true-meaning

New Member
I have solved it.Because i set the KeyframeInterval to zero.I think keyframes inserted automatically.But after i researched the source code,i find the keyframes(i frame) will be Inserted every 4294967295 frames if i set KeyframeInterval 0.The comment in src is "Specifies the number of pictures in one GOP. Low latency application client can set goplength to NVENC_INFINITE_GOPLENGTH so that keyframes are not inserted automatically. "And the NVENC_INFINITE_GOPLENGTH is 0xffffffff.Hope developers find a better way to make OBS greater.
 
Top