# Video optimization

DAM support 2 methods for optimizing and editing videos before delivery.

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td><a href="/pages/vwSVLRfuVZlvc5nSlIPo">Video API</a></td><td>API endpoints for <a data-mention href="/pages/yKlNJsAKRpXoebRjrHxL">/pages/yKlNJsAKRpXoebRjrHxL</a> and <a data-mention href="/pages/hrhgzErGcYifDlkLFFiv">/pages/hrhgzErGcYifDlkLFFiv</a> larger video files to prepare them for CDN delivery</td><td>API endpoints for <a data-mention href="/pages/yKlNJsAKRpXoebRjrHxL">/pages/yKlNJsAKRpXoebRjrHxL</a> and <a data-mention href="/pages/hrhgzErGcYifDlkLFFiv">/pages/hrhgzErGcYifDlkLFFiv</a> videos after the master video file has been uploaded into Filerobot</td><td></td></tr><tr><td><a href="/pages/gTMe180onOxOjpN3lAKQ">On-the-fly video optimization</a></td><td>Dynamic video optimization for short video file using query-based parameters</td><td>Dynamic video optimization via query paremeters.<br></td><td></td></tr></tbody></table>

Depending on the use case, either or both methods can be useful.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/video-optimization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
