Slow encoding or poor stream quality. Not really HA issue.
How it look in VLC?
This is answer.
High quality need more bandwidth.
Low quality = low bandwidth
Try from VLC? If same result maybe login camera and see if you can change/lower frame rate to improve. Ffmpeg has option to adjust frame rate from source somehow but not sure how to do this. That would help.
I couldn’t get the Amcrest platform to work for me. This is an Amcrest DVR (8-channel) and I don’t see it in the list of supported devices anyway. I couldn’t figure out how to get different channels specified.
So, I did a lot of changing and testing and reading through these threads:
I see others have had the exact same problem (sorry for not finding that before I posted).
I changed the resolution of the cameras all the way down to CIF (352x240) before the phenomena would quit happening. I dropped the FPS all the way down to 1. I dropped the bitrate way down and even changed the codec from h.264H to h.264b Nothing else seemed to help.
I am resigned to believe this has to do with the hardware that my HA is running on: HASS.IO on ODROID-XU4. The ffmpeg implementation on that image probably does not have enough power with that hardware although it is a step up from a Raspberry Pi.
Ultimately, I am not running HA for the cameras. The camera integration is just an added bonus. I have better apps available to stream the camera feeds if I need to see those.
I backed the rtsp streams to the subtype=1 which is the lower resolution but at least a stable image.