SNAPSHOT

 

Description

Get a still image in JPEG format from the encoder.

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

If the CHANNEL=n was not set with this URL to the Multi-Channel device, the target device is the CHANNEL 1. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.

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
where
n is the image size (need to refer the supported video resolutions in the device, VIDEO_RESOLUTION)
the quality of the JPEG was defined by device. 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 1~100. The higher value, the higher quality.

Attribute

Return of Message

JPEG image
or
ERROR: Description of error

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