我这边一使用多线程解码多路视频mpp_frame_get_errinfo就返回1Collaborator HermanChen commented Nov 6, 2022 是这样的,3399 的 264 编码器和 jpeg 编解码是同一个器件时分复用的,所以跑 jpeg 的时候会让 264 编码性能大大下降Sign up for free to join this conversation on GitHub. Already have an account?
usage;} MpiDecTestCmd;size_t mpp_frame_get_buf_size(const MppFrame s){ check_is_mpp_frame((MppFrameImpl*)s);return ((MppFrameImpl*)s)->buf_size;} void dump_mpp_frame_to_file(MppFrame frame, FILE *fp){ RK_U32 width = 0;RK_U32 height = 0;RK_U32 h_stride = 0;
// qDebug("Error == AVERROR_EOF or AVERROR(EAGAIN) while %d avcodec_receive_frame : %s", receive_frame_count++,av_err2str(ret));break; } else if (response < 0) { // qDebug("Error <0 while %d avcodec_receive_frame : %s", receive_frame_count++,av_err2str(ret));// ...
383 } else if (mpp_frame_get_discard(mppframe)) { 384 av_log(avctx, AV_LOG_DEBUG, "Received a discard frame.\n"); 385 ret = AVERROR(EAGAIN); 386 goto fail; 387 } else if (mpp_frame_get_errinfo(mppframe)) { 388 av_log(avctx, AV_LOG_ERROR, "Received a errinfo frame.\n...
MppFrame 的其他配置参数成员如下: 成员名称 成员类型 描述说明 mode RK_U32 表示图像数据帧场属性: pts RK_U64 表示图像的显示时间戳(Present Time Stamp )。 dts RK_U64 表示图像的解码时间戳(Decoding Time Stamp )。 eos RK_U32 表示图像的结束标志(End Of Stream )。 errinfo RK_U32 表示图像的...
[mpp]: fix mpp frame leak when async enc [enc]: Add use_lt_idx to output packet meta [hal_h265e]: fix sse_sum get err [mpp_enc_async]: fix mpp packet leak when thread quit [enc_roi]: Support ROI cfg under CQP mode [hal]: Fix the lib interdependence issue ...
MPP_DEC_SET_DISABLE_ERROR 命令参数为 RK_U32*,用于关闭 MPP 解码器的错误处理.一旦使能,MPP 解码会无视码流的错误 情况,输出全部的可解码图像,同时不对输出的 MppFrame 结构里的 errinfo 进行标记.命令调用时 机在 decode_put_packet 之前. MPP_DEC_SET_IMMEDIATE_OUT 命令参数为 RK_U32*,用于使能 H....
h264d_parse: SliceSTATE_GetSliceData h264d_parse: SliceSTATE_RegisterOneFrame h264d_dpb: [DPB_size] p_Dpb->used_size=5 h264d_api: [CALLBACK] g_no=1757, out_idx=4, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 ...
Solutions By company size Enterprises Small and medium teams Startups By use case DevSecOps DevOps CI/CD View all use cases By industry Healthcare Financial services Manufacturing Government View all industries View all solutions Resources Topics AI DevOps Security Software...
使用ffmpeg 将mp4视频转换 h264文件。 用mpp对其解码. rga转换 drm显示,显示时出现了马赛克,花屏现象。 h264文件 在vlc上播放并未出现任何问题。我无法确定原因。