Difference between revisions of "Rtsp element- Camera"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "===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://a...")
 
(Marked this version for translation)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Example of description in XML===
+
<languages/>
 +
<translate>
 +
===Example of description in XML=== <!--T:1-->
  
 +
<!--T:2-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="2048:9" type="rtsp" ffmpeg-opt="rtsp_transport=tcp" name="HD" auto-play="true"
 
<item addr="2048:9" type="rtsp" ffmpeg-opt="rtsp_transport=tcp" name="HD" auto-play="true"
Line 9: Line 12:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Additional parameters===
+
===Additional parameters=== <!--T:3-->
  
 +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 37: Line 41:
 
|video-uri-remote-fs||string||Additional part of link for high 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);
+
|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)||-
probesize<br>.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);
+
|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
probesize<br>.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||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
Line 74: Line 76:
 
|}
 
|}
  
===Note===
+
===Note=== <!--T:5-->
  
 +
<!--T:6-->
 
in the links symbol '&' should be changed into
 
in the links symbol '&' should be changed into
  
 +
<!--T:7-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
&amp;
 
&amp;
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
</translate>

Latest revision as of 12:49, 26 January 2022

Other languages:
English • ‎русский

Example of description in XML

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

Additional parameters

Name type and variety 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
var1=val;var2=val
ffmpeg options for video reproducing at local connection and at low quality image.
vcodec=H264HWdec – activate the hardware decoding;
vcodec=h264 – use software decoding;
fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);
analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);
probesize .D…. set probing size (from 32 to INT_MAX) (default 5e+006)
-
ffmpeg-opt-fs string
var1=val;var2=val
ffmpeg options for video reproducing at local connection and at high quality image.
vcodec=H264HWdec – activate the hardware decoding;
vcodec=h264 – use software decoding;
fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);
analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);
probesize D…. set probing size (from 32 to INT_MAX) (default 5e+006)
ffmpeg-opt
ffmpeg-opt-remote string
var1=val;var2=val
ffmpeg options for video reproducing at remote connection and at low quality image.
vcodec=H264HWdec – activate the hardware decoding;
vcodec=h264 – use software decoding;
fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);
analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);
probesize .D…. set probing size (from 32 to INT_MAX) (default 5e+006)
ffmpeg-opt
ffmpeg-opt-remote-fs string
var1=val;var2=val
ffmpeg options for video reproducing at renote connection and at high quality image.
vcodec=H264HWdec – activate the hardware decoding;
vcodec=h264 – use software decoding;
fpsprobesize .D…. number of frames used to probe fps (from -1 to 2.14748e+009) (default -1);
analyzeduration .D…. specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) (default 5e+006);
probesize .D…. set probing size (from 32 to INT_MAX) (default 5e+006)
ffmpeg-opt-remote
http-auth string
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

1&amp;