VIDEO_VARIABLE_FPS

 

Description

Set the FPS (Frame Per Second) number (Frame Rate) configuration when the VIDEO_FPS is MODE2.

This URL will not take effect if the VIDEO_FPS is MODE1 or the V2_STREAMING_METHOD is not TCP Only.

This URL could ask the encoder to send the video stream with the specific FPS number by the remote host. To do that, the ID is needed to encoder to know whom requests the change of video FPS number. The stream socket ID is used then.

The supported variable FPS number depends on the sensor and encoder (platform) capabilities. Here is the summary of the FPS number with sensors and encoders. Note that supported variable FPS number listed blow doesn't mean you could set them successfully. You need to check the return code to see if the URL was set successfully.

The following tables list the possible variable FPS numbers within different platform encoders

Encoder Type TV Standard Video Resolution Supported FPS Number
MPEG4 NTSC 720x480, 352x240, 160x112 1,3,6,30
PAL 720x576, 352x288, 176x144 1,3.5.25
Device Type Encoder Type TV Standard Video Resolution Supported FPS Number
D1 Camera, Video Server MPEG4, MJPEG NTSC 720x480, 640x480, 352x240, 160x112 1,2,3,5,7,8,15,30
PAL 720x576, 640x480, 352x288, 176x144 1,2,3,4,6,12,25
MT9M131 Camera MPEG4, MJPEG None 1280x1024 1,2,4,8
1280x720 1,2,5,10
640x480, 320x240, 160x112 1,2,3,5,7,8,15,30

The available FPS number in the multiple channel video encoder depends on the channel modules in the video encoder.
In SED2610, the available FPS number is the same as PlatformW video encoder.
In ACD serial video server, the available FPS number is the same as PlatformA video encoder.

Input Argument

SockID,FpsNum
where
SockID: the socket ID of video stream session.
FpsNum: FPS Number. Refer to the table above

Attribute

Return of Message

OK: VIDEO_VARIABLE_FPS='19,30'
or
ERROR: invalid parameters
where SockID is 19 in this example.

Applicability

Status

This URL will be obsolete in the future. The request of video frame number for the remote host will be done in the video streaming command. Please refer to the Streaming Protocol Specification for further details.

See Also

VIDEO_FPS, VIDEO_FPS_NUM

VIDEO_FPS, VIDEO_FPS_NUM, VARIABLE_FPS_NUM, VIDEO_MJPEG_FPS, VIDEO_H264_FPS

VIDEO_FPS (Read-Only), V2_STREAMING_METHOD

Example

http://ip:port/cgi-bin/CGI?USER=Admin&PWD=123456&VIDEO_VARIABLE_FPS=19,30
or
http://ip:port/cgi-bin/cmd/CGI?VIDEO_VARIABLE_FPS=19,30
where CGI could be mpeg4 or encoder

Back to

HOME, SYSTEM CGI, MPEG4 CGI, ENCODER CGI