Nvidia Video Codec SDK 8.0.14 Encoder B frames is Do you support it?

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

May I help you with this?

Encoding input : “NebutaFestival_2560x1600_60_10bit_crop.yuv”
output : “2.mp4”
codec : “HEVC”
size : 2560x1600
bitrate : 5000000 bits/sec
vbvMaxBitrate : 0 bits/sec
vbvSize : 0 bits
fps : 60 frames/sec
rcMode : CONSTQP
goplength : INFINITE GOP
B frames : 1
QP : 28
Input Format : YUV 420 10-bit
preset : HP_PRESET
Picture Structure : Frame Mode
devicetype : CUDA

…\common\src\NvHWEncoder.cpp line 979: Encode Session Initialization failed.

Nope. Neither maxwell nor pascal series supports B-frame for HEVC encoding.

thank you

Could you tell my where did you see it ?

Nvidia Video Codec SDK developers told me so in my email to them and I confirmed it via hevc bitstream analysis tools. You didn’t view my postings at doom9 forum about basic HEVC bitstream analysis from Intel, AMD and Nvidia black box encoders?

I am more saddened by the fact Nvidia doesn’t backport weighted prediction feature to maxwell seeing this particular feature makes use of CUDA cores.

HEVC B-frames are not supported on any of the shipping GPUs.

>>> I am more saddened by the fact Nvidia doesn’t backport weighted prediction feature to maxwell seeing this particular feature makes use of CUDA cores. <<<

Can you please elaborate what you mean by this? What does weighted prediction have to do with HEVC B-frames?

Oh, for the first question…I mean Maxwell V2 hardware doesn’t have SAO (for HEVC) or high bitdepth (understandable since Maxwell V2 Nvenc chip is old compared to Pascal), but not having weighted prediction for HEVC encoding even though the feature make use of CUDA cores kinda…disappointing. Why does WP have to be exclusive for Pascal?

As for the second question, just saying enabling WP offers better compression efficiency since current Nvenc doesn’t support HEVC B-frames if his GPU can support it…hahaha…

Off topic question, speaking of which B-frames…there have been several revision of NVENC chips since Kepler, why does H264 B-pyramid still not implemented yet? Intel had implemented H264 b-pyramid for its QSV since Ivy Bridge generation.

Huh…seem like the latest sdk finally implement b-pyramid (b-frame as reference) for nvenc H264.

Good news for me.