VIDEO_FPS
Description
Get devce's FPS Mode. There are two FPS modes, Constant FPS and Variable FPS.
This URL is read-only command in system CGI. In other CGI, 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 Multi-Channel device, this command is read-only command and the CHANNLE 1 video server's VIDEO_FPS configurations will be returned. If the CHANNEL 1 video server 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 which is not able to be changed. For example, one I frame and 29 P frames will be streamed when the frame rate is 30 (GPO is 30). For MJPEG stream, the same rule is applied as well.
In Variable FPS mode, the frame rate , the number of frames per second, in the video stream from encoder to host is not constant, The GOP is 5 in all WPL Platform encoders and 8CH Multi-Channel Encoder. The GOP is 2 in all EPL Platform, PlatformT and 4CH, 16CH Multi-Channel Encoders. The host could change the frame rate at any time and get I frame only in MPEG4 steam in most cases. 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. For MJPEG stream, the same rule is applied as well.
¡@
Input Argument
MODE1, MODE 2
Attribute
Return of Message
VIDEO_FPS='MODE1'
OK: VIDEO_FPS='MODE1'
or
ERROR: VIDEO_FPS='MODE1'
Applicability
Status
Valid
See Also
VIDEO_VARIABLE_FPS, VARIABLE_FPS_NUM, VIDEO_MJPEG_FPS, VIDEO_H264_FPS
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
where
or
http://ip:port/cgi-bin/cmd/cgi_program?VIDEO_FPS=MODE1
cgi_program could be system, mpeg4 or encoder.
Back to