VIDEO_VARFPS

Description

Change the FPS in the received video streaming (current channel) in the decoder.

There are two FPS modes in the encoder, Constant FPS and Variable FPS.

In Constant FPS mode, the frame rate , the number of frames per second, in the video stream from encoder to decoder is constant. In encoder's MPEG4 streaming, the GOP was set based on this frame rate. Every decoder 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).

In Variable FPS mode, the frame rate , the number of frames per second, in the video stream from encoder to decoder is not constant, The GOP is 5 in all WPL Platform encoders and 8CH Multi-Channel Encoders. The GOP is 2 in all EPL, PlatformT and 4CH, 16CH Multi-Channel Encoders. The decoder 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.

Therefore, this URL will take effect if only if the connected encoder is in the Variable FPS mode.

In WPL Decoder Devices, there are five options for variable FPS. They are

Input Argument Variable FPS
0 Using Encoder Variable FPS setting
1 30 in NTSC or 25 in PAL
2 6 in NTSC or 5 in PAL
3 3 in NTSC or 2 in PAL
4 1 in NTSC or 1 in PAL

This URL is the same as the URL CHxx_VIDEO_VARFPS when the xx is the same as the current channel but it is on-fly command.

Input Argument

0, 1, 2, 3 or 4

Attribute

Return of Message

None

Applicability

Status

Valid

See Also

CHxx_VIDEO_CONNECT, CHxx_VIDEO_VARFPS, CHxx_VIDEO_STREAM, CHxx_VIDEO_AUDIO, CHxx_VIDEO_CONTROL, CHxx_VIDEO_TCP_IP, CHxx_VIDEO_MULTICAST_IP, CHxx_VIDEO_USERNAME, CHxx_VIDEO_PASSWORD, CCHxx_PORT_STREAM, CHxx_PORT_CONTROL, CHxx_PORT_MULTICAST, CHxx_PORT_RTP, CHxx_PORT_HTTP, CHxx_TIME, CHxx_SOURCE_TYPE, CHxx_QUAD_CHANNEL, SWITCH

Example

http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&VIDEO_VARFPS=1
where xx is from 01~16

Back to

HOME, URL CGI