|
ffmpeg 拉流
mpp 解码
运行一段时间解码器被重置,ffmpeg端设置tcp方式拉流
mpp 端设置自动拼包模式
通过dmesg -wH 命令监控日志发现,解码器被重置了。
但是代码中没有重置的逻辑,而且也没有发现有丢包的问题,保证输入的都是h264的包(已经手动添加校验)
报错函数:
mpp_frame_get_errinfo 返回结果是1
内核消息如下:
[Nov12 16:16] rk-vcodec ff660000.rkvdec: resetting...
[ +0.005128] rk-vcodec ff660000.rkvdec: reset done
[ +0.005036] rk-vcodec ff660000.rkvdec: reset done
[ +16.114366] rk-vcodec ff660000.rkvdec: resetting...
[ +0.005163] rk-vcodec ff660000.rkvdec: reset done
[ +0.007395] rk-vcodec ff660000.rkvdec: reset done
[ +27.869316] rk-vcodec ff660000.rkvdec: resetting...
[ +0.005158] rk-vcodec ff660000.rkvdec: reset done
[ +0.005198] rk-vcodec ff660000.rkvdec: reset done
[Nov12 16:17] rk-vcodec ff660000.rkvdec: resetting...
[ +0.005159] rk-vcodec ff660000.rkvdec: reset done
[ +0.008355] rk-vcodec ff660000.rkvdec: reset done
[ +16.192154] rk-vcodec ff660000.rkvdec: resetting...
[ +0.012014] rk-vcodec ff660000.rkvdec: reset done
[ +0.007324] rk-vcodec ff660000.rkvdec: reset done
|
|