Flussonic Media Server Documentation


Monitoring of GOP and FPS in video streams

Flussonic calculates averaged statistics for streams in real time: the GOP size, the actual FPS, the number of B-frames and so on. These values can be used to monitor actual stream characteristics.

Knowing these figures, you can estimate if the player would be able to play such a stream. Or you can find out if the stream published to social networks meets the network's requirement for the certain key frame interval.

You can get this data by using Flussonic API:

  • last_gop — the size of the last GOP
  • gop_size — the average GOP size on an interval of the stream
  • fps — the actual average FPS (actually arriving frames are counted, in contrast with FPS stated in the stream's meta information)
  • bframes — the average number of B-frames.

These fields appear in responses for the following calls:





Since statistics take time to be collected, these values do not appear immediately after the stream was started, and they appear in JSON only after they get real values.

To turn off the statistics, add the environment variable STREAMER_MEDIA_INFO_STATS_DISABLED=true.