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.
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: