VIDEO_FPS

 

Description

Get device's FPS Mode. There are two FPS modes, Constant FPS and Variable FPS.

This URL is read-only command in system CGI. In other CGIs, mpeg and encoder, the VIDEO_FPS URL is readable and writable. When write, the error message will be returned if this URL in the device is read-only.

If the CHANNEL=n was not set with this URL to the multiple channel encoders, this command is read-only command and the CHANNEL 1 module's VIDEO_FPS configurations will be returned. If the CHANNEL 1 module does not connect to the router, the error message will be returned.

In Constant FPS mode, the frame rate , the number of frames per second, in the video stream from encoder to host is constant. In MPEG4 streaming, the GOP was set based on this frame rate. Every host gets the video stream with the same frame rate. For example, one I frame and 29 P frames will be streamed when the frame rate is 30 (GPO is 30). For MJPEG streams, the same rule is applied as well.

In Variable FPS mode, the frame rate in the video stream from encoder to hosts could be set by hosts. The GOP in the video stream like MPEG4 is fixed. The GOP is 5 in all PlatformW encoders. The GOP is 2 in all PlatformA encoders including QUAD and multiple channel encoders. The host could change the frame rate at any time.
For example, the host get the 6 I frame in every second if it sets the frame rate to 6 and get 6 I frames and 24 P frames if it set the frame rate to 30 in MPEG4 stream in PlatformA encoders.
For MJPEG streams, there is no GOP configurations. The frame rate could be set by hosts.

For multiple streaming encoders like PlatformT, PlatformK encoders, only MODE1 is supported.

Input Argument

MODE1, MODE 2

Attribute

Return of Message

VIDEO_FPS='MODE1'


Applicability

Status

Valid

See Also

VIDEO_VARIABLE_FPS

VIDEO_VARIABLE_FPS, VARIABLE_FPS_NUM,

VIDEO_TV (Read-Only)

Example

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

http://ip:port/cgi-bin/cgi_program?USER=Admin&PWD=123456&VIDEP_FPS=MODE1
or
http://ip:port/cgi-bin/cmd/cgi_program?VIDEO_FPS=MODE1
where
cgi_program could be system, mpeg4 or encoder.

Back to

HOME, SYSTEM CGI, MPEG4 CGI, ENCODER CGI