Closed MarcA711 closed 2 months ago
According to MPP dev there is no direct way here. https://github.com/rockchip-linux/mpp/issues/129 But it can be roughly estimated by the hardware time spent per frame and chip specs (e.g. up to 8k60).
# 0x100 debug on; 0x0 debug off
sudo sh -c "echo 0x100 > /sys/module/rk_vcodec/parameters/mpp_dev_debug"
# dmesg
[37651.636118] rk_vcodec: fdc48100.rkvdec-core:1 session 34096:5 time: 1170 us hw 1158 us
[37651.636723] rk_vcodec: fdc38100.rkvdec-core:0 session 34096:5 time: 1166 us hw 1158 us
I would also recommend using the FPS given by ffmpeg for estimation.
Thank you very much!
Hi,
for rknpu one can get the load and other statistics using:
For rkrga this prints the load:
Does anybody know if there are similar statistics for the other hardware de-/encoders? Maybe @nyanmisaka can help?
Thanks