Ffmpeg encoder h264_nvenc ignores -sc_threshold value

Hi,

I tried to encode some video with different values of -sc_threshold (from 5 to 80), but the output file size and I-frame timestamps didn’t change.
Then, I used another video with more dynamic scenes, and the conclusion is the same. My analysis says that encoded video contains I-frames placed according to some scenecut in addition to GOP size. But that scenecut threshold isn’t sensitive to -sc_threshold parameter value.

Is anywhere in docs a confirmation that -sc_threshold isn’t working for h264_nvenc? Otherwise, does someone know any solutions how to change scenecut threshold?

Best regards,
Yehor

sc_threshold is an option of x264 encoder lib (so libx264), not h264_nvenc. Search · sc_threshold · GitHub