cctv-viewer icon indicating copy to clipboard operation
cctv-viewer copied to clipboard

Cannot enter stream URL with parameters

Open jdarmst opened this issue 2 years ago • 3 comments

Dahua DVRs follow the pattern as follows:

https://[USER]:[PASSWORD]@[IP]:[PORT]/cam/realmonitor?channel=[NUMBER]&subtype=[STREAM]

the parameters at the end do not seem to work with this software.

jdarmst avatar May 07 '22 16:05 jdarmst

I have numerous Dahua cameras running in this software using the following stream url:

rtsp://user:password@IP/cam/realmonitor?channel=1&subtype=1

Billysredhat avatar May 07 '22 19:05 Billysredhat

In any cases where you cannot play a stream in the CCTV Viewer, I recommend using ffplay to check if the URL is correct.

iEvgeny avatar May 11 '22 08:05 iEvgeny

The fix for me with dahua cameras is to add "rtsp_transport tcp" to avformat options. Hope that fixes yours too.

Dejavou42 avatar Sep 09 '22 00:09 Dejavou42