I’ve been trying to get the advertised framerate out of a Radxa 8m 219 camera with hardware acceleration.
With ffmpeg installed as described here
https://docs.radxa.com/en/zero/zero3/app-development/rtsp?target=ffmpeg
ffmpeg -re -i /dev/video0 output.mkv
This gives me 20fps, without re i get 30 fps which drops to 20 fps.
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_rkmpp_encoder))
Press [q] to stop, [?] for help
[h264_rkmpp_encoder @ 0xaaab18294ef0] Picture format is yuv420p.
[h264_rkmpp_encoder @ 0xaaab18294ef0] Rate Control mode is set to CBR
[h264_rkmpp_encoder @ 0xaaab18294ef0] Bitrate Target/Min/Max is set to 6000000/5625000/6375000
[h264_rkmpp_encoder @ 0xaaab18294ef0] Profile is set to HIGH
[h264_rkmpp_encoder @ 0xaaab18294ef0] 8x8 Transform is enabled
[h264_rkmpp_encoder @ 0xaaab18294ef0] Level is set to 0
[h264_rkmpp_encoder @ 0xaaab18294ef0] Coder is set to CABAC
[h264_rkmpp_encoder @ 0xaaab18294ef0] Quality Min/Max is set to 50%(Quant=30) / 100%(Quant=10)
Output #0, matroska, to ‘output.mkv’:
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x1080, q=2-31, 6000 kb/s, 1000k fps, 1k tbn
Metadata:
encoder : Lavc60.3.100 h264_rkmpp_encoder
[h264_rkmpp_encoder @ 0xaaab18294ef0] Reconfigured with w=1920, h=1080, format=yuv420p.
frame= 401 fps= 19 q=-0.0 Lsize= 1885kB time=00:00:20.62 bitrate= 748.4kbits/s speed= 1x
It appears to be using the rkmpp encoder so should be hardware accelerated.
…
Gstreamer gives me blit errors.
Has anyone got higher framerates on this setup ?
Thanks