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.

DVRRDK3.5 NVR decode error.

HI.

i'm using DVRRDK3.5 using VSYS_USECASE_MULTICHN_VDEC_VDIS usecase for the NVR solution.

when i put encoded data from netra's  704x480 resolution, 704x480 playback everything is ok.

but when i put encoded data from dm368's 1280x720 resolution data, it fails.

I got some error messages for decoder when I start playback,

 [m3video] 48348:DECLINK::links_m3video/iva_dec/decLink_h264.c:[378]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
 [m3video] Sequence called number 297
 [m3video] 48364:DECLINK::links_m3video/iva_dec/decLink_h264.c:[378]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
 [m3video] Sequence called number 298
 [m3video] 48380:DECLINK::links_m3video/iva_dec/decLink_h264.c:[378]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
 [m3video] Sequence called number 299
 [m3video] 48396:DECLINK::links_m3video/iva_dec/decLink_h264.c:[378]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
 [m3video] Sequence called number 300
 [m3video] 48411:DECLINK::links_m3video/iva_dec/decLink_h264.c:[378]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x20208001
 [m3video] Sequence called number 301

when i analysis netra encoded data(704x480 res) and dm368 encoded data(1280x720 res). both starts with SPS+PPS+SEI+IDR. and i captured h.264 data from dm368 soc directly.

where to  check to fix this issue?

i can see netra encoded data with vlc player.

below is my attachment file of dm368 encoded data, you can see this  with vlc player.

5732.1280x720_ti_ch0.h264.dat

