Versions Compared

Key

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

The rtsp Server RTSP Server object is used for transmitting video from Server to remote workplaces using the RTSP protocol. Use of the RTSP protocol allows viewing video from IP cameras and video archive on remote clients by means of the Intellect software or using video players that support this protocol. Transmitting Video gate archive and Long-term Backup archive is also supported.

Note
titleAttention!

Transmitted video stream is to be compressed using H.264, H.265, MPEG4 or MJPEG codecs.

When MJPEG codec is in use, video of height and/or width more than 2048 pixels is not supported.

Only live video is supported for H.265 codec.

To view the archive via RTSP Server, the archive should be recorded in the same codec. Otherwise, the archived video will not play.

It is to be taken into account that while configuring each RTSP Server loads only one CPU core. To increase the number of RTSP streams several RTSP Server objects are to be created and configured on several cameras. 

Create To create and configure the rtsp RTSP Server object , do the followingas follows:  

  1. In the context menu of the Computer object select Create object => rtsp RTSP Server.
  2. Specify the name and ID of the object in the opened panel.
    Image RemovedImage Added
  3. Click the Apply button to create the object.
  4. Open the settings panel for the rtsp RTSP Server object. For this select the created object in the Intellect objects tree.
    Image Modified
  5. In the Cameras table set the checkboxes next to video cameras video from which is to be displayed (1). If camera has several streams, the default stream is broadcasted.

    Info
    titleNote.

    If default stream is changed on the corresponding Camera object settings panel after applying RTSP Server settings, it is mandatory to click Apply on the RTSP Server object settings panel to apply changes to it as well. See also Configuration of multistream video.


    Info
    titleNote.
     To select several cameras at the same time, mark lines in the table and then holding down the Ctrl key on the keyboard click the unchecked box in one of the marked lines.

    As a result all selected lines will be set checked.
    To uncheck several boxes at the same time, do the same, but click the checked box after the selection of the lines.


  6. If video from the camera is to be received through the video gate, then select the Vide ogate object in the Gate drop-down list (2). 
  7. In the RTSP port field specify the port via which the video is transmitted (3).

    Info
    titleNote.

    The "Windows Media Player Network Sharing"  service can use the default port 554. Change the port number or disable this service for translation.

    To disable the service go to the Control panel - Administrative Tools - Services and double-click on the service name and click the Stop button in the opened window.


  8. In the HTTP port field specify the port that is to be used for transmitting video via http-protocol (4).
  9. To distribute transmitted signal among different rtspRTSP-ports set the Multicast checkbox (1). In the Cameras table the Port column is displayed. Every video camera is to have a data transmission port (2).

    Note
    titleImportant!
    The following ports are in use for each camera in the Multicast mode: nPort, nPort + 18000 (rtp), nPort + 19000 (rtcp), where nPort – port number specified for camera in the Port column.
    For proper operation of RTSP server in the Multicast mode these ports are to be vacant.


    Image Modified

    Info
    titleNote.
    Use of the Multicast mode allows decreasing Server load due to reduction of transmitted data.


    Info
    titleNote.

    In spite of specifying video data port it is required to specify camera number in source address (see table below).


    Info
    titleNote.

    To get such video in the Intellect software (see Configuring multimedia receipt using RTSP protocol) set the multicast value to the rtsp parameter RTSP parameter in the HKEY_LOCAL_MACHINE \SOFTWARE\ITV\Intellect\Video\TransportProtocols registry section (for 64-bit system the path is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ITV\Intellect\Video\TransportProtocols) on computer where the Camera object is created. Detailed information on this parameter see in  Changing the transport protocol used by IP-device section.


  10. In the Receiver IP address field enter the address from which the broadcast in Multicast mode will be performed. Address is to be in range from 224.0.0.0 to 239.255.255.255 (3). By default, the receiver IP is 224.0.1.150.

    Note
    titleImportant!

    224.0.0.0-224.0.0.255 address range is reserved for routing protocols and other protocols. Destination IP address cannot be set from the specified range.


    Info
    titleNote.

    RTSP-server can broadcast to one network simultaneously. The network with minimal metric is selected on default. To change the broadcast network, create the IpInterface = "IP-address of required interface" key in the registry. See also Registry keys reference guide.


  11. If the current time is to be sent to VLC Media Player instead of the frame time, then Go to the Advanced settings tab and set the VLC player compatibility mode checkbox (1). This option is to be used in case of problems when playing back the archive received over RTSP in VLC Media Player.

    Info
    titleNote

    Until Intellect 4.10.3 (including), the send_real_time registry key was used instead of the VLC player compatibility mode checkbox  - see Registry keys reference guide.

    Image Added

  12. If the RTSP Server is used for broadcasting the video data to the Single Data Center (ECHD), and the Video Surveillance Servers are behind NAT, then it is necessary to specify the NAT settings:

    1. In the IP address field, specify the IP address of the router that performs the NAT broadcasting (2).

    2. In the Port field, specify the port of the router, which is accessed by the client when executing the Single Data Center (ECHD) requests (3).

      Info
      titleNote

      To enable the substitution of the router's specified IP address and port to the Single Data Center (ECHD) requests, it is necessary to set the corresponding checkbox in the settings panel of the Web server object - see Enabling the processing of ECHD requests and selecting rtsp server.


  13. Click the Apply button to save the changes.

