Nvencoder command -numb use error

If you give a numB value to the command argument, it doesn’t encode and fails.

May I help you with this?

Encoding input : “Traffic_2560x1600_30_crop.yuv”
output : “4_3”
codec : “HEVC”
size : 2560x1600
bitrate : 5000000 bits/sec
vbvMaxBitrate : 0 bits/sec
vbvSize : 0 bits
fps : 30 frames/sec
rcMode : CONSTQP
goplength : 2
B frames : 3
QP : 28
Input Format : YUV 420
preset : HP_PRESET
Picture Structure : Frame Mode
devicetype : CUDA

…\common\src\NvHWEncoder.cpp line 965: Encode Session Initialization failed[ Input Filesize] : 921600000 bytes
NvEncoder.cpp line 857: nvEncoder.exe Warning: -endf 2147483647 exceeds total video frame 150, using 150 instead
Encoded 150 frames in 225.85ms
Avergage Encode Time : 1.51ms

NVIDIA GPU hardware encoder does not support B-frames with HEVC.