> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/platform/sources-and-options/options/frame-rate.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Frame Rate

Throttle how often a video or live stream is run through the Pop

`fps` throttles how often a video or live stream is run through the Pop. It is the single most effective control over cost and over keeping up with a live source: a 30fps camera watching a door does not need 30 inferences a second.

The value is a **fraction string** — `"1/1"` for one frame per second, `"5/1"` for five, `"1/2"` for one every two seconds. Left unset, every frame the source delivers is processed.

{% tabs %}
{% tab title="Python" %}

```python
job = endpoint.load_from(
    "rtsp://camera.example.com/stream1",
    fps="1/1",
)
while result := job.predict():
    print(result)
```

{% endtab %}

{% tab title="Node" %}

```typescript
const results = await endpoint.process({
    source: { url: 'rtsp://camera.example.com/stream1' },
    fps: '1/1',
})
```

{% endtab %}
{% endtabs %}

Throttling drops frames before inference; it does not change what a prediction looks like. Each prediction still carries its own `seconds` timestamp, so gaps in the sequence are visible rather than silent.

{% hint style="info" %}
**`fps` does not reduce network bandwidth.** The throttle sits on the decoded video: the whole stream is still transferred and decoded, and frames are dropped after that, immediately before inference. What it saves is inference work, not transfer.

To spend less bandwidth you have to change what is sent. Re-encode the video at a lower frame rate before uploading it, or configure the camera to publish a lower rate — most IP cameras expose a second, lower-rate sub-stream for exactly this, and pointing the Pop at that sub-stream's URL is usually the cheapest fix.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/platform/sources-and-options/options/frame-rate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
