This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

encode 264 problem



hi all,

I got a problem!  I work codec version "REL.500.V.H264AVC.E.IVAHD.02.00.02.02" !

my work encodes 7 channels  , resolutions: 1080p , 720p , 848x480 , 704x480,320x240,352x288,176x144 and I found sometimes the slices size of encoded frame is more than 1000 (about 1900~2000) especiallly for encoding 720p

my set of parameters  is below: 

 staticParams->sliceCodingParams.sliceCodingPreset = IH264_SLICECODING_USERDEFINED;
 staticParams->sliceCodingParams.sliceMode = IH264_SLICEMODE_BYTES;
 staticParams->sliceCodingParams.sliceUnitSize = 1000;
 staticParams->sliceCodingParams.streamFormat = 0;

  dynamicParams->sliceCodingParams.sliceCodingPreset = IH264_SLICECODING_USERDEFINED;
 dynamicParams->sliceCodingParams.sliceMode = IH264_SLICEMODE_BYTES;
 dynamicParams->sliceCodingParams.sliceUnitSize = 1000;
 dynamicParams->sliceCodingParams.streamFormat = 0;
 dynamicParams->sliceCodingParams.sliceStartOffset[0] = 0;
 dynamicParams->sliceCodingParams.sliceStartOffset[1] = 0;
 dynamicParams->sliceCodingParams.sliceStartOffset[2] = 0;

thanks a lots

best regards