Hi All,
I've recently bought a DS-2CD2012-I cam. I've set it up to record to NAS, and now I'm looking for a nice way to play back those recordings under Linux. Unfortunately, the playback function requires a Windows-only browser plugin. So, after some investigation I found out that the rtsp streamer in my cam accepts URLs of the following kind: rtsp://cam:554/Streaming/tracks/N?starttime=T1&endtime=T2, where N is a number in range 1-8 and T1, T2 must be supplied as yyyy-mm-ddThh:mm:ssZ. Either starttime or endtime can be omitted, or both of them. Now, this feature would be great... if it worked. Unfortunately, whatever times I put in there, playback always starts from the first video ever recorded. Judging by the logs, the cam finds the right video(s) at first, but right before initiating the stream, it looses both timestams and uses defaults, which are "very long ago" and "very far in the future". To me this looks like either a bug, or a feature not yet completely implemented. I've tried writing to Hikvision support, but got no answer so far.
So, what interests me is this: has anybody had any luck with playback and rtsp, possibly with other cams? Is there another way to play back recorded videos under Linux in a convenient way (I can only think of writing software to extract them from the data on NAS)?
I've recently bought a DS-2CD2012-I cam. I've set it up to record to NAS, and now I'm looking for a nice way to play back those recordings under Linux. Unfortunately, the playback function requires a Windows-only browser plugin. So, after some investigation I found out that the rtsp streamer in my cam accepts URLs of the following kind: rtsp://cam:554/Streaming/tracks/N?starttime=T1&endtime=T2, where N is a number in range 1-8 and T1, T2 must be supplied as yyyy-mm-ddThh:mm:ssZ. Either starttime or endtime can be omitted, or both of them. Now, this feature would be great... if it worked. Unfortunately, whatever times I put in there, playback always starts from the first video ever recorded. Judging by the logs, the cam finds the right video(s) at first, but right before initiating the stream, it looses both timestams and uses defaults, which are "very long ago" and "very far in the future". To me this looks like either a bug, or a feature not yet completely implemented. I've tried writing to Hikvision support, but got no answer so far.
So, what interests me is this: has anybody had any luck with playback and rtsp, possibly with other cams? Is there another way to play back recorded videos under Linux in a convenient way (I can only think of writing software to extract them from the data on NAS)?