CHANNEL_VARIABLE_FPS

Description

> Set or Get the variable FPS number in the specific channel in the decoder. The decoder will request this FPS number when it connects to the encoder which it is in the variable FPS mode.

> 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.

> Note that the supported variable FPS numbers are different from encoders to encoders. The user should use the VIDEO_FPS_CAP in SYSTEM CGI to get this information before use this URL.

Input Argument

- For Read Operation

> n
> where
> n : the channel ID in the decoder, 1~16.

- For Write Operation

> n,m
> where
> n : the channel ID in the decoder, 1~16
> m : the variable FPS number, 1~30 which depends on encoder capability and TV standard (NTSC, PAL).

- Note:
  1. n is fixed to 1 for all EPL decoder devices.
  2. If the n is missing in the read operation, the target channel of this read command is channel 1.

Attribute

- Readable and Writable
- On-Fly

Return of Message

- Read Operation

> CHANNEL_VARIABLE_FPS='1,30'

- Write Operation

> OK: CHANNEL_VARIABLE_FPS='1,30'
> or
> ERROR: CHANNEL_VARIABLE_FPS='1,30'

Applicability

- WPL Decoder Devices
- EPL Decoder Devices
- PlatformT Decoder Devices

Status

> Valid

See Also

> CHANNEL_CONFIG, CHANNEL_TIME, CHANNEL_INFO, CHANNEL_SWITCH

Example

- Read Operation (Only in EPL Decoder Devices)

> http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_VARIABLE_FPS=2
> or
> http://ip:port/cgi-bin/cmd/decoder?CHANNEL_VARIABLE_FPS=2
> http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_VARIABLE_FPS (get channel 1's variable FPS number setting)
> or
> http://ip:port/cgi-bin/cmd/decoder?CHANNEL_VARIABLE_FPS (get channel 1's variable FPS number setting)

- Write Operation

> http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_VARIABLE_FPS=2,30
> or
> http://ip:port/cgi-bin/cmd/decoder?CHANNEL_VARIABLE_FPS=2,30

Back to

> HOME, URL CGI