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.

about the encode error in RDK4.0

Hi,

    I use my board and RDK4.0.

    I run the demo cap_enc_dec_dis just change the file multich_progressive_vcap_venc_vdec_vdis.c which could run in RDK2.8, and the log is showed belowed.

    Could you tell me what is the matter?

Thank you and best regards!

 

 13919: ENCODE: Create in progress ... !!!
 [m3video]  13952: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
 [m3video] 14003:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[232]::INTERNAL ERROR:-1
 [m3video] ALGCONTROL FAILED:CMD:1
 [m3video] ERROR: XDM_UNSUPPORTEDPARAM = 14,
 [m3video] ERROR: XDM_FATALERROR = 15
 [m3video] ERROR: IH264ENC_UNSUPPORTED_VIDENC2DYNAMICPARAMS = 30,
 [m3video] 
 [m3video] 14004:ERR::linkID:10000021::channelID:0::errorCode:-5::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1270::errorCondition:(algStatus == XDM_EOK)
 [m3video] ENCLINK_H264:HEAPID:0        USED:1896
 [m3video]  14004: Assertion @ Line: 937 in links_m3video/iva_enc/encLink_common.c: retVal == ENC_LINK_S_SUCCESS : failed !!!

  • You cannot just change the the file multich_progressive_vcap_venc_vdec_vdis.c which could run in RDK2.8.There are several API changes and you have to update your usecase correctly for RDK 4.0.

    Refer /dvr_rdk/mcfw/src_linux/mcfw_api/usecases/ti816x/multichhdsd_vcap_venc_vdis.c multich_hdsddvr_set_enclink_prm function for correct configuration for 1080P encode.