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.

DM8107 Decode MPEG2

Hello,

I am doing a DVR project and my platform is DM8107 (DVRRDK_04.01.00.02), but I get a log error when I run my application.Here's my processing chain of my application: 

                ESFrame MPEG2  
                |
                ipcBitsOutHost
                |
                ipcBitsInVideo
                |
                DEC
                |
                ipcFramesOutVideo
                |
                ipcFramesInVpss
                |
                SW Mosaic
                |
                Display

The error log is below:

 [m3video] 67140:DECLINK::links_m3video/iva_dec/decLink_mpeg2.c:[298]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddecOutArgs.extendedError for channel 0 Error: 0x20000460
 [m3video] 67140:WARN
 [m3video] DECLINK:ERROR in Declink_mpeg2DecodeFrameBatch.Status[-1]
 
 [m3video] 70981:DECLINK::links_m3video/iva_dec/decLink_mpeg2.c:[298]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddecOutArgs.extendedError for channel 0 Error: 0x800000
 [m3video] 70981:WARN
 [m3video] DECLINK:ERROR in Declink_mpeg2DecodeFrameBatch.Status[-1]
 
 [m3video] 78975:DECLINK::links_m3video/iva_dec/decLink_mpeg2.c:[298]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddecOutArgs.extendedError for channel 0 Error: 0x800000
 [m3video] 78975:WARN
 [m3video] DECLINK:ERROR in Declink_mpeg2DecodeFrameBatch.Status[-1]
 
 [m3video] 79936:DECLINK::links_m3video/iva_dec/decLink_mpeg2.c:[298]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddecOutArgs.extendedError for channel 0 Error: 0x800000
 [m3video] 79936:WARN
 [m3video] DECLINK:ERROR in Declink_mpeg2DecodeFrameBatch.Status[-1]
 
 [m3video] 87993:DECLINK::links_m3video/iva_dec/decLink_mpeg2.c:[298]::INTERNAL ERROR:-1
 [m3video] ALGPROCESS FAILED:STATUS
 [m3video] outArgs->viddecOutArgs.extendedError for channel 0 Error: 0x800000
 [m3video] 87993:WARN
 [m3video] DECLINK:ERROR in Declink_mpeg2DecodeFrameBatch.Status[-1]

This error don't decode a Picture but I have just  this error 5 frames of 580 frames.
I work on a custom board, I send an elementary stream MPEG2 to the decoder (ES frame).
I set the related params like:

/** DECODE */
Pt_decLinkChPrm->format = IVIDEO_MPEG2HP;
Pt_decLinkChPrm->profile = IH264VDEC_PROFILE_ANY;
Pt_decLinkChPrm->displayDelay = -1;
Pt_decLinkChPrm->processCallLevel = VDEC_FIELDLEVELPROCESSCALL;
Pt_decLinkChPrm->fieldMergeDecodeEnable = FALSE;
Pt_decLinkChPrm->dpbBufSizeInFrames = IH264VDEC_DPB_NUMFRAMES_AUTO;
Pt_decLinkChPrm->algCreateStatus = DEC_LINK_ALG_CREATE_STATUS_CREATE;  
Pt_decLinkChPrm->numBufPerCh = 10;
Pt_decLinkChPrm->decodeFrameType = VDEC_DECODE_ALL;

The resolution for the display is VSYS_STD_PAL, widht: 720 and height: 576.
 











Can you tell me if this parameters are correct ?


Regards

  • Hello Margarita,
    I don't know why should I contact local FAE?
    Beacause I worlk on a custom board and this error don't decode a Picture.
    I send an elementary stream MPEG2 to the decoder (ES frame).
    I set the related params like:

    /** DECODE */
    Pt_decLinkChPrm->format = IVIDEO_MPEG2HP;
    Pt_decLinkChPrm->profile = IH264VDEC_PROFILE_ANY;
    Pt_decLinkChPrm->displayDelay = -1;
    Pt_decLinkChPrm->processCallLevel = VDEC_FIELDLEVELPROCESSCALL;
    Pt_decLinkChPrm->fieldMergeDecodeEnable = FALSE;
    Pt_decLinkChPrm->dpbBufSizeInFrames = IH264VDEC_DPB_NUMFRAMES_AUTO;
    Pt_decLinkChPrm->algCreateStatus = DEC_LINK_ALG_CREATE_STATUS_CREATE;
    Pt_decLinkChPrm->numBufPerCh = 10;
    Pt_decLinkChPrm->decodeFrameType = VDEC_DECODE_ALL;

    The resolution for the display is VSYS_STD_PAL, widht: 720 and height: 576.

    Can you tell me if this parameters are correct ?


    BR
    Antoine