I spent a lot of time trying to find answer, but I've failed. I have an IP Camera with RTSP access (h.264). If I open the stream from OpenCV it tries to decode (as I understand) via ffmpeg and currupts frames.
[h264 @ 0x1821f20] error while decoding MB 3 35, bytestream -14
As I understood, I should use gstreamer for hardware acceleration (with NVIDIA GPU), but I can't find a real solution. What I should do?
- run gstreamer from console and get frames from buffer (RAM?) via OpenCV app?
- do something in OpenCV app?
- re-compile OpenCV with gstreamer and without ffmpeg?