hello
I use the HEVC codec to encode, but I am confused about param setting for GOP.
gopCntrlParamsPreset = 0 , it's successful to get the handle by H265VENC_create() function
gopCntrlParamsPreset = 1, it's user defined, I tried many params, however H265VENC_create always return NULL.
I only need frame I and P, no B frame, how can I set the params, and GOP size .
thank you very much~
here are the gop params:
gopCntrlParamsPreset = 0
GOPPOCNo = {1 0 0} # POC No of each picture
GOPFrameType = {I P P } # Picture Type in encoding order of each picture
GOPQPOffset = {0 0 0 } # QP offset of each picture
GOPRefFramesActive = {1 1 1} # Num of active reference frames used in estimation
GOPNumRefFrames = {1 1 1} # Num of reference frame used to encode
GOPRefIdx = {-1 -1 -1} # Ref pic list of each picture
IsReference = {1 1 1 } # 0 = Not a reference frame ,1 = Reference frame
TemporalId = {0 0 0 } # TemporalId of each picture