Using the NN on the VIM4 with static images is good, but what about video? How can I get hardware acceleration to work? I have set CAP_FFMPEG to enable ffmeg, but I cant find a way to force it to use hardware
I added in the environment - which seemed to do nothing…
cv::VideoCapture cap("rtsp://192.168.10.145:8554/garden_low_cam",cv::CAP_FFMPEG); cap.set(cv::CAP_PROP_FRAME_WIDTH, default_width); cap.set(cv::CAP_PROP_FRAME_HEIGHT, default_height);
FFMPEG command line works with “-c:v h264_v4l2m2m” perfectly.
Has anyone managed to get hardware video decoders working on OpenCV on a VIM4N ?