VIDEO_FPS

Description

> Get or set the FPS (Frame Per Second) mode configuration.

> There are two FPS modes in the Encoders. One is the Constant FPS mode so-called MODE1 and the other one is the Variable FPS Mode.

> In MODE1, the FPS number (the number of video frames per second) is global. All hosts connect to the device will get the same FPS number video stream.

> In MODE2, the FPS number for all remote hosts could be very. The FPS number of the video stream is requested by the remote host when it connects to the device.

> Except the FPS number differs from these two modes, the structure of the video stream might be different too. For example, in MPEG4, if the FPS number is 30 (GOP=30), all remote hosts just could get 1 I-Frame and 29 P-Frames in one second if the FPS mode is MODE1. In the device is in MODE2, a remote host could get 1 I-Frame only in one second if it requests for FPS number is 1. Or, a remote host might get 15 I-Frames and 15 P-Frames in one seconds form EPL encoder if it requests for FPS number is 30.

> If the V2_STREAMING_METHOD is RTP method, the set the FPS Mode to MODE2 will not take effect.

> If the CHANNEL=n was not set with this URL to the Multi-Channel device, this command is read-only command and the CHANNEL 1 video server's VIDEO_FPS configuration will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.

Input Argument

> MODE1 : Constant FPS Mode
> MODE2 : Variable FPS Mode

Attribute

- Readable and Writable
- On-Fly

Return of Message

-     Read Operation

> OK: VIDEO_FPS='MODE1'

- Write Operation

> OK: VIDEO_FPS='MODE1'
> or
> ERROR: VIDEO_FPS='MODE1'

Applicability

- WPL Platform : All 1CH and 2CH Encoders
- EPL Platform : All Encoders
- PlatfotmT : All Encoders
- Multi-Channel Encoder : All Video Servers

Status

> Valid

See Also

- In mpeg4 CGI

> VIDEO_FPS_NUM, VIDEO_VARIABLE_FPS

- In encoder CGI

> VIDEO_FPS_NUM, VIDEO_VARIABLE_FPS, VARIABLE_FPS_NUM, VIDEO_MJPEG_FPS

- In system CGI

> VIDEO_FPS (Read-Only)

Example

- Read Operation

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

> where CGI could be system, mpeg4 or encoder

- Write Operation

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

> where CGI could be system, mpeg4 or encoder

Back to

> HOME, SYSTEM CGI, MPEG4 CGI, ENCODER CGI