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.

Slice mode configuration for H.263 encode

hi, everyone:

My env: dm8168 and dvr rdk 4.0

 My question:

  I want to do H.263 encode in dm8168,   set the useShortVideoHeader TURE(staticParams ->useShortVideoHeader = 1;) ,that h263 bitstream is correct . decode and display are also correct.

   When I want to do h.263 encode in slice mode. So set

sliceMode = IMPEG4_SLICEMODE_BITS, sliceUnitSize = 10000” ,

But the encoder output h.263 bitstream is incorrect. Decode is error. Some flower screen appeared on display.

report error message is below.

[m3video] 123411:DECLINK::links_m3video/iva_dec/decLink_mpeg4.c:[300]::INTERNAL ERROR:-1
 [m3video] DECLINK:ERROR in Declink_mpeg4DecodeFrameBatch.Status[-1]

 [m3video] 9861839:DECLINK::links_m3video/iva_dec/decLink_mpeg4.c:[289]::INTERNAL ERROR:-1

 [m3video] ALGPROCESS FAILED:STATUS

 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x410c00

 [m3video] 9861839:WARN

 [m3video] DECLINK:ERROR in Declink_mpeg4DecodeFrameBatch.Status[-1]

 [m3video] 9861841:DECLINK::links_m3video/iva_dec/decLink_mpeg4.c:[289]::INTERNAL ERROR:-1

 [m3video] ALGPROCESS FAILED:STATUS

 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x411c80

 [m3video] 9861841:WARN

 [m3video] DECLINK:ERROR in Declink_mpeg4DecodeFrameBatch.Status[-1]

 [m3video] 9861844:DECLINK::links_m3video/iva_dec/decLink_mpeg4.c:[289]::INTERNAL ERROR:-1

 [m3video] ALGPROCESS FAILED:STATUS

 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x511cc0

…..

Please give me some advices.  Thanks!