Herman Chen
Herman Chen
https://github.com/rockchip-linux/mpp/blob/da9c6226940398246b05496e1ebad4bd9f46920c/mpp/codec/enc/h264/h264e_sps.c#L81-L87 You can change constraint flag here.
解码的同步要依赖于输出帧的时间戳,不是这样用延时做同步的…… 延迟分段送包更是不合理的,建议先学习下视频编解码相关的基础知识,看下雷霄骅的博客
RV1126 encoder is 4K@30fps and RK3566/68 is 1080p@60fps in datasheet. The real performance should have some margin but it is not ensured in all the cases.
100fps is hardware design target. 60fps is the real rate that can achieve in all the cases. In some extreme case it will be 80+fps.
> Interesting. Are there architectural differences between rv1126 and rk3566/68 regarding the encoding unit ? From my testing, rv1126 can do 1080p 60 without problems. If you feed it 1080p90...
echo 0x100 > /sys/module/rk_vcodec/parameters/mpp_dev_debug And check the hardware timing.
是什么芯片平台?
麻烦把测试源提供下
测试时不要加 -d 1 运行 mpp_platform_test 看下 log mpp_device: mpp_dev_init found unsupported client type 3 in platform 40202 看起来解码器 client type 的判断异常了
另外可以测试下用 develop 分支的结果