Changes

5,198 bytes added ,  14:13, 26 January 2022
Created page with "Элемент протокола RTSP - Видеокамера"
<languages/>
===Example of description in XML===

<syntaxhighlight lang="xml" line>
<item addr="2048:9" type="rtsp" ffmpeg-opt="rtsp_transport=tcp" name="HD" auto-play="true"
url="rtsp://admin:admin@192.168.1.108"
url-remote="http://demo.larnitech.com:50010"
video-uri="/cam/realmonitor?channel=1&amp;subtype=1"
video-uri-fs="/cam/realmonitor?channel=1&amp;subtype=0"/>
</syntaxhighlight>

===Additional parameters===

{|class="wikitable"
|-
!Name!!type and variety!!style="max-width:400px"|description!!default value
|-
|id||number 2048||ID of the device where this element is located physically (always use 2048)||2048
|-
|auto-play||true||automatically initiate reproducing when the icon "camera" is displayed||-
|-
|auto-play-r||true||automatically initiate reproducing when the icon "camera" is displayed (for remote connection for intercom only)||-
|-
|url||string||The base part of reference to video stream for local connection||-
|-
|url-remote||string||The base part of reference to video stream for remote connection||-
|-
|urlc||string||Separate initial part of reference for control instructions for local connection (if required)||-
|-
|urlc-remote||string||Separate initial part of link for control instructions for remote connection (if required)||-
|-
|video-uri||string||Additional part of reference for low quality image||-
|-
|video-uri-fs||string||Additional part of reference for high quality image||-
|-
|video-uri-remote||string||Additional part of reference for low quality image for remote connection (optionally)||-
|-
|video-uri-remote-fs||string||Additional part of link for high quality image for remote connection (optionally)||-
|-
|ffmpeg-opt||string<br>var1=val;var2=val||ffmpeg options for video reproducing at local connection and at low quality image.<br>vcodec=H264HWdec – activate the hardware decoding;<br>vcodec=h264 – use software decoding;<br>fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);<br>analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);<br>probesize .D…. set probing size (from 32 to INT_MAX) (default 5e+006)||-
|-
|ffmpeg-opt-fs||string<br>var1=val;var2=val||ffmpeg options for video reproducing at local connection and at high quality image.<br>vcodec=H264HWdec – activate the hardware decoding;<br>vcodec=h264 – use software decoding;<br>fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);<br>analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);<br>probesize D…. set probing size (from 32 to INT_MAX) (default 5e+006)||ffmpeg-opt
|-
|ffmpeg-opt-remote||string<br>var1=val;var2=val||ffmpeg options for video reproducing at remote connection and at low quality image.<br>vcodec=H264HWdec – activate the hardware decoding;<br>vcodec=h264 – use software decoding;<br>fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);<br>analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);<br>probesize .D…. set probing size (from 32 to INT_MAX) (default 5e+006)||ffmpeg-opt
|-
|ffmpeg-opt-remote-fs||string<br>var1=val;var2=val||ffmpeg options for video reproducing at renote connection and at high quality image.<br>vcodec=H264HWdec – activate the hardware decoding;<br>vcodec=h264 – use software decoding;<br>fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);<br>analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);<br>probesize .D…. set probing size (from 32 to INT_MAX) (default 5e+006)||ffmpeg-opt-remote
|-
|http-auth||string<br>login:pass||authorisation parameters for PTZ and PRESET system control||-
|-
|top-uri||string||Full or additional part of reference for camera up rotation||-
|-
|bottom-uri||string||Full or additional part of reference for camera down rotation||-
|-
|left-uri||string||Full or additional part of reference for camera left rotation||-
|-
|right-uri||string||Full or additional part of reference for camera right rotation||-
|-
|plus-uri||string||Full or additional part of reference for ZOOM +||-
|-
|minus-uri||string||Full or additional part of reference for ZOOM –||-
|-
|stop-uri||string||Full or additional part of reference for stopping camera rotation||-
|-
|stop-zoom-uri||string||Full or additional part of reference for stopping camera zoom||-
|-
|ir-on-uri||string||Full or additional part of reference for activating the camera infrared illumination||-
|-
|ir-off-uri||string||Full or additional part of reference for disactivating the camera infrared illumination||-
|-
|preset[1-4]-uri||string||Full or additional part of reference for camera rotation into position [1-4]||-
|-
|preset[1-4]-make-uri||string||Full or additional part of reference for saving the current camera position into preset [1-4]||-
|}

===Note===

in the links symbol '&' should be changed into

<syntaxhighlight lang="xml" line>
&amp;
</syntaxhighlight>
editor, translation-admin, translator
4,754

edits