We are decoding a stream comming from an IP camera. The video is 25fps and 1920x1080 (6000Kbps). We can decode and display the video correctly but sometimes the video shows tearing (see image attached). The tearing also seems to be directly related to the complexity of the image.
Currently we useIPP 6.0.2.074 but tests with IPP7.0.3.050 shows the same problem.
What could be the cause of video tearing?
(Send data to the decoder too fast/slow? Memory corruption between decode/draw?)
I have been doing tests with different cameras and h264 streams but all of them show errors when using ffmpeg and ffplay. So, are all of them wrong? VLC (using avcodec internally) is able to reproduce all this streams without problems showing smooth video.
To avoid errors in my side I have also used ffplay directly using an rtsp input with same results: