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.

h264 decoder non-fatal error 0x445 on dm365



Hi,

 

I have a problem with the h264 decoder v1.10.00.05 on the dm365. I changed the "decode" application of the DVSDK v3.10.00.16 demo in that way, that I do not use the Loader to get new encoded data from a file, instead I load data frame by frame per edma from a radio link. When I decode the first frame, sometimes VIDDEC2_process() gives a ret value of -1 / non-fatal error 0x445 (text on the terminal with DMAI_DEBUG=2). Then in the resize_BufTab procedure the ret value of getMinOutBufs is 17!!! So the program crashes because it cannot allocate memory for 17 buffers. Unfortunately the error number (0x445) is not mentioned in the user guide of the codec (SPRUEV0A). Is this a decoder problem or is there maybe an error on the encoder site?

 

Regards,

 

MW

  • Hi,

    Error value will have XDM_errors and Codec errors, from 0-6 bits will have codec specific errors and remaining upper bits are XDM related errors. This information is explained in userguide and interface file(ih264vdec.h). In your case(x445),  0x45 is  codec related error(IH264VDEC_EX_ERR_HEADER_NOT_FOUND) and 0x4 is XDM error which means XDM_INSUFFICIENTDATA. So I guess decoder is getting is corrupted data.

    And you are using old version of decoder. Please migrate to latest version available at http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html

     

    Thanks,

    Veeranna

  • Thank you for your answer!

     

    It seems that I have to check the accuracy of incoming data.

     

    Regards,

     

    MW

  • Hi,

     

    the problem with non-fatal error 0x445 is solved. But there is still sometimes a non-fatal error 0x200. Looking at the error codes, I see 0x00 as error code for the decoder, which means, that there is no error with the decoder and error code 0x2 means, the XDM_APPLIEDCONCEALMENT bit is set. What does that mean? Does the decoder generated any output ? And can I ignore that error code?

     

    Regards,

     

    MW

  • Hi MW,

    Its little surprise to see XDM_APPLIEDCONCEALMENT bit is set and there is no error return from codec. Normally XDM_APPLIEDCONCEALMENT will set whenever codec is returning error and concealment is happening. Please conform codec is not returning error.

    This time  decoder will generate concealed output, can you check is output visually proper. And please upgrade your decoder to latest version.

     

    Thanks,

    Veeranna

  • could you tell me how to solve th problem with non-fatal error 0x445? I also face to the problem,But I sill can't solve it .
  • Hi,

    Please check input bitstream to the decoder is valid or not. It should have proper h264 syntax. Try to write what bitstream data decoder getting to the file and open in analyzers or player.

     

    Thanks,

    Veeranna

  • Hi,

     

    yes, you have to be sure that the decoder gets a valid bitstream. I think my problem was a non-idr-frame as the first frame for the decoder. Be sure the first frame is an idr-frame (the data starts with 0x00 0x00 0x00 0x01 0x27 ...) and there is no byte missing in the header of the frame!

     

    Regards,

     

    MW

  • I use a remote  Ip camera to encode to get 264 stream, I printf the 264 stream data . my codec is h264dec.02.00.00.13, dvsdk is 2_10_01_18.

    the below  is the debug messages: you can see the errors.

     device mac: 00:2a:3c:00:1b:d5, ip:192.168.14.237
       d =  0, 0, 0, 1,67,42,e0,1e,da, 2,c0,49
       9 =  0, 0, 0, 1,68,ce,30,a4,80, 0, 0, 0
       9 =  0, 0, 0, 1, 6,e5, 1,d0,80, 0, 0, 0
    7f16 =  0, 0, 0, 1,65,b8, 0, 0,c9, 8,1c,50
    @2,969,094us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @2,969,393us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @2,969,582us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @2,969,817us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @2,971,637us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @2,971,895us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @2,972,143us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @2,972,328us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @2,972,507us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 0 inUse 0 consumed 13
    @2,972,681us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x445
    @2,972,966us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @2,973,214us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @2,973,397us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @2,973,623us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @2,974,362us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @2,974,612us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @2,974,857us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @2,975,037us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @2,975,227us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 0 inUse 0 consumed 9
    @2,975,406us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x445
    @2,975,690us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @2,975,935us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @2,976,107us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @2,976,337us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @2,976,649us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @2,976,841us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @2,977,064us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @2,977,232us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @2,977,403us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 0 inUse 0 consumed 9
    @2,977,761us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x445
    @2,978,068us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @2,978,314us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @2,978,578us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @2,978,822us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,010,161us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,010,448us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,010,709us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,010,898us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,011,091us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 0 inUse 0 consumed 32534
    @3,011,271us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x200
    2a1a =  0, 0, 0, 1,61,e2,31,42,bc,d1,7f,e1
    @3,077,779us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,078,408us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,078,608us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,078,850us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,175,438us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,175,711us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,175,969us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,176,152us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,176,338us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 0 inUse 0 consumed 10778
    @3,176,516us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x200
       d =  0, 0, 0, 1,67,42,e0,1e,da, 2,c0,49
    @3,177,726us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,178,014us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,178,211us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,178,451us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,178,943us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,179,171us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,179,414us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,179,593us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0x0)
    @3,179,769us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 0 inUse 0 consumed 13
       9 =  0, 0, 0, 1,68,ce,30,a4,80, 0, 0, 0
    @3,188,444us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,188,722us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,188,907us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,189,142us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,189,613us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,189,839us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,190,081us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,190,267us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0x0)
    @3,190,447us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 1 inUse 0 consumed 9
       9 =  0, 0, 0, 1, 6,e5, 1,d2,80, 0, 0, 0
    @3,199,416us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,199,705us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,199,889us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,200,125us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,200,540us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,200,757us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,200,995us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,201,168us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0x0)
    @3,201,350us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 2 inUse 0 consumed 9
    892c =  0, 0, 0, 1,65,b8, 0, 0,83,64, b,14
    @3,469,396us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,469,680us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,469,863us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,470,098us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,481,947us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,482,222us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,482,472us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,482,658us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,482,837us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 3 inUse 0 consumed 35116
    @3,483,015us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x200
      6c =  0, 0, 0, 1,61,e2, 2,91,42,80,89,58
    @3,484,365us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,484,646us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,484,832us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,485,066us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
      cb =  0, 0, 0, 1,61,e4, 2,11,42,80,87,b8
    @3,497,366us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,497,786us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,498,054us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,498,246us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0x0)
    @3,498,430us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 3 inUse 0 consumed 108
    @3,498,775us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,499,032us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,499,220us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,499,455us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
     18c =  0, 0, 0, 1,61,e6, 6,45, a, d,be,ea
    @3,515,976us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,516,252us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,516,581us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,517,149us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,517,383us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 4 inUse 0 consumed 203
    @3,517,743us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x200
    @3,518,361us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,518,640us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,518,827us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,519,059us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
     4df =  0, 0, 0, 1,61,e8, 4,45, a, c,72,95
    @3,613,942us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,614,190us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,614,436us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,614,610us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,614,784us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 4 inUse 0 consumed 396
    @3,614,950us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x600
    @3,615,213us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,615,440us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,615,601us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,615,815us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,623,262us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,623,506us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,623,752us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,623,927us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,624,097us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 4 inUse 0 consumed 1247
    @3,624,273us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x200
    116a =  0, 0, 0, 1,61,ea, 9,14,28,9c,d4,92
    @3,700,402us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x60048, inBufs=0x44a3045c, outBufs=0x44a30450, inArgs=0x44a30cc0, outArgs=0x44a30520)
    @3,700,692us: [+5 T:0x44a31490] CV - VISA_enter(visa=0x60048): algHandle = 0x60080
    @3,700,881us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x60080)
    @3,701,115us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @3,800,806us: [+5 T:0x44a31490] CV - VISA_exit(visa=0x60048): algHandle = 0x60080
    @3,801,052us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x60080)
    @3,801,346us: [+0 T:0x44a31490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @3,801,531us: [+0 T:0x44a31490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x60048, retVal=0xffffffff)
    @3,801,710us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 4 inUse 0 consumed 4458
    @3,801,880us: [+2 T:0x44a31490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() non-fatal error 0x200

     

  • HI,

    From your log Decode process call returns -1(fail) sometime and 0(pass) sometimes. Looks input to the decoder is not stable, please dump the input stream to decoder and open in analyzer or player.

     

    Thanks,

    Veeranna

  • I am sorry to come late,very thanks you help.I have decoded the 264 stream data.But sometimes  I also  meet  a problem such as following errors

    EDMAK Error: dma_ioctl: REQUESTDMA failed

    EDMA Error: EDMA_IOCREQUESTDMA error
    Error: Failed to create video decoder:h264dec

    then ,I can't encode or decode video again unless reboot my DM365 board,could you give you suggestion about this,Because I don't wan't reboot again,

     

  • Hi,

    Can you please refer to below post.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/60773/217635.aspx and also if you are using old version codec please use latest from

    http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html

     

    Thanks,

    Veeranna