Using VLC on a Windows 10 desktop works well to run a RTSP stream. No issue with this working with a Dahua NVR plus Dahua cameras on the windows computer.
However, would like to add a desktop BAT file to open and stream a Dahua camera without the need to open and select the stream within VLC.
The below will open VLC using a BAT file, but will not stream the indicated camera. i.e. it will not select the media tab or open network stream tab but displays an empty playlist window.
Would appreciate code that will make this operational without the need to reenter the user name, password or select the desired channel. All should be part of the BAT file.
However, would like to add a desktop BAT file to open and stream a Dahua camera without the need to open and select the stream within VLC.
The below will open VLC using a BAT file, but will not stream the indicated camera. i.e. it will not select the media tab or open network stream tab but displays an empty playlist window.
Code:
"C:\Program Files\VideoLAN\VLC\vlc.exe" rtsp:/admin:password@192.168.1.108/cam/realmonitor?channel=1&subtype=0 --fullscreen --no-video-title-show
exit
Would appreciate code that will make this operational without the need to reenter the user name, password or select the desired channel. All should be part of the BAT file.