Элемент протокола RTSP - Видеокамера
Пример описания в 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&subtype=1"
5video-uri-fs="/cam/realmonitor?channel=1&subtype=0"/>
Дополнительные параметры
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&