Transmitting DVR image on your site page

Reading time: less than 1 minute

I have seen many people asking, how to put the images of the DVR to appear, Live, on the homepage of the website. Using the RTSP protocol, we can do it in a very easy way.

The first thing, to make, It is to check if your machine supports the RTSP protocol, for just look for the option “porta RTSP”. Usually you will find this option in the network settings or services. The default numbering for this port is 554, but that does not stop you change this value.

portaRTSPHikvision
After checking the RTSP port, you will directs it to your modem / router in the same way you would for remote access. Now, before placing the code on the page, you need to know the RTSP link to your equipment. In the example I'll use the Luxvision, to know the other RTSP addresses click on here.

Address RTSP Luxvision: rtsp://ip:554/user=user&password=password&channel=canal&stream=0.Social Democratic Party

The link highlighted parts are the ones you have to change. IP you put the IP or domain, and if you changed the RTSP port will exchange 554 the new port; User and password you will change by that you use to access your equipment; Channel is the camera you want to transmit, for example, camera 2 stay “channel=2”; stream is the type A transmission, see definition below.

Stream=0 [main stream]
Stream=1 [sub stream]

The system will display the images on your page consists of a code, that will run the plugin VLC. So for the visitor to see the pictures, he must have VLC media player installed.

Cole or code, to follow, the location you want the images to appear:

 <OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"  
    codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"  
    width="640" height="480" id="vlc" events="True">  
   <param name="Src" value="rtsp://ip:554/user = user&password = password&channel=1&stream=0.sdp" />  
   <param name="ShowDisplay" value="True" />  
   <param name="AutoLoop" value="False" />  
   <param name="AutoPlay" value="True" />  
   <embed id="vlcEmb" type="application/x-google-vlc-plugin" version="VideoLAN.VLCPlugin.2" autoplay="yes" loop="no" width="640" height="480"  
    target="rtsp://ip:554/user = user&password = password&channel=1&stream=0.sdp" ></embed>  
 </OBJECT>

After all done, will look like in the image below.

78 Comments


  1. Hello, good afternoon!, I'm trying to access the image of my DVR for HTML, I can access the VLC play, But in my Google Chrome MacOS can not, follows the image.

    Reply

  2. Ola Cardoso! Let me know the RTSP address Chinese DVR Hisseu? Already checked and have this configuration with Linux OS.
    I set up the RTSP on the DVR and router also or only ports in this?
    I appreciate if you help me.

    Reply

    1. Good Morning,

      Sends me a picture of the login screen and a picture of the login page for the browser, to identify the system that your DVR uses.

      The modem / router, you have to direct the RTSP port which by default is the 554.

      Reply

  3. hello Cardoso!
    This first frame(menu elderberry) is the DVR or router / moden?
    I am grateful.

    Reply

  4. Hello, seemingly did everything right. I view remotely via VLC, but when I put the code on the site and access the internet explorer in case, only appears the logo of VLC in the center of the screen but does not open the video.

    Can you help me?

    Reply

    1. Good afternoon,

      Put here the code you used, without the password. And puts attached a photo page that appears gives the logo VLC.

      Reply

  5. be,I used the VLC but it keeps the power on for a long time I can make it work, but after a few minutes she simply drops, hence have to connect again.
    I use one camera intelbras, the code used is working but is falling, TBM utilized in another plugin called PotPlayer but had the same problem
    can you help me ??

    Reply

      1. it does not operate normally after falls dai have to do all the new process to run sometimes it works by 10 me 15 min but the average is in 5 a 8 me

        Reply

          1. I appreciate your help.
            You know if it has something to do with the camera frame give plugin can not stand


  6. Marcos Cardoso,
    I RTSP links of 7 cameras that need to publish on a website page, that is, embed.
    All links are working normally, including mobile app.
    But the HTML code provided in the post'm not managing to view the camera, says the plugin is incompatible.
    Can you help me?
    Thank you,

    Reply

    1. U need to download the VLC on your computer to work

      Reply

      1. Good evening,

        Need to have VLC plugin installed in the browser that will display the images.

        Reply

  7. hello friend just give me a hand brand is an NVR Hikvision 32 customer channels but want to cut the signal per user each 40 sec to avoid overburdening the network

    Reply

  8. And it will be possible paras all DVR channels individually?

    Reply

  9. Good evening

    You know me know the RTSP address the camera clear of IP?

    Reply

  10. ahhh.. and complementing, will be that with some plugin that works on smartphones??

    something to access Mobile..

    Thank you..

    Reply

    1. I also thought about doing it; I was wanting to use the MX Player, but not yet tried to find a way to click a link on the page and automatically open in MX Player camera image.

      Reply
← Previous Page 3 of 4 Next →

Leave a Reply

Your email address will not be published. Required fields are marked *