Retry after disabling the lowdelay feature:
- either as parameter at the end of the RTSP URL:
>lowdelay=0
E.g.:
rtsp://192.168.100.20/cam0_0>lowdelay=0>vidsync=0>audiostreamenabled=0
- or programmatically before loading the URL by invoking:
DatasteadRtspSourceConfig.SetInt ("RTSP_Source_LowDelay_int", 0)
This could be a problem related to UDP, retry in TCP mode by specifying the RTSP transport as follows:
rtsp://192.168.1.43/stream>rtsp_transport=tcp
1. Retry after specifying a higher buffer duration, e.g. 500 or 1000 milliseconds:
- at the end of the
URL:
>buffer=1000
- or
programmatically:
DatasteadRtspSourceConfig.SetInt
("Source_BufferDuration_int", 1000)
2. retry with the Intel QuickSync hardware decoding:
-
at the end of the URL:
>hwaccel=2
- or
programmatically:
DatasteadRtspSourceConfig.SetInt
("RTSP_VideoStream_HWAcceleration_int", 2)
3. specify a number of threads > 1 (they are set to 1 by default), or 0 to select automatically the number of threads
- at the end of the URL:
>threads=0
(or specify a value > 1)
- or
programmatically:
DatasteadRtspSourceConfig.SetInt
("RTSP_Source_Threads_int", 0)
E.g.:
rtsp://192.168.100.20/cam0_0>buffer=1000
rtsp://192.168.100.20/cam0_0>hwaccel=2
rtsp://192.168.100.20/cam0_0>threads=0
The evaluation timeout occurred and stopped the recording.
Try to force a non-default transport mode by adding one of the
following settings at the end of the RTSP URL:
>rtsp_transport=udp
>rtsp_transport=tcp
>rtsp_transport=http
>rtsp_transport=udp_multicast
E.g.:
rtsp://192.168.0.25/axis-media/media.amp?videocodec=h264>rtsp_transport=udp
Or programmatically: TCP=1,UDP=2,HTTP=3,Udp_Multicast=4
E.g.
for HTTP:
DatasteadRtspSourceConfig.SetInt
("RTSP_Source_RTSPTransport_int", 3)
Retry after
adding:
>videopinformat=NV12
at the end of the URL, or
configure the filter as follows:
DatasteadRtspSourceConfig.SetStr ("RTSP_VideoStream_PinFormat_str", "nv12");