omxplayer (ffmpeg) defaults to UDP and falls back to TCP, and RPI's default UDP configuration is not able to handle RSTP throughput without dropping packets.. dropped iframes result in tearing.
to fix tearing, either lay down the omxplayer I built and attached here.. setup iptables rules to block port RSTP via UDP, tweak linux's network settings to get it to handle the UDP data (suspect it needs bigger buffers) or disable UDP RSTP on your camera if its an option.
to fix tearing, either lay down the omxplayer I built and attached here.. setup iptables rules to block port RSTP via UDP, tweak linux's network settings to get it to handle the UDP data (suspect it needs bigger buffers) or disable UDP RSTP on your camera if its an option.