SNAPSHOT

Description

Get a still image in JPEG format from the encoder.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, the target device is the CHANNEL 1 and the image resolution is the same as the current video resolution in CHANNEL 1 and the JPEG quality is 70. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.

In MPEG4 streaming, it will send the MPEG4 NOP during the snapshot to maintain constant frame rate.

Here is the URL handshake of the SNAPSHOT.

The format of this URL http://172.16.3.35/cgi-bin/encoder?USER=Admin&PWD=123456&SNAPSHOT is listed below.

Stage 1: Send this URL to the device for getting a still image

ASCII FORMAT

Hex Dump Format

Stage 2 : Device reply with a JPEG image

ASCII FORMAT

Hex Dump Format

Input Argument

None (use current video resolution and default JPEG quality setting)
or
n,m
where
n is the image size (need to refer the supported video resolutions in the device, VIDEO_RESOLUTION)
m is the quality of the JPEG and the range is 0~100. The higher value, the higher quality. This argument does not must to have.

Attribute

Return of Message

JPEG image
or
Error Message

Applicability

Status

Valid

See Also

VIDEO_RESOLUTION

Example

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

or

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&SNAPSHOT=N640x480,90
or
http://ip:port/cgi-bin/cmd/encoder?SNAPSHOT=N640x480,90

or

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

Back to

HOME, MPEG4 CGI, ENCODER CGI