Page 1 of 1

don't see video from rtsp stream

Posted: 10 Jun 2013 23:01
by slamb
I think I must be missing something really obvious here...using VLC "Version 2.0.6 Twoflower (Intel 64bit)" on OS X.

I recently bought a Lorex LNR280 surveillance network video recorder. I noticed in a packet capture a URL "rtsp://my.nvr.ip.address:1025/PSIA/streaming/channels/101". I tried loading this with VLC; VLC prompted me for the password, then a stream of live surveillance video came up. Great.

But...now I can't make it happen again. If I enter this URL into VLC, I see the URL displayed in VLC's main window under "Playlist", and I see via tcpdump that network traffic is flowing, but I don't see a video window pop up. If I go to "Media Information", under "Codec Details" I see stream 0 is H264 as expected, and under "Statistics" the bitrate
looks about right, but it's just not displaying. Under the menu "Video > Video Track", "Track 1" is selected (the only other option being "Disabled"). Toggling Pause/Play in the main window doesn't seem to do anything. "Window > Bring All to Front" makes no difference; so the window isn't just hidden behind something else.

I don't see anything wrong in logs, either. Console.app shows only a "stopping playback" message when I delete the URL from the playlist, and UDP network traffic stops accordingly. Same thing shows up under ~/Library/Logs/vlc-log.txt if I go to "VLC > Add Interface > Debugging logging" in the menu. "Errors and Warnings" window shows nothing. "Messages" has a bit more - goes through a few stages, ending with "main debug: Decoder buffering done in 0 ms" on open. (I can share full output if it's helpful.) Nothing looks wrong to my eye.

It's possible that my video source is "funny" somehow (the NVR was really cheap, and the software has a few rough edges), but I'd expect to see some sort of error message if that were the problem.

I can play other video sources, including .mp4 files from this NVR and (when on the right network segment) rtsp streams directly from the surveillance cameras.

Any ideas appreciated!

Re: don't see video from rtsp stream

Posted: 11 Jun 2013 02:32
by slamb
Hmm, this is interesting. I found "Use RTP over RTSP" in the preferences and checked it. It's working now. And looking at the packet capture of their proprietary client software, this is what they were doing as well:
SETUP rtsp://10.1.10.4:1025/PSIA/streaming/channels/101/trackID=video RTSP/1.0
CSeq:1
Authorization:Basic ...
Transport:RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=0
User-Agent:NKPlayer-1.00.00.081112
vs broken VLC:
SETUP rtsp://10.1.10.4:1025/PSIA/streaming/channels/101/trackID=video RTSP/1.0
CSeq: 5
Authorization: Basic ...
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2012.12.18)
Transport: RTP/AVP;unicast;client_port=60858-60859
vs working VLC:
SETUP rtsp://10.1.10.4:1025/PSIA/streaming/channels/101/trackID=video RTSP/1.0
CSeq: 5
Authorization: Basic ...
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2012.12.18)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
I still don't know why UDP isn't working or how I got it to work before, but at least I have something working.

Re: don't see video from rtsp stream

Posted: 19 Apr 2017 16:54
by muhammad.shahid
Hi , I am shahid we are having a DVR or Lorex when we go to create a link of live stream of DVR on VLC player it is perfectly playing live view, but as per our requirement we need to play a playback it is giving a result stream of playback but not appropriate/Correct time of playback streaming which we enter in URL.
For Example: We have set the URL as

rtsp://username:Password@IP.Address:1025/PSIA/streaming/tracks/102?starttime=20170207T090900Z

it should bring the playback as of DATE: 07-02-2017 Time 09:09:00 But its shows as result 13:46.
Date showing correct but time showed Randomly. Let me share my more observations:

If Time Set in URL as 10:09 Then it bring the time 13:46

Time Entered Time Returned
In URL in Streaming

11:09 then 8:59
12:09 then 8:59
13:10 then 8:59
14:10 then 13:46
15:12 then 13:46
16:14 then 13:46
17:16 then 13:46
18:18 then 13:46
19:01 then 13:46
20:03 then 13:46
21:05 then 8:59
22:07 then 8:59
23:09 then 8:59
0:09 then 8:59
1:09 then 8:59
2:09 then 8:59
3:09 then 8:59
4:09 then 8:59
5:09 then 8:59
6:09 then 8:59
7:09 then 8:59
8:09 then 8:59

Please Note: the same problem is occurring in all Lorex DVRs that we have already tried.
Remaining other products other then Lorex are providing perfect and accurate playback.
Can any one Help me out the Correct link for my Device to play playback streaming.