VARIABLE_FPS_NUM

 

Description

Get or set the FPS (Frame Per Second) number (Frame Rate) configuration in the VIDEO_FPS is MODE2.

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

This URL could set the video FPS number which the encoder sends the video stream as the remote host connected to.

The variable FPS number is the global variable in the device. That means all remote hosts will get the video stream with the same frame rate no mater the what VIDEO_ENCODER is. And the change of the variable FPS number will not affect the video stream which it was connected before. The new variable FPS number is applied to the new video connection.

Host could change the FPS number at run-time by using the VIDEO_VARIABLE_FPS URL or TCP video message. Note the VIDEO_VARIABLE_FPS URL will be obsolete in the future. Using TCP video message is recommended (refer to the Streaming Protocol Specification for further details).

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.

Encoder Type TV Standard Supported FPS Number
Camera NTSC (not configurable) 1,3,6,30
PAL (not configurable) 1,3.5.25
Video Server NTSC (configurable) 1,3,6,30
PAL (configurable) 1,3,5,25

The available FPS numbers depends on the platform of channel module. The PlatformW and PlatformA video encoders represent the available FPS numbers in multiple channel video encoders.

Encoder Type TV Standard Supported FPS Number
Camera (Sensor is ADV7180 or MT9V135) NTSC (not configurable) 1,2,3,5,7,8,15,30*
PAL (not configurable) 1,2,3,4,6,12,25*
Camera (sensor is MT9M131) NTSC @ N1280x1024 1,2,4,8*
NTSC @ N1280x720 1,2,5,10*
NTSC @ N640x480 1,2,3,5,7,8,15,30*
Video Server NTSC (auto sense, not configurable) 1,2,3,5,7,8,15,30*
PAL (auto sense, not configurable) 1,2,3,4,6,12,25

Input Argument

n
where
n: FPS Number. Refer to the table above

Attribute

Return of Message

VARIABLE_FPS_NUM='30'

OK: VARIABLE_FPS_NUM='30'
or
ERROR: VARIABLE_FPS_NUM='30'

Applicability

Status

Valid

See Also

VIDEO_FPS, VIDEO_FPS_NUM, VIDEO_VARIABLE_FPS

VIDEO_FPS, VIDEO_FPS_NUM, VIDEO_VARIABLE_FPS,

VIDEO_FPS (Read-Only), V2_STREAMING_METHOD

Example

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

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

Back to

HOME, MPEG4 CGI, ENCODER CGI