|
本帖最后由 kylan 于 2025-8-15 11:15 编辑
以下是规格书参数

Support multi-stream encoding
3840 x 2160@30 fps + 1080p@30 fps encoding
3840 x 2160@30 encoding + 3840 x 2160@30 fps decoding
我接入的是imx415 3840x2160@30fps,使用RKmedia进行测试
目前VI走rkispp出图,使用VENC编码时需要两路视频流(H264),一路4K,一路1080P,但是查看信息最终只有8fps,rkisp延时33ms正常,但是rkispp会不断跳变(最高能到60多ms),这个是什么问题,为何实测和参数相差那么大
内核打印编码时间 -- 4k占用时间太长
[ 4387.674560] ffbb0000.rkvenc: pid: 846, session: b913a6ed, time: 32857 us
[ 4387.690664] ffbb0000.rkvenc: pid: 846, session: 2c7eb69b, time: 8905 us
[ 4387.812383] ffbb0000.rkvenc: pid: 846, session: b913a6ed, time: 33251 us
[ 4387.826446] ffbb0000.rkvenc: pid: 846, session: 2c7eb69b, time: 8702 us
[ 4387.956606] ffbb0000.rkvenc: pid: 846, session: b913a6ed, time: 33239 us
由于有字数要求,部分信息就没有截图,给了关键信息
cat /proc/mpp_service/session_summary

------------------------------------------------------------------------------------------------------------
| session| device| width| height| format| fps_in| fps_out| rc_mode| bitrate|gop_size|fps_calc| profile|
|85fc29c8| RKVENC| 3840| 2160| h264| 30| 30| cbr| 8294400| 30| 7.27| main|
------------------------------------------------------------------------------------------------------------
| session| device| width| height| format| fps_in| fps_out| rc_mode| bitrate|gop_size|fps_calc| profile|
|4c57daed| RKVENC| 1920| 1080| h264| 30| 30| cbr| 2073600| 30| 7.23| main|
cat /proc/rkisp0
Isp Read mode:frame1 (frame:2768 rate:33ms working time:16ms) cnt(total:2759 X1:2753 X2:5 X3:-1)
cat /proc/rkispp0
Input rkisp0 Format:FBC420 Size:3840x2160 (frame:4950 rate:33ms delay:18ms)Output rkispp_scale0 Format:NV12 Size:3840x2160 (frame:4947 rate:113ms delay:86ms)
Input rkisp0 Format:FBC420 Size:3840x2160 (frame:5004 rate:67ms delay:19ms)
Output rkispp_scale0 Format:NV12 Size:3840x2160 (frame:5002 rate:113ms delay:91ms)
|
|