I am trying to play video through openCV on my Rpi3. The video is coming from an ip camera connected through the Ethernet port. The problem is that when opening the h264 file from the camera url (rtsp://192.xxx.xxx.xxx/video.h264) in openCV, the live video feed is very laggy. I have concluded that it is because the video is being decoded and played using the resources of the CPU rather than GPU, since omxplayer plays the video just fine as it uses the GPU of the Rpi3. Is there anything that I can do so that I can display the video at some point through openCV at an ideal framerate on my Rpi3 from an ip camera?
You must be logged in to post. Please login or register an account.