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
Return of Message
Read Operation
OK: VIDEO_FPS='MODE1'
OK: VIDEO_FPS='MODE1'
or
ERROR: VIDEO_FPS='MODE1'
Applicability
Status
Valid
See Also
VIDEO_FPS_NUM, VIDEO_VARIABLE_FPS
VIDEO_FPS_NUM, VIDEO_VARIABLE_FPS, VARIABLE_FPS_NUM, VIDEO_MJPEG_FPS
VIDEO_FPS (Read-Only)
Example
http://ip:port/cgi-bin/CGI?USER=Admin&PWD=123456&VIDEO_FPS
or
http://ip:port/cgi-bin/cmd/CGI?VIDEO_FPSwhere CGI could be system, mpeg4 or encoder
http://ip:port/cgi-bin/CGI?USER=Admin&PWD=123456&VIDEO_FPS=MODE1
or
http://ip:port/cgi-bin/cmd/CGI?VIDEO_FPS=MODE1where CGI could be system, mpeg4 or encoder
Back to