rtsp output working but a lot of frame errors ?

Hi,
I frames have larger size. It is more like an issue in bandwidth or buffering. You may try to modify deepstream-app to configure some properties in rtspsrc or queue plugin.