How to fix H264 decoding?
Hi I'm using version 246 of openCV. My application plays multiple IPCamera streams via RTSP. I understand it uses ffmpeg to load the rtsp url I provide. I have two IP cameras, one of them works well, with some h.264 errors but the live video feed is playing. The other one, avigilon model 2.0-H3-B1 gives the following error:
[h264 @ --------] non-existing PPS referenced
[h264 @ --------] non-existing PPS 0 referenced
[h264 @ --------] no frame!
After researching this is due problems with ffmpeg decoders, or x264 decoders (I don't know if there is any difference). I've read that there are some patches around but I have no idea how to apply them. Should I rebuild ffmpeg again? If so, how do I make my openCV version use the new ffmpeg build?
I've also found gstreamer can solve this issue, I'm not sure if openCV uses gstreamer or not. If so, how do I make it use the gstreamer libs instead of ffmpeg?
I'm working under Windows VS2010.
Thanks!