VIDEO_STREAM

 

Description

Get or Set the type of the video streaming mode.

This URL configures the video streaming mode for some specific encoder devices.
In dual streams encoder devices like PlatformT camera, the available streaming mode is SINGLE or DUAL.
In SINGLE streaming mode, the device is able to output a single video stream.
In DUAL streaming mode, the device could encode a video source to two different resolutions and frame rates of video streams.

In QUAD video servers, the available streaming mode is SINGLE, SEQUENTIAL, and QUAD.
In SINGLE streaming mode, the device have 4 video streams from 4 video sources. These 4 video streams shares the encoding bandwidth in the device. For example, every video stream has 7.5 FPS in D1 and 15 FPS in CIF. The device could stream one of them to remote device by request.
In SEQUENTIAL mode, it is similar to SINGLE mode, the device will switch the video stream in channel 1, 2, 3, 4 and QUAD order with the configurable displaying time. The frame rate in each video stream is up to 30 frames/second.
In QUAD streaming mode, the device have a single video stream which encodes 4 video sources. These 4 video sources was encoded together into a single video frame in D1 size (every video source is encoded in CIF size).

In 1CH encoder or Multi-Channel devices, only SINGLE streaming mode is acceptable. This is for cross-platform consideration. The error message will be returned if it sets not SINGLE streaming mode.

The 4VGA was added for PlatformK camera. The camera could crop 4 VGA video from the high video resolution video source said 23032x1920. Then encoded them in to 4 VGA video streams. The 4VGA set the camera into the setup state of 4 VGA streaming mode. The camera will output full image size video stream. User could pick up the interested area for this full image video stream by four VGA video windows. User could use channel ID to identify to request VGA streams form camera.

For fisheye camera, there are 5 streaming modes. The following table gives brief descriptions of these modes. The PlatformK firmware 5.03 supports fisheye cameras.

Streaming Mode Description
SINGLE Camera is able to output a single video stream which video resolution is fixed to 1920x1080.
In wall mount installation, the camera serves 180o panorama view video stream. In ceiling mount installation, the camera serves 360o panorama view video stream.
DUAL Camera is able to output a dual video stream which video resolution is fixed to 1280x720. In these dual video streams, except video resolution, the video parameters are configurable in every stream.
In wall mount installation, the camera serves 180o panorama view video stream. In ceiling mount installation, the camera serves 360o panorama view video stream.
EPTZ Camera serves the electronic PTZ in this mode. Users could move the view form camera by using the PTZ URLs or PTZ serial commands. The available video resolution is 2032x1920, 1920x1080, 1280x720 and 640x480. In this mode, the dual streaming function is NOT available.
MD_PRESET Camera could streams two video streams (1280x720 and 1280x352) in wall mount mode or three video streams (1280x720, 1280x352 and 1280x352) in ceiling mount mode. The camera moves the 1280x720 video to the specific view (PTZ preset point view) based on motion detection result.
In this mode, the available video encoders are H.264 and MPEG4. The MJPEG encoder is not available then.
6VGA It is similar to 4VGA streaming mode. Camera is capable of streaming 6 different views of VGA streams. Every VGA stream is able to adjust its view (position of view and zoom ration). These 6 VGA streams have same video settings like encoder type, frame rate, bitrate,...

Important Note:
The device will disconnect all video and control sessions when the video streaming mode is changed. This is new design will be implemented in the following firmware.
Platform Firmware Version
PlatformT 4.11 firmware
PlatformK 5.04 firmware

Input Argument

SINGLE, DUAL, SEQUENTIAL, QUAD, 4VGA, 4VGA_SETUP, EPTZ, MD_PRESET, 6VGA

Possible Input Argument with platform devices

Platform Devices Possible Input Argument Attribute
Single channel or Multiple channel video server SINGLE RW
PlatformT Encoder SINGLE, DUAL RW
PlatformA QUAD Video Server SINGLE, SEQUENTIAL, QUAD RW
PlatformK Camera SINGLE, DUAL, 4VGA RW
PlatformK2 Camera (Fisheye Camera) SINGLE, DUAL, EPTZ, MD_PRESET, 6VGA RW

Attribute

Return of Message

VIDEO_STREAM='SINGLE'
OK: VIDEO_STREAM='SINGLE'
or
ERROR: VIDEO_STREAM='SINGLE'

Applicability

Platform Available Firmware Note
PlatformW A1X-M2N-V2.10.03 and later  
PlatformA A1D-220-V3.11.13 and later  
PlatformT A1D-310-V4.04.06 and later  
PlatformK A1D-310-V5.00.00 and later  
Multiple Channel Video Server Depends on channel firmware PlatformA channel firmware: A1D-220-V3.11.13 and later

Status

Valid

See Also

QUAD_SEQUENCE_TIME

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_STREAM
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_STREAM

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_STREAM=SINGLE
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_STREAM=SINGLE

Back to

HOME, ENCODER CGI