VIDEO_RESOLUTION

Description

> Get or set the video resolution in pixels. The range of the valid resolution is vary from devices to devices and some of them depends on the TV Standard (refer to VIDEO_TV in system CGI).

> Here gives the summary of the video resolution configuration with encoders in different platform.

> Note that the available resolution listed blow doesn't mean you could set them successfully. The resolution in some devices are associated with sensor and encoder capabilities. You need to check the return code to see if the URL was set successfully.

> - WPL Platform

> > Encoder Type | TV Standard | Available Resolution
> > Camera | NTSC (not configurable) | N720x480
> > N352x240
> > N160x112
> > PAL (not configurable) | P720x576
> > P352x288
> > P176x144
> > Video Server | NTSC (configurable) | N720x480
> > N352x240
> > N160x112
> > PAL (configurable) | P720x576
> > P352x288
> > P176x144

> - Multi-Channel Platform

> > For 4CH and 16CH video server, the available video resolution is the same as the EPL video server.

> > For 8CH video server, the available video resolution is the same as the WPL video server.

> - EPL Platform

> > Encoder Type | TV Standard | Available Resolution
> > Camera (Sensor is ADV7180) | NTSC (not configurable) | N720x480
> > N352x240
> > N176x120
> > PAL (not configurable) | P720x576
> > P352x288
> > P176x144
> > Camera (sensor is MT9V135) | NTSC (configurable) | N640x480
> > N352x240
> > N176x120
> > PAL (configurable) | P640x480
> > P352x288
> > P176x144
> > Camera (sensor is MT9M131) | NTSC (not configurable) | N1280x1024
> > N1280x720
> > N640x480
> > N320x240
> > N160x120
> > Video Server | NTSC (auto sense, not configurable) | N720x480
> > N352x240
> > N176x120
> > PAL (auto sense, not configurable) | P720x576
> > P352x288
> > P176x144

> - PlatformT

> > Encoder Type | TV Standard | Available Resolution
> > Camera (sensor is MT9M131) | NTSC (not configurable) | N1280x1024
> > N1280x720
> > N640x480
> > N320x240
> > N160x120
> > Video Server | NTSC (auto sense, not configurable) | N720x480
> > N352x240
> > N160x112
> > PAL (auto sense, not configurable) | P720x576
> > P352x288
> > P176x144

> If the CHANNEL=n was not set with this URL to the Multi-Channel device, this command is read-only command and the CHANNEL 1 video server's VIDEO_RESOLUTION configuration will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.

Input Argument

> The format of the video resolution string is listed below.
> Awwwxhhh
> where
> A : could be N for NTSC, P for PAL
> www : the width in pixel of the video image
> hhh : the height in pixel of the video image

Attribute

- Readable and Writable
- On-Fly

Return of Message

-     Read Operation

> OK: VIDEO_RESOLUTION='N720x480'

- Write Operation

> OK: VIDEO_RESOLUTION='N720x480'
> or
> ERROR: VIDEO_RESOLUTION='N720x480'

Applicability

- WPL Platform : All 1CH and 2CH Encoders
- EPL Platform : All Encoders
- PlatfotmT : All Encoders
- Multi-Channel Encoder : All Video Servers

Status

> Valid

See Also

> VIDEO_TV

Example

- Read Operation

> http://ip:port/cgi-bin/CGI?USER=Admin&PWD=123456&VIDEO_RESOLUTION
> or
> http://ip:port/cgi-bin/cmd/CGI? VIDEO_RESOLUTION

> where CGI could be mpeg4 or encoder

- Write Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&VIDEO_RESOLUTION='N720x480'
> or
> http://ip:port/cgi-bin/cmd/CGI? VIDEO_RESOLUTION='N720x480'

> where CGI could be mpeg4 or encoder

Back to

> HOME, MPEG4 CGI, ENCODER CGI