When the DM36x H.264 encoder is set at a relatively large bitrate
(e.g. 1-10 Mbits/second for QVGA), the encoder frequently
fails with extended error 0x8010 (IH264VENC_ERR_PROCESS_CALL).
The error has been seen with encoder versions 2.20.00.005
and 2.30.00.01.
The error frequently occurs when the scene content changes from
complex moving objects to a blank single color.
The higher you set the bitrate, the more frequently the error occurs.
Can you confirm this issue?
My parameters are given below for 360x240 resolution at 10Mbits/second,
it shows the issue frequently.
Can the issue be worked-around by changing the parameters?
h264enc version 02.30.00.01
Base params
===========
size 124
encodingPreset 3
rateControlPreset 5
maxHeight 256
maxWidth 368
maxFrameRate 30000
dataEndianness 1
maxInterFrameInterval 0
inputChromaFormat 9
inputContentType 0
reconChromaFormat 9
profileIdc 100
levelIdc 30
Log2MaxFrameNumMinus4 0
ConstraintSetFlag 0
entropyMode 1
transform8x8FlagIntraFrame 0
transform8x8FlagInterFrame 0
enableVUIparams 7
meAlgo 1
seqScalingFlag 1
encQuality 0
enableARM926Tcm 0
enableDDRbuff 0
sliceMode 3
EnableLongTermFrame 0
outputDataMode 0
sliceFormat 1
==============
size 212
inputHeight 240
inputWidth 360
refFrameRate 30000
targetFrameRate 30000
targetBitRate 10000000
intraFrameInterval 60
generateHeader 0
captureWidth 384
forceFrame -1
interFrameInterval 1
mbDataFlag 0
sliceSize 1
airRate 0
intraFrameQP 28
interPFrameQP 28
initQ 28
rcQMax 51
rcQMin 5
rcQMaxI 40
rcQMinI 0
rcAlgo 6
maxDelay 300
aspectRatioX 10
aspectRatioY 11
lfDisableIdc 0
enableBufSEI 1
enablePicTimSEI 0
perceptualRC 0
idrFrameInterval 60
mvSADoutFlag 0
resetHDVICPeveryFrame 0
enableROI 0
metaDataGenerateConsume 0
disableMVDCostFactor 0
putDataGetSpaceFxn 60664
interlaceRefMode 0
maxBitrateCVBR 10000000
enableGDR 0
GDRduration 0
GDRinterval 0
LongTermRefreshInterval 0
UseLongTermFrame 0
SetLongTermFrame 0
VUI_Buffer 1601672
aspectRatioInfoPresentFlag 1
overscanInfoPresentFlag 0
overscanAppropriateFlag 0
videoSignalTypePresentFlag 1
videoFormat 2
pixelRange 1
colourDescriptionPresentFlag 0
colourPrimaries 2
transferCharacteristics 2
matrixCoefficients 2
timingInfoPresentFlag 1
numUnitsInTicks 1001
timeScale 60000
fixedFrameRateFlag 1
nalHrdParameterspresentFlag 1
picStructPresentFlag 0
bitstreamRestrictionFlag 1
CustomScaleMatrix_Buffer 1577828
CVBRsensitivity 0
CVBRminbitrate 0
LBRmaxpicsize 76
LBRminpicsize 0
LBRskipcontrol 327684
dataSyncHandle 1591288
.
.
.
@0x004592b2:[T:0x42522490] ti.sdo.dmai - [Venc1] VIDENC1_process() failed with error (-1 ext: 0x8010)
Error: Failed to encode video buffer
Regards,
John Whittington