How to configure the VLC media player to get stream

  573   Network Cameras, PTZ Cameras

Prerequisites

  1. VLC media player
  2. IP camera for test, IP.1.1.65; Account
  3. RTSP port open
  4. Encode mode must be H.264 instead of H.265  

Step by Step Instruction

  1. Download and install VLC software, you can download it in VLC homepage, please find the link below:

http://www.videolan.org/

2.Open the VLC and click “Media”–>”Open Network Stream”

3.Enter the command “rtsp://10.1.1.65:554/live” and click “Play”.

    4.You need to enter the Account and Password here.

      5.Get the rtsp stream successfully!

  6.Command introduction

[1] rtsp://10.1.1.65:554/live
[2] rtsp://10.1.1.65:554/cam/realmonitor?channel=1&subtype=0
[3] rtsp://admin:admin123@10.1.1.65:554/cam/realmonitor?channel=1&subtype=0
[4] rtsp://admin:admin123@10.1.1.65:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif

Admin = Account of camera
Admin123 = Password of camera
10.1.1.65 = the IP of camera
554 = rtsp port(default), you can modify it in camera web
Channel = the channel number, it starts from 1
Subtype = the stream type, the main stream is 0, the 2nd stream is 1, the 3rd stream is 2.

For the RTSP port, it is 554 in default, If it was changed, please change the port number in the RTSP URL
For the IPC, you can see the RTSP port in the Web page:

Summary & Suggestion 
We can confirm whether our camera or NVR work normally in onvif or rtsp protocol by VLC. VLC can help us to solve the connection issue in project.

2 thoughts on - How to configure the VLC media player to get stream

  • The ip of the camera for example 10.1.1.65 is the WAN ip
    but the camera is connected via local area network for example 192.168.1.180
    how do i get the WAN ip of the camera ?

    • Hi Ronen,
      There are two kinds of solutions. The first is that change the IP address of the camera to the same network segment as your WAN. And the second is that contact your network manager to realize network intercommunication on the switch.
      Hope it helps.

LEAVE A COMMENT