Print_deugStatistics log

 [m3vpss ] 
 [m3vpss ]  *** [SWMS0] Mosaic Statistics ***
 [m3vpss ] 
 [m3vpss ]  Elasped Time: 10 secs
 [m3vpss ] 
 [m3vpss ]  Output Request FPS   : 32 fps (320 frames)
 [m3vpss ]  Output Actual  FPS   : 32 fps (320 frames)
 [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames)
 [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames)
 [m3vpss ]  Scaling Internal     : 33 ms
 [m3vpss ]  Scaling Internal min : 33 ms
 [m3vpss ]  Scaling Internal max : 34 ms
 [m3vpss ] 
 [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy
 [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS      
 [m3vpss ]  -----------------------------------------------------------------------------------------------------------------
 [m3vpss ]    0 |      0     32    0    0    0          0        0 (  0/255)         0          0      0 65535 /   0        
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ]  *** [SWMS0] Mosaic Parameters ***
 [m3vpss ] 
 [m3vpss ]  Output FPS: 30
 [m3vpss ] 
 [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output   |
 [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y /|
 [m3vpss ]  -----------------------------------------------------------------------------------------------------------------
 [m3vpss ]    0 |   0 |    0,    0 |   720 x    576 |   896 /   896 | NON-TILED   |    0,    0 |  1920 x   1080 |  3840 /   |
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ]  *** [SWMS1] Mosaic Statistics ***
 [m3vpss ] 
 [m3vpss ]  Elasped Time: 10 secs
 [m3vpss ] 
 [m3vpss ]  Output Request FPS   : 32 fps (321 frames)
 [m3vpss ]  Output Actual  FPS   : 32 fps (321 frames)
 [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames)
 [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames)
 [m3vpss ]  Scaling Internal     : 33 ms
 [m3vpss ]  Scaling Internal min : 33 ms
 [m3vpss ]  Scaling Internal max : 34 ms
 [m3vpss ] 
 [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy
 [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS      
 [m3vpss ]  -----------------------------------------------------------------------------------------------------------------
 [m3vpss ]    0 |      0     32    0    0    0          0        0 (  0/255)         0          0      0 65535 /   0        
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ]  *** [SWMS1] Mosaic Parameters ***
 [m3vpss ] 
 [m3vpss ]  Output FPS: 30
 [m3vpss ] 
 [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output   |
 [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y /|
 [m3vpss ]  -----------------------------------------------------------------------------------------------------------------
 [m3vpss ]    0 |   0 |    0,    0 |   720 x    576 |   896 /   896 | NON-TILED   |    0,    0 |  1920 x   1080 |  3840 /   |
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ]  41242: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 83 / 84 ), Callback Interval (Min / Max) = ( 16 / 1
 [m3vpss ]  41242: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 649, HDDAC(BP0) 649, DVO2(BP1) 651, SDDAC(SEC1) 651
 [m3vpss ]  41242: SYSTEM  : FREE SPACE : System Heap      = 67304 B, Mbx = 10238 msgs)
 [m3vpss ]  41242: SYSTEM  : FREE SPACE : SR0 Heap         = 17493760 B (16 MB)
 [m3vpss ]  41243: SYSTEM  : FREE SPACE : Frame Buffer     = 464374656 B (442 MB)
 [m3vpss ]  41243: SYSTEM  : FREE SPACE : Bitstream Buffer = 251690880 B (240 MB)
 [m3vpss ]  41243: SYSTEM  : FREE SPACE : Tiler 8-bit      = 134217728 B (128 MB)  - TILER ON
 [m3vpss ]  41243: SYSTEM  : FREE SPACE : Tiler 16-bit     = 134217728 B (128 MB)  - TILER ON
 [m3vpss ]  41243: DISPLAY: DVO2(BP1)  : 59 fps, Latency (Min / Max) = ( 83 / 84 ), Callback Interval (Min / Max) = ( 16 / 1
 [m3video]      45244: HDVICP-ID:0
 [m3video] All percentage figures are based off totalElapsedTime
 [m3video]               totalAcquire2wait :0 %
 [m3video]               totalWait2Isr :0 %
 [m3video]               totalIsr2Done :0 %
 [m3video]               totalWait2Done :0 %
 [m3video]               totalDone2Release :0 %
 [m3video]               totalAcquire2Release :0 %
 [m3video]               totalAcq2acqDelay :0 %
 [m3video]               totalElapsedTime in msec :       0
 [m3video]               numAccessCnt:       0
 [m3video]              IVA-FPS :       0
 [m3video]              Average time spent per frame in microsec:       0
 [m3video]      45244: HDVICP-ID:1
 [m3video] All percentage figures are based off totalElapsedTime
 [m3video]               totalAcquire2wait :0 %
 [m3video]               totalWait2Isr :0 %
 [m3video]               totalIsr2Done :0 %
 [m3video]               totalWait2Done :0 %
 [m3video]               totalDone2Release :0 %
 [m3video]               totalAcquire2Release :0 %
 [m3video]               totalAcq2acqDelay :0 %
 [m3video]               totalElapsedTime in msec :       0
 [m3video]               numAccessCnt:       0
 [m3video]              IVA-FPS :       0
 [m3video]              Average time spent per frame in microsec:       0
 [m3video]      45245: HDVICP-ID:2
 [m3video] All percentage figures are based off totalElapsedTime
 [m3video]               totalAcquire2wait :0 %
 [m3video]               totalWait2Isr :0 %
 [m3video]               totalIsr2Done :0 %
 [m3video]               totalWait2Done :0 %
 [m3video]               totalDone2Release :0 %
 [m3video]               totalAcquire2Release :0 %
 [m3video]               totalAcq2acqDelay :0 %
 [m3video]               totalElapsedTime in msec :       0
 [m3video]               numAccessCnt:       0
 [m3video]              IVA-FPS :       0
 [m3video]              Average time spent per frame in microsec:       0
 [m3video] 
 [m3video]  *** DECODE Statistics ***
 [m3video] 
 [m3video]  Elasped Time           : 15 secs
 [m3video] 
 [m3video] 
 [m3video]  CH  | In Recv In User  Out
 [m3video]  Num | FPS     Skip FPS FPS
 [m3video]  -----------------------------------
 [m3video]    0 |       0        0   0
 [m3video]    1 |       0        0   0
 [m3video]    2 |       0        0   0
 [m3video]    3 |       0        0   0
 [m3video]    4 |       0        0   0
 [m3video]    5 |       0        0   0
 [m3video]    6 |       0        0   0
 [m3video]    7 |       0        0   0
 [m3video]    8 |       0        0   0
 [m3video]    9 |       0        0   0
 [m3video]   10 |       0        0   0
 [m3video]   11 |       0        0   0
 [m3video]   12 |       0        0   0
 [m3video]   13 |       0        0   0
 [m3video]   14 |       0        0   0
 [m3video]   15 |       0        0   0
 [m3video] 
 [m3video] Multi Channel Decode Average Submit Batch Size
 [m3video] Max Submit Batch Size : 24
 [m3video] IVAHD_0 Average Batch Size : 0
 [m3video] IVAHD_0 Max achieved Batch Size : 0
 [m3video] IVAHD_1 Average Batch Size : 0
 [m3video] IVAHD_1 Max achieved Batch Size : 0
 [m3video] IVAHD_2 Average Batch Size : 0
 [m3video] IVAHD_2 Max achieved Batch Size : 0
 [m3video] 
 [m3video] Multi Channel Decode Batch break Stats
 [m3video] Total Number of Batches created: 0
 [m3video] All numbers are based off total number of Batches created
 [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
 [m3video]       Batch breaks due to ReqObj Que being empty: 0 %
 [m3video]       Batch breaks due to changed resolution class: 0 %
 [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
 [m3video]       Batch breaks due to channel repeat: 0 %
 [m3video]       Batch breaks due to different codec: 0 %
 [m3video] Total Number of Batches created: 0
 [m3video] All numbers are based off total number of Batches created
 [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
 [m3video]       Batch breaks due to ReqObj Que being empty: 0 %
 [m3video]       Batch breaks due to changed resolution class: 0 %
 [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
 [m3video]       Batch breaks due to channel repeat: 0 %
 [m3video]       Batch breaks due to different codec: 0 %
 [m3video] Total Number of Batches created: 0
 [m3video] All numbers are based off total number of Batches created
 [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
 [m3video]       Batch breaks due to ReqObj Que being empty: 0 %
 [m3video]       Batch breaks due to changed resolution class: 0 %
 [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
 [m3video]       Batch breaks due to channel repeat: 0 %
 [m3video]       Batch breaks due to different codec: 0 %
 [m3video] 
 [m3vpss ] 
 [m3vpss ]  *** [MP_SCLR0 ] Statistics ***
 [m3vpss ] 
 [m3vpss ]  Total Frames Received  : 0
 [m3vpss ]  Total Frames Forwarded : 0
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ]  CH  | In Recv In Reject Processed  Latency(DRV) Processed  Rejected
 [m3vpss ]  Num | FPS     FPS       FPS        Min / Max    Frames     Frames 
 [m3vpss ]  -------------------------------------------------------------------
 [m3vpss ] 
 [m3vpss ]  47250: LOAD: CPU: 5.3% HWI: 1.1%, SWI:0.8%
 [m3vpss ] 
 [m3vpss ]  47250: LOAD: TSK: DISPLAY0            : 0.2%
 [m3vpss ]  47250: LOAD: TSK: DISPLAY1            : 0.2%
 [m3vpss ]  47250: LOAD: TSK: SWMS0               : 1.2%
 [m3vpss ]  47250: LOAD: TSK: SWMS1               : 1.2%
 [m3vpss ]  47250: LOAD: TSK: MISC                : 0.6%
 [m3vpss ] 
 [m3video] 
 [m3video]  47751: LOAD: CPU: 1.3% HWI: 0.2%, SWI:0.4%
 [m3video] 
 [m3video]  47751: LOAD: TSK: IPC_BITS_IN0        : 0.1%
 [m3video]  47751: LOAD: TSK: DEC0                : 0.3%
 [m3video]  47751: LOAD: TSK: MISC                : 0.3%
 [m3video] 
 [c6xdsp ] 
 [c6xdsp ]  45661: LOAD: CPU: 0.1% HWI: 0.0%, SWI:0.0%
 [c6xdsp ] 
 [c6xdsp ]  45661: LOAD: TSK: MISC                : 0.1%

Best Regards.

CHO.