Hi All , I used rtsp input( H265 1080P 30 FPS) to decode and ouput to hdmi,but get this error.
---------------------------------------------------------------------------------------------------
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcVeStatusInfo:1791>: HEVC slice dec error, poc: 0, ctuNum = 165, totalCtuNum = 2040
error : cedarc <DecoderDecodeOneNalu:2413>: h265 decode one slice hardware error
warning: cedarc <HevcDecDecodeOneFrame:2547>: h265 decode nalu error, continue decode next nalu! nalu type: 19, size: 90569
warning: cedarc <HevcDecDecodeOneFrame:2548>: *******pHevcDec->pCurrFrame = (nil),i = 3
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1525, 2040
warning: cedarc <HevcAddCandidateRef:126>: ref_frame is error, reset decoder to deocde from keyFrame
warning: cedarc <HevcFrameStart:1980>: construct reference picture set failed , ret = 34
debug : cedarc <H265DecoderDecode:517>: reset h265 intra decoder
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1525, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1525, 2040
-----------------------------------------------------------------------------------------------
ffprobe
---------------------------------------------------------------------------------------
Input #0, rtsp, from 'rtsp://XXXXXXXXXX/stream0':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.000333, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 30 tbc
---------------------------------------------------------------------------------------
VDEC configure
----------------------------------------------------------------------------------------
VDEC_CHN_ATTR_S vdec_attr;
memset(&vdec_attr, 0, sizeof(VDEC_CHN_ATTR_S));
vdec_attr.mType = PT_H265;
vdec_attr.mPicWidth = 1920;
vdec_attr.mPicHeight = 1080;
vdec_attr.mInitRotation = ROTATE_NONE;
vdec_attr.mOutputPixelFormat = MM_PIXEL_FORMAT_YVU_SEMIPLANAR_420;
vdec_attr.mVdecVideoAttr.mMode = VIDEO_MODE_FRAME;
vdec_attr.mVdecVideoAttr.mSupportBFrame = 0;
---------------------------------------------------------------------------------------
Any body know how to resolve it?
---------------------------------------------------------------------------------------------------
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1395, 2040
warning: cedarc <HevcVeStatusInfo:1791>: HEVC slice dec error, poc: 0, ctuNum = 165, totalCtuNum = 2040
error : cedarc <DecoderDecodeOneNalu:2413>: h265 decode one slice hardware error
warning: cedarc <HevcDecDecodeOneFrame:2547>: h265 decode nalu error, continue decode next nalu! nalu type: 19, size: 90569
warning: cedarc <HevcDecDecodeOneFrame:2548>: *******pHevcDec->pCurrFrame = (nil),i = 3
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1525, 2040
warning: cedarc <HevcAddCandidateRef:126>: ref_frame is error, reset decoder to deocde from keyFrame
warning: cedarc <HevcFrameStart:1980>: construct reference picture set failed , ret = 34
debug : cedarc <H265DecoderDecode:517>: reset h265 intra decoder
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1525, 2040
warning: cedarc <HevcDecDecodeOneFrame:2554>: ctuNum not rignt: 1525, 2040
-----------------------------------------------------------------------------------------------
ffprobe
---------------------------------------------------------------------------------------
Input #0, rtsp, from 'rtsp://XXXXXXXXXX/stream0':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.000333, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 30 tbc
---------------------------------------------------------------------------------------
VDEC configure
----------------------------------------------------------------------------------------
VDEC_CHN_ATTR_S vdec_attr;
memset(&vdec_attr, 0, sizeof(VDEC_CHN_ATTR_S));
vdec_attr.mType = PT_H265;
vdec_attr.mPicWidth = 1920;
vdec_attr.mPicHeight = 1080;
vdec_attr.mInitRotation = ROTATE_NONE;
vdec_attr.mOutputPixelFormat = MM_PIXEL_FORMAT_YVU_SEMIPLANAR_420;
vdec_attr.mVdecVideoAttr.mMode = VIDEO_MODE_FRAME;
vdec_attr.mVdecVideoAttr.mSupportBFrame = 0;
---------------------------------------------------------------------------------------
Any body know how to resolve it?