Page 1 of 1

VLC rtsp stream to DAHUA DH-NVR5208-8P-4K

Posted: 16 Jul 2016 22:58
by SvenVD
Hi,

I am trying to connect to a VLC dahua NVR.

Example is over a ssh port forwarded connection, but is the same on direct connection. Connection seems to be OK, however something seems to be wrong with authentication. The user and password is correct since I can connect to it via the webinterface.

Please advise.

Code: Select all

core debug: adding item `rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' ( rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 ) core debug: processing request item: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1, node: null, skip: 0 core debug: rebuilding array of current - root Playlist core debug: rebuild done - 1 items, index 0 core debug: starting playback of the new playlist item core debug: resyncing on rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 is at 0 core debug: creating new input thread core debug: Creating an input for 'rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: meta ok for (null), need to fetch art core debug: looking for meta fetcher module matching "any": 1 candidates core debug: requesting art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sven\AppData\Local\Temp' core debug: `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' gives access `rtsp' demux `' path `test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: specified demux `any' lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher core debug: creating demux: access='rtsp' demux='any' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' file='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: looking for access_demux module matching "rtsp": 12 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher live555 debug: version 2016.02.22 lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 qt4 debug: IM: Setting an input live555 debug: connection timeout live555 error: Failed to connect with rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: no access_demux modules matched core debug: creating access 'rtsp' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1', path='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access module matching "rtsp": 21 candidates core debug: net: connecting to 127.0.0.1 port 42554 core debug: connection succeeded (socket = 1452) access_realrtsp warning: Cseq mismatch, got 1, assumed 0 access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now core debug: no access modules matched core error: open of `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' failed core debug: dead input core debug: changing item without a request (current 0/1) core debug: using item 0 core debug: starting playback of the new playlist item core debug: resyncing on rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 is at 0 core debug: creating new input thread core debug: Creating an input for 'rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: requesting art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sven\AppData\Local\Temp' core debug: `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' gives access `rtsp' demux `' path `test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: specified demux `any' core debug: creating demux: access='rtsp' demux='any' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' file='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access_demux module matching "rtsp": 12 candidates core debug: looking for meta fetcher module matching "any": 1 candidates live555 debug: version 2016.02.22 lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input core warning: option qt-show-errors does not exist live555 debug: connection timeout live555 error: Failed to connect with rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: no access_demux modules matched core debug: creating access 'rtsp' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1', path='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access module matching "rtsp": 21 candidates core debug: net: connecting to 127.0.0.1 port 42554 core debug: connection succeeded (socket = 1504) access_realrtsp warning: Cseq mismatch, got 1, assumed 0 access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now core debug: no access modules matched core error: open of `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' failed core debug: finished input core debug: dead input core debug: changing item without a request (current 0/1) core debug: using item 0 core debug: starting playback of the new playlist item core debug: resyncing on rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 is at 0 core debug: creating new input thread core debug: Creating an input for 'rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: requesting art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sven\AppData\Local\Temp' core debug: `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' gives access `rtsp' demux `' path `test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: specified demux `any' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: creating demux: access='rtsp' demux='any' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' file='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access_demux module matching "rtsp": 12 candidates live555 debug: version 2016.02.22 lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac qt4 debug: IM: Deleting the input lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 qt4 debug: IM: Setting an input qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input live555 debug: connection timeout live555 error: Failed to connect with rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: no access_demux modules matched core debug: creating access 'rtsp' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1', path='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access module matching "rtsp": 21 candidates core debug: net: connecting to 127.0.0.1 port 42554 core debug: connection succeeded (socket = 1484) access_realrtsp warning: Cseq mismatch, got 1, assumed 0 access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now core debug: no access modules matched core error: open of `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' failed core debug: dead input core debug: changing item without a request (current 0/1) core debug: using item 0 core debug: starting playback of the new playlist item core debug: resyncing on rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 is at 0 core debug: creating new input thread core debug: Creating an input for 'rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: requesting art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sven\AppData\Local\Temp' core debug: `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' gives access `rtsp' demux `' path `test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: specified demux `any' core debug: creating demux: access='rtsp' demux='any' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' file='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access_demux module matching "rtsp": 12 candidates live555 debug: version 2016.02.22 lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac qt4 debug: IM: Deleting the input lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 qt4 debug: IM: Setting an input qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input live555 debug: connection timeout live555 error: Failed to connect with rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: no access_demux modules matched core debug: creating access 'rtsp' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1', path='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access module matching "rtsp": 21 candidates core debug: net: connecting to 127.0.0.1 port 42554 core debug: connection succeeded (socket = 1488) access_realrtsp warning: Cseq mismatch, got 1, assumed 0 access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now core debug: no access modules matched core error: open of `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' failed core debug: finished input core debug: dead input core debug: changing item without a request (current 0/1) core debug: using item 0 core debug: starting playback of the new playlist item core debug: resyncing on rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 is at 0 core debug: creating new input thread core debug: Creating an input for 'rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: requesting art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sven\AppData\Local\Temp' core debug: `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' gives access `rtsp' demux `' path `test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: specified demux `any' core debug: creating demux: access='rtsp' demux='any' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' file='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: looking for access_demux module matching "rtsp": 12 candidates live555 debug: version 2016.02.22 lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac qt4 debug: IM: Deleting the input lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 qt4 debug: IM: Setting an input qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input live555 debug: connection timeout live555 error: Failed to connect with rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: no access_demux modules matched core debug: creating access 'rtsp' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1', path='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access module matching "rtsp": 21 candidates core debug: net: connecting to 127.0.0.1 port 42554 core debug: connection succeeded (socket = 1488) access_realrtsp warning: Cseq mismatch, got 1, assumed 0 access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now core debug: no access modules matched core error: open of `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' failed core debug: finished input core debug: dead input core debug: changing item without a request (current 0/1) core debug: using item 0 core debug: starting playback of the new playlist item core debug: resyncing on rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 is at 0 core debug: creating new input thread core debug: Creating an input for 'rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: requesting art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sven\AppData\Local\Temp' core debug: `rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' gives access `rtsp' demux `' path `test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' core debug: specified demux `any' core debug: creating demux: access='rtsp' demux='any' location='test:test@127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1' file='\\test:test@127.0.0.1:42554\cam\realmonitor?channel=2&subtype=1' core debug: looking for access_demux module matching "rtsp": 12 candidates core debug: looking for meta fetcher module matching "any": 1 candidates live555 debug: version 2016.02.22 lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\sven\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac qt4 debug: IM: Deleting the input lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 qt4 debug: IM: Setting an input qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input

Re: VLC rtsp stream to DAHUA DH-NVR5208-8P-4K

Posted: 16 Jul 2016 23:06
by SvenVD
Sniffing the wire gives:
192.168.4.2 is the rtsp server and the DAHUA DH-NVR5208-8P-4K

Code: Select all

192.168.4.1.56450 > 192.168.4.2.554: Flags [P.], cksum 0x80e1 (correct), seq 1:153, ack 1, win 457, length 152: RTSP, length: 152 OPTIONS rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 RTSP/1.0 CSeq: 2 User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22) 23:03:36.013048 IP (tos 0x0, ttl 64, id 64362, offset 0, flags [DF], proto TCP (6), length 40) 192.168.4.2.554 > 192.168.4.1.56450: Flags [.], cksum 0x26fa (correct), seq 1, ack 153, win 123, length 0 23:03:36.013591 IP (tos 0x0, ttl 64, id 64363, offset 0, flags [DF], proto TCP (6), length 206) 192.168.4.2.554 > 192.168.4.1.56450: Flags [P.], cksum 0x2779 (correct), seq 1:167, ack 153, win 123, length 166: RTSP, length: 166 RTSP/1.0 401 Unauthorized Server: Rtsp Server/2.0 CSeq: 2 WWW-Authenticate: Digest realm="Login to 2E026E0PAYYKS0X", nonce="aa13007e298e7edc2a77d48a98f9939b", 23:03:36.013749 IP (tos 0x0, ttl 64, id 61048, offset 0, flags [DF], proto TCP (6), length 40) 192.168.4.1.56450 > 192.168.4.2.554: Flags [.], cksum 0x24e5 (correct), seq 153, ack 167, win 490, length 0 23:03:36.044600 IP (tos 0x0, ttl 64, id 61049, offset 0, flags [DF], proto TCP (6), length 418) 192.168.4.1.56450 > 192.168.4.2.554: Flags [P.], cksum 0xff4f (correct), seq 153:531, ack 167, win 490, length 378: RTSP, length: 378 OPTIONS rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 RTSP/1.0 CSeq: 3 Authorization: Digest username="test", realm="Login to 2E026E0PAYYKS0X", nonce="aa13007e298e7edc2a77d48a98f9939b", uri="rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1", response="456667a9ac6769041c14585241df5c16" User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22) 23:03:36.046885 IP (tos 0x0, ttl 64, id 64364, offset 0, flags [DF], proto TCP (6), length 182) 192.168.4.2.554 > 192.168.4.1.56450: Flags [P.], cksum 0x63d4 (correct), seq 167:309, ack 531, win 131, length 142: RTSP, length: 142 RTSP/1.0 200 OK Server: Rtsp Server/2.0 CSeq: 3 Public: OPTIONS,DESCRIBE,SETUP,PLAY,PAUSE,TEARDOWN,SET_PARAMETER,GET_PARAMETER,ANNOUNCE 23:03:36.082384 IP (tos 0x0, ttl 64, id 61050, offset 0, flags [DF], proto TCP (6), length 444) 192.168.4.1.56450 > 192.168.4.2.554: Flags [P.], cksum 0x1435 (correct), seq 531:935, ack 309, win 524, length 404: RTSP, length: 404 DESCRIBE rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1 RTSP/1.0 CSeq: 4 Authorization: Digest username="test", realm="Login to 2E026E0PAYYKS0X", nonce="aa13007e298e7edc2a77d48a98f9939b", uri="rtsp://127.0.0.1:42554/cam/realmonitor?channel=2&subtype=1", response="52610ea128c2fcc31a7b90cee6131f29" User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22) Accept: application/sdp

Re: VLC rtsp stream to DAHUA DH-NVR5208-8P-4K

Posted: 16 Jul 2016 23:38
by SvenVD
openRTSP gives
Seems like the authentication IS ok? But what why to failed to get SDP description?

Channel 2 and 7 are both valid channels on the NVR

Code: Select all

openRTSP -t "rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0" Opening connection to 127.0.0.1, port 42554... ...remote connection opened Sending request: OPTIONS rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0 RTSP/1.0 CSeq: 2 User-Agent: openRTSP (LIVE555 Streaming Media v2014.01.13) Received 166 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 401 Unauthorized Server: Rtsp Server/2.0 CSeq: 2 WWW-Authenticate: Digest realm="Login to 2E026E0PAYYKS0X", nonce="563c2b84ad7478c98bf3a6a10a9a5a30", Resending... Sending request: OPTIONS rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0 RTSP/1.0 CSeq: 3 Authorization: Digest username="test", realm="Login to 2E026E0PAYYKS0X", nonce="563c2b84ad7478c98bf3a6a10a9a5a30", uri="rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0", response="24f743b84c7aeb10fc5a48bb2a314a6d" User-Agent: openRTSP (LIVE555 Streaming Media v2014.01.13) Received 142 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK Server: Rtsp Server/2.0 CSeq: 3 Public: OPTIONS,DESCRIBE,SETUP,PLAY,PAUSE,TEARDOWN,SET_PARAMETER,GET_PARAMETER,ANNOUNCE Sending request: DESCRIBE rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0 RTSP/1.0 CSeq: 4 Authorization: Digest username="test", realm="Login to 2E026E0PAYYKS0X", nonce="563c2b84ad7478c98bf3a6a10a9a5a30", uri="rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0", response="0ffedcdd793d0908197dc6de85394962" User-Agent: openRTSP (LIVE555 Streaming Media v2014.01.13) Accept: application/sdp Failed to get a SDP description for the URL "rtsp://test:test@127.0.0.1:42554/cam/realmonitor?channel=7&subtype=0": liveMedia0

Re: VLC rtsp stream to DAHUA DH-NVR5208-8P-4K

Posted: 17 Jul 2016 09:27
by RĂ©mi Denis-Courmont
This is not a very good venue for live555 support/expertise. But yes, it seems that the server just fails to return the SDP.