Setting up a Camera from an RTSP Stream from a Synology Surveillance Station

fok
fok
edited March 2018 in SecuritySpy
Hi,

I tried to use the share stream path function from a Synology Surveillance Station to set up a camera in Security Spy. I tried both options (rtsp and rtsp-over-http) but I always get "unrecognised request, check device setup".

When I use rtsp, the request string is "Sms=12.unicast". I tried "/Sms=12.unicast" and "/Sms=12.unicast/" and "Sms=12.unicast/" as well. Surveillance station has generated the username "syno" and a 32 character password for this stream, which I copied into Security Spy. If I change the request string to "Sms=11.unicast" I get the error "Bad username or password" which seems to prove that everything except the Request String is correct. When I try to view the RTSP stream with VLC it works.

VLC shows me that the stream is:

H264 - MPEG-4 AVC (part10) (h264)
1280x720
20 fps
Planar 4:2:0 YUV

Any ideas?

Comments

  • I think you are running into an RTSP compatibility problem that has been fixed in the latest beta version of SecuritySpy (currently 4.2.4b10).

    In this new version, there is a built-in profile for these devices, called "Synology Surveillance Station NVR". So select this as the Profile setting under Preferences -> Cameras -> Device, enter the username "syno" and the 32-character password, and select the input number you want (e.g. 12).

    Does this work for you?
  • Thanks. It works perfectly.
  • Great - thanks for reporting back.
  • One comment about an inconvenience caused by surveillance station for using it with Security Spy: I have set-up 6 cameras from surveillance station in security spy now. Surveillance station has created a separate 32 character password for each of them and if I stop and restart a camera in surveillance station it creates a new password for it, which requires then to copy the new password into security spy for re-activating the camera there as well.
  • That is rather inconvenient. Is there a way to specify a password that doesn't change? What about authenticating with the main administrator login for the device instead of the random 32-character password - does that work?
  • I tried it. It does not work (error: bad username or password)
  • I found an easy fix for this problem in surveillance station:
    IP Camera -> Edit -> Life View Settings -> Advanced -> Stream Sharing Path -> Duration of Validity
    needs to be changed from "1 hour" to "forever"
    Then the 32 character password stays the same
  • That's great! Thanks for posting the solution.
  • Is there a benefit of using surveillance station? It seems more efficient to directly add the cams in SSpy then just write the data to a directory structure on your NAS. Then you can also let SSpy control the rolling deletion of media when the disks get full.

    I use a dedicated network-mounted synology NAS as the destination drive for all of my SSpy recordings and it works well.

    But I never thought of routing the cameras via SurvStn then re-streaming them to SSpy. If there's a real benefit this would be a simple re-config. Any tips or viewpoints on this would be helpful.
  • Dear Ben and community,

    Thank you for such great apps!

    Tried your suggestions from this thread with the latest release of the SS and Synology but I get the "unrecognised request, check device setup" error.
    Tried both the Synology and manual profile but same issue. Has something changed?
    Any suggestions?

    Kind regards,
  • Hi,

    since today, I have the same issue. I updated Surveillance Station. The new SW supports setting the password duration to "forever" directly in the "share stream path" function for each camera. I get the error "unrecognised request, check device setup" when I use the "Synology Surveillance Station NVR" profile and also when I use manual configuration and the "RTSP UDP" Format. The request string is still "/Sms=1.unicast" for the first camera. I tried RTSP UDP" and "RTSP TCP" and have set surveillance station accordingly. It works with VLC to show the stream, but not with security spy. There also seems to be a new "keep alive" setting for RTSP streams in surveillance station which you can select between "None", "Options" and "GET PARAMETER". To work with VLC, I have set this to "None". Any ideas?
  • The error "unrecognised request" means that there is a problem with the request that you are using, which you say is "Sms=1.unicast". However, in your earlier post you said you were using "Sms=11.unicast". Which one is correct, as shown in the device itself?
  • Hi Ben,

    I have several cameras at my Synology, so both #s will work but return different cameras. Of course, each # has a different password. I tried with VLC the "/Sms=1.unicast" and it worked. If I pur a wrong #, then the error is ""bad username or password" and not "unrecognised request"
  • Has anything changed ?

    I'm trying to add Surveillance Station cams in SSPY but I only get Unrecognized Request, with both manual and Synology plugin.

    The url works in VLC.

  • Hi @pgh what exactly is the URL that works in VLC?

  • Hello Ben,

    rtsp://syno:7b30c46f74fab7df3f1246092b1d7901@192.168.1.98:554/Sms=2.unicast

    is "Unrecognized Request" but works In VLC

    Changing the stream number results in "bad password"

    Also, parsing the url in manual configuration gives the same result.


  • Strange - that setup looks good.

    Try switching to the "Manual Configuration" profile, and entering simply "Sms=2.unicast" into the Request box (without quotes). Does this do it?

  • No, same result with manual config.

  • I'm currently at a loss to explain this I'm afraid. Can you confirm that 1. You are running the latest version of SecuritySpy, and 2. that the password has been fully entered and shows in the box if you click on it and use the left/right arrow keys to move to the end of the box? It's cut off in the screenshot because the password is longer than the box, so I just want to make sure it's actually all there.

  • Yes, password is cut but it's all there. If I enter wrong password I get another error (bad password).

    Yes I'm running the last SSspy and I tried with another NAS with the same result: bad request error.

    VLC/Scrypted/.. have no problem with the Synology stream.

  • Thanks for the additional information. It sounds like this is a problem with SecuritySpy's interpretation of the RTSP stream, specifically dealing with paths to the video and audio resources within the stream. I'm now wondering if this issue was introduced in the latest 5.5.9 update. To check this, please revert to the previous 5.5.8 release, and let me know if this problem is present in that version. You can switch between recent versions of the software using the menu option at SecuritySpy > Debug > Change Software Version.

  • I tested from version 5.5.5 to the last beta with both manual config and the surveillance station plugin with the same result: unrecognized request.

    And yes, the stream open in VLC or Scripted (rtsp://syno:cfbe8d0dbffd7cf6e42b62a8e4f8c3ab@192.168.1.98:554/Sms=1.unicast)