Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Configuration of RTSP stream display using the VLC media player via user interface

  1. Open the VLC player. 

  2. From the Media menu, select the Stream... option.

  3. In the Open Media tab, select the video you want to stream and click Add... button.

  4. Press the Stream button and Next in the following window. 

  5. Select the RTSP option from the drop-down list and then press the Add button.

  1. In the new RTSP tab, enter the path to your stream (e.g., /vlc or any name you want). The port can be left as 8554. Press the Next button when all data are entered.

  1. Make sure that the Activate Transcoding option is enabled. Streaming video must be with H.264 codec, so it is required to convert it.

  2. Select Video - H.264 + MP3 (MP4) from the Profile drop-down list. Then click Next

  3. Click Stream. Now this stream is available at the rtsp://IP address of the PC from which the stream is displayed:port No./path entered in Step 6, e.g., rtsp://192.168.0.101:8554/vlc.

  4. To repeat the stream (and not just once), click where shown until you see the repeat icon for one file.

  1. Log in to the entrance panel web interface. By default, the username is admin, and the password is 123456.

  2. Go to the Advanced tab.

  3. In the Announcement section, enter the rtsp://IP address of the PC from which the stream is displayed:port No./path, e.g. rtsp://192.168.0.101:8554/vlc.

  4. Submit settings.     

Configuration of RTSP stream display using the VLC media player via CMD

You can set the display of your RTSP server over your local network with the help of a VLC media player. Note that the streaming device and all the receiving device(s) should be connected to the same router for the streaming to work. Also, be aware that streaming video must have 480x272 resolution). 

  1. Open CMD. 

  2. Go to the catalog where vlc.exe is, e.g., C:\Program Files\VideoLAN\VLC.

  3. Enter the following, where video.mp4 is a video name, C:\videos\video.mp4 is a path to the video that is going to be streamed, after rtsp://192.168.0.101 is the IP address of the PC from which the stream is running (must be changed according to your data).

    Code Block
    vlc.exe C:\videos\video.mp4 --sout="#rtp{sdp=rtsp://192.168.0.101:8090/stream}"
  4. As a result, the VLC player will open, and the stream will start. 

  5. To repeat the stream (and not just once), click where shown until you see the repeat icon for one file.

  1. Log in to the entrance panel web interface. By default, the username is admin, and the password is 123456.

  2. Go to the Advanced tab.

  3. In the Announcement section, enter the rtsp://IP address of the PC from which the stream is displayed:port No./stream, e.g. rtsp://192.168.0.101:8090/stream.

  4. Submit settings. 

Сonfiguration of the automatic playback of videos posted on the website

If you want to use an HTTP page with a video, it is required to set video automatic playback. After entering the URL you must set the following parameters for the video tag in the Content field (via Developer Tools):

  • for YouTube video: add "&autoplay=1" to the video’s embed code right after the video ID (the series of letters that follows "embed/"). Mind screen resolution to indicate width and height correctly.
    Example: <iframe width="480" height="272" src="https://www.youtube.com/embed/D6Ac5JpCHmI?&autoplay=1"frameborder="0" allowfullscreen></iframe>

  • for any pages:
    <video autoplay>
    <source src="http://my-source.com/movie.mp4" type="video/mp4">
    <source src="movie.ogg" type="video/ogg">
    Your browser does not support the video tag.
    </video>

  1. Set timeout for ad displaying (15 - 900 min).

  2. Submit settings.

...