Difference between revisions of "Remote Access/RTSP via VLC"

(Created page with "==View the RTSP stream with VLC media player== 1. Download and install VLC. [http://www.videolan.org/ Click here to go to VLC Homepage]2. file:RTSPVLC1.png 2. Click Media...")
 
(Prerequisites)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==View the RTSP stream with VLC media player==
 
==View the RTSP stream with VLC media player==
1. Download and install VLC. [http://www.videolan.org/ Click here to go to VLC Homepage]2.
+
===Prerequisites===
 +
* VLC media player
 +
* IP Camera online
 +
* RTSP port open
 +
* '''Camera Feed must be H.264 and cannot be H.265'''
 +
* '''Camera Feed Bit Rate Should be 4096 or lower'''
 +
* Smart Codec can be enabled when using H.264
 +
 
 +
===Example URLs===
 +
*rtsp://192.168.2.128:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
 +
*rtsp://admin:admin@10.7.6.67:554/cam/realmonitor?channel=1&subtype=1
 +
*rtsp://192.168.2.128:554/live
 +
===Video Instructions===
 +
<embedvideo service="youtube">https://www.youtube.com/watch?v=FeIRvTuST0o</embedvideo>
 +
 
 +
===Step by Step Instructions===
 +
1. Download and install VLC. [http://www.videolan.org/ Click here to go to VLC Homepage]
 +
 
 
[[file:RTSPVLC1.png]]
 
[[file:RTSPVLC1.png]]
 +
 
2. Click Media—Open Network Stream.
 
2. Click Media—Open Network Stream.
 +
 
[[file:RTSPVLC2.png]]
 
[[file:RTSPVLC2.png]]
 +
 
3. Input RTSP URL in Network Tab.
 
3. Input RTSP URL in Network Tab.
 +
 
[[file:RTSPVLC3.png]]
 
[[file:RTSPVLC3.png]]
 +
 
4. Click Play button, then the video will display.
 
4. Click Play button, then the video will display.
 +
 
[[file:RTSPVLC4.png]]
 
[[file:RTSPVLC4.png]]
  
Line 13: Line 36:
 
URL Syntax
 
URL Syntax
  
rtsp://<username>:<password>@<ip>:<port>/cam/realmonitor?channel=<channelNo>&subtype=<typeNo>
+
rtsp://:@:/cam/realmonitor?channel=&subtype=
*<username>: a valid user’s username.
+
 
*<password> :user’s password.
+
* : a valid user’s username.
*<ip> :the IP address of the IP Camera.
+
* :user’s password. (Cannot contain #)
*<port >:the default port is 554. It can be omitted.  
+
* :the IP address of the IP Camera.
*<channelNo> :the channel number. It starts from 1.
+
* :the default port is 554. It can be omitted.  
*<typeNo> :the stream type. The <typeNo> of main stream is 0, extra stream 1 is 1, extra stream 2 is 2.
+
* :the channel number. It starts from 1.
 +
* :the stream type. The of main stream is 0, extra stream 1 is 1, extra stream 2 is 2.
 +
 
 
For example, we request the extra stream 1 of channel 1,the URL is: rtsp://admin:admin@10.7.6.67:554/cam/realmonitor?channel=1&subtype=1.
 
For example, we request the extra stream 1 of channel 1,the URL is: rtsp://admin:admin@10.7.6.67:554/cam/realmonitor?channel=1&subtype=1.
  
Line 30: Line 55:
  
 
For the IPC, you can see the RTSP port in the Web page:
 
For the IPC, you can see the RTSP port in the Web page:
 +
 +
[[file:RTSPVLC5.png|800px]]
 +
[[Category:Remote Access]]
 +
[[Category:VLC]]
 +
[[Category:RTSP]]
 +
 +
 +
{{Template:Footer:Remote_Access}}

Latest revision as of 19:44, 24 July 2019

View the RTSP stream with VLC media player

Prerequisites

  • VLC media player
  • IP Camera online
  • RTSP port open
  • Camera Feed must be H.264 and cannot be H.265
  • Camera Feed Bit Rate Should be 4096 or lower
  • Smart Codec can be enabled when using H.264

Example URLs

  • rtsp://192.168.2.128:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
  • rtsp://admin:admin@10.7.6.67:554/cam/realmonitor?channel=1&subtype=1
  • rtsp://192.168.2.128:554/live

Video Instructions

Step by Step Instructions

1. Download and install VLC. Click here to go to VLC Homepage

RTSPVLC1.png

2. Click Media—Open Network Stream.

RTSPVLC2.png

3. Input RTSP URL in Network Tab.

RTSPVLC3.png

4. Click Play button, then the video will display.

RTSPVLC4.png

About the URL of the RTSP, please see the explanation as follows.

URL Syntax

rtsp://:@:/cam/realmonitor?channel=&subtype=

  •  : a valid user’s username.
  •  :user’s password. (Cannot contain #)
  •  :the IP address of the IP Camera.
  •  :the default port is 554. It can be omitted.  
  •  :the channel number. It starts from 1.
  •  :the stream type. The of main stream is 0, extra stream 1 is 1, extra stream 2 is 2.

For example, we request the extra stream 1 of channel 1,the URL is: rtsp://admin:admin@10.7.6.67:554/cam/realmonitor?channel=1&subtype=1.


The IP Camera supports both TCP and UDP transmission forms. It also supplies basic authentication and digest authentication ways.The authentication process is similar with 3.2 Authentication.


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:

RTSPVLC5.png