Can I Livestream Video from CCTV Cameras Connected to my DVR?

Home > CCTV Security Camera & Video Surveillance System Forums > Stand Alone DVR Support > iDVR-PRO Series > Can I Livestream Video from CCTV Cameras Connected to my DVR?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34808
    Mike Haldas
    Keymaster

    Your article on live video streaming from HD CCTV cameras got me thinking about my system and the possible integration of one of your DVRs. I developed a system for parents to see their children while in day care. The system uses a PC at the day care center with video capture cards and software on the PC, which is then accessed via PHP, javascript, Mysql, etc. to provide a very secure and easy-to-use system.

    One of the drawbacks is the cost of the capture cards and the limitations it imposes on the number of cameras per PC. I would also like to offer video recording, but my PC software doesn’t do as good at this as a DVR. So, is there a way for Javascript code to interface with one of your iDVR-PRO DVRs? I have been looking for a Software Development Kit, but so far no luck.

    Any help or advice you can offer would be appreciated.

    This is the advice that I gave to this customer.

    There is no formal SDK, however, our iDVR-PRO surveillance DVRs provide direct access to the RTSP stream for each security camera via an RTSP URL. This is how it works. The below example assumes the LAN IP address of your DVR is 192.168.0.25. You should replace this with the actual LAN IP address of your DVR.

    The main stream is broadcast at the max resolution supported by the camera. The second stream is lower resolution in case you have bandwidth constraints or some other reason to stream in lower resolution.
    rtsp://ADMIN:1234@192.168.0.25:5554/live/main0 – this is the main video stream for camera 1

    rtsp://ADMIN:1234@192.168.0.25:5554/live/second0 – this is the secondary video stream for camera 1

    rtsp://ADMIN:1234@192.168.0.25:5554/live/main1 – this is the main video stream for camera 2

    rtsp://ADMIN:1234@192.168.0.25:5554/live/second1 – this is the secondary video stream for camera 2

    For camera 3, replace the 1 with a 2 on the end of the URL. So on and so forth.

    A software developer will be able to use the RTSP stream to create video streaming applications using any programming language that has an interface to RTSP. You can also use Open Broadcaster Software to consume the RTSP stream(s). Open Broadcaster Software is integrated with every major video streaming platform.

    I hope that this helps you. Please let us know if we can help further.

    #36636
    James Haldas
    Moderator

    *** UPDATE ***

    We recently stumbled across an easy and inexpensive way to get an RTSP HTML Embed code if you would like to embed an RTSP video stream to your website. No servers or expensive equipment involved.

    Please refer to the below article.

    How-to Setup IP Camera Streaming to a Website

    • This reply was modified 4 years, 11 months ago by James Haldas.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.