The rtsp RTSP Server object  object is now configured.

To connect to Server and display video in the video player that supports RTSP protocol, specify the address of data source in the format given in the table.

Address

Example

Description

rtsp://ServerIP address[:Port]/CameraNo.

 

rtsp://192.168.0.3/1

Viewing video signal from Camera 1 if default port is in use.

rtsp://224.0.0.3:555/1

Viewing video signal from Camera 1 when broadcasting in Multicast mode if port 555 is in use for video transmission from this camera.

rtsp://Login:Password@ServerIP address[:Port]/CameraNo.rtsp://login:pass@192.168.0.1:554/1Viewing video signal from Camera 1 if users and permissions are configured in Intellect software (see Rights administration).

rtsp://ServerIP address[:Port]/archive?id= CameraNo.&time_begin=yyyy.mm.dd-hh:mm:ss&&time_end= yyyy.mm.dd-hh:mm:ss

rtsp://192.168.0.3:554/archive?id=1&time_begin=2011.11.11-11:11:11&&time_end=2011.11.11-11:12:00

Viewing video archive from Camera 1 for specified time period .

rtsp://ServerIP address[:Port]/archive?id=CameraNo.&time_begin=yyyymmddThhmmssZ&time_end=yyyymmddThhmmssZrtsp://192.168.15.182:555/archive?id=1&time_begin=20160331T080000Z&time_end=20160331T080800ZViewing video archive from Camera 1 for specified time period
rtsp://ServerIP address[:Port]/archive?id=CameraNo.&time_begin=yyyymmddThhmmssZrtsp://192.168.15.182:555/archive?id=4&time_begin=20160316T065000Z

Viewing video archive from Camera 4 from specific start time till the archive end (as the value of time_end is not specified in the address).

rtsp://ServerIP address[:Port]/archive?id=CameraNo.rtsp://192.168.15.182:555/archive?id=4Viewing video archive from Camera 4 from the beginning till the end.
rtsp://ServerIP address[:Port]/archive?id=CameraNo.&long_term_archive=
Long-termArchiveNo
BackupArchiveNo.rtsp://10.0.12.60:559/archive?id=1&long_term_archive=2Viewing Camera 1 video archive from
Long-term
Backup archive 2.
rtsp:
/
//archive?id=CameraNo.&gate=VideogateNo.rtsp://10.0.12.60:559/archive?id=1&gate=3Viewing Camera 1 video archive from Video gate 3.


Info
titleNote.
If 554 port is in use (default value,) it can be not specified in the address line.

Image RemovedImage Added

If captions are overlaid on the video (see Configuring captions display on a video image), they will be transmitted via RTSP server along with the video and can be displayed in the receiving app – VLC player.

Info
titleNote.

Correct video and captions operation are enabled only in VLC player of latest versions. This Media Player 2.0.0. These features are not guaranteed to work in other versions of VLC Media Player 2.0.0 or older and other programs.