Help with making the gsteamer pipeline

drakejest

New Member
Hello Im having problems with streaming the video of my dahua PTZ IP camera. The camera is on the same local network. The problem is there is a 2-3 second delay between the video. Originally i am using the default media source with a 2MB Network buffering. I have read two possible solutions to this, instead of using rtsp i should use NDI , but i do not think dahua has NDI compatible cameras. The other is to use Gstreamer instead of the Media source in obs, I have already installed Gstreamer problem is i do not know how to create the pipeline for my camera.

The one i used in rtsp is :

rtsp://admin:admin1234@192.168.0.5:554/cam/realmonitor?channel=1&subtype=0

Can anyone help create a Gstreamer pipeline that gives the lowest amount of output delay?

Thank you
 
Hello Im having problems with streaming the video of my dahua PTZ IP camera. The camera is on the same local network. The problem is there is a 2-3 second delay between the video. Originally i am using the default media source with a 2MB Network buffering. I have read two possible solutions to this, instead of using rtsp i should use NDI , but i do not think dahua has NDI compatible cameras. The other is to use Gstreamer instead of the Media source in obs, I have already installed Gstreamer problem is i do not know how to create the pipeline for my camera.

The one i used in rtsp is :

rtsp://admin:admin1234@192.168.0.5:554/cam/realmonitor?channel=1&subtype=0

Can anyone help create a Gstreamer pipeline that gives the lowest amount of output delay?

Thank you
You can use the Gstreamer OBS plugin with the following code :
Code:
uridecodebin uri=rtsp://admin:admin1234@192.168.0.5:554/cam/realmonitor?channel=1&subtype=0 !queue !video.

You must also untick the "Sync appsinks to clock" option.

This works great for my Dahua cam (about 100ms latency) but i think that will disable your PTZ command
 
Top