01304 827609 info@use-ip.co.uk Find us

nofriday

New Member
Messages
1
Points
1
I have a HIKVISION DS-2CD202WF-I(W) camera. The stream through the HIKVISION webpage - accessed using the camera IP address - in Internet Explorer and the ONVIF Device Manager(ODM) in Windows 10 works fine without any lags.

But, when I try to stream using VLC, ffplay(ffmpeg), OpenCV C++ VideoCapture class in Ubuntu 16.04 & 18.04, there is a lag of approximately 2 seconds.
The URLs I have tried are:

rtsp://<address>:<port>/Streaming/Channels/101?transportmode=unicast&profile=Profile_1
(from ONVIF Device Manager)

rtsp://<address>:<port>/Streaming/Channels/<id>/
rtsp://<username>:<password>@<address>:<port>/Streaming/Channels/<id>/
(from Hikvision RTSP Stream URLs)

How do i remove the lag and get live video stream on using VLC, ffplay(ffmpeg), OpenCV ?

Any help would be appreciated.

Cheers.:)
 
Last edited:
I have the lag too, even on the webGUI - Only a second or so.
In VLC (64bit) try lower the network caching to 300ms and see if it helps, might be a clue.
1580335316139.png
 
Back
Top