recommended way to read video (numpy array rgb)


Trying to read 4K mp4 video file (from the rootfs) into numpy array (rgb), for later processing.
I compiled & installed ffmpeg and sk-video.

Just reading it (loop that reads and does nothing with the frame) gives me 12.5 fps at best.
using maxN mode, no other major processes.

Is there a better way of doing this ?

We don’t support HW acceleration in ffmpeg. Please try gstreamer or tegra_multimedia_api