Streaming Statistics

Get stream ffprobe

Aggregates data for the specified video stream in the specified time interval. "interval" and "units" params working together to point aggregation interval.

You can use this method to watch when stream was alive in time, and when it was off.

get/streaming/statistics/ffprobe

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/streaming/statistics/ffprobe
  • Auth
    HTTP apikey

Query parameters

date_fromstring required

Start of time frame. Format is ISO 8601.

date_tostring required

End of time frame. Datetime in ISO 8601 format.

stream_idstring required

Stream ID

intervalinteger
units'second' | 'minute' | 'hour' | 'day' | 'week' | 'month'

Response

OK

Example response

{
  "data": [
    {
      "time": "2006-01-02 15:04:05",
      "avg_bitrate": 3500.5,
      "sum_frames": 500,
      "max_height": 1080,
      "max_fps": 25,
      "max_keyframe_interval": 1
    }
  ]
}

Changes

No recorded changes to this operation across all 76 revisions of this API.