We have a live streaming requirement to stream both rtsp (axis camera) and udp mpeg ts from another e ncoder. The application requires low latency and smooth scrolling of video, since users will be using ptz cameras.
With sync=false, we get jerky video. WIth sync=true and default latency, we get about 1 sec
delay. With both sync=true and latency=200 we get a good compromise. Setting the latency
too low results in jerky video.
The video is smooth when using PTZ, but the delay is over a second, making positioning
the camera interactively difficult.
If we set sync=false, the latency is low but the video is very jerky when panning.
Unfortunately, there does not seem to be a latency parameter in any of the elments
in the mpeg ts decode pipeline that directly controls the latency of the video.
Is there anything we can adjust to minimize this latency.
Hi Cary,
You can try if executing jetson_clocks helps:
sudo ./jetson_clocks.sh
Timestamps is totally handles in gstreamer frameworks and NVIDIA-developed omxh264dec does not give any private handling. Ideally HW decoder omxh264dec should bring you better performance then SW decoder avdec_h264.
The issue is that the video jerks when we pan the AXIS I/P camera from side to side when sync=false. When sync=true the picture is smooth but we get 2 second delay. How can we get low delay without jerkiness.
Delay is over 2 seconds when sync=true. The latency is acceptable when sync=false, except the picture jerks when the camera is moved from side to side.
the omxh264 is giving the following error messages:
(gst-launch-1.0:9588): GStreamer-CRITICAL **: 06:25:03.264: gst_caps_fixate: assertion âGST_IS_CAPS (caps)â failed
Hi, whatâs the different by using cv2.VideoCapture(ârtsp://â)?
I try to compare fps, in v4l2 gstreamer is faster but in rtsp I can see the different.
What does âenable-max-performanceâ do? I havenât found much about this in the documentation? Why isnât it just max performance by default? I am using the AGX Xavier