# Video processing

{% hint style="info" %}
Video processing is powered by Visual Operations Credits; full details on consumption rates can be found here: [Visual Operation Credits table](https://docs.cloudimage.io/account-management/usage#visual-operation-credits-table)
{% endhint %}

Cloudimage helps you deliver videos faster and lighter by compressing high-resolution files and transcoding them for adaptive streaming. This feature is suited for short clips for websites and web applications such as hero videos or product videos.&#x20;

{% hint style="info" %}
For optimal video delivery, compression and transcoding are enabled by default. Disabling them may slow playback and increase CDN usage.
{% endhint %}

Reduce the weight of your videos automatically upon upload. To set it up, go to *Settings > Video Settings*.&#x20;

* **Automatic compression**: toggle on to enable. Once done, Cloudimage will generate lower-resolution versions (1080p, 720p, 360p) in MP4 format for all videos stored in the Cloudimage Asset Library.&#x20;
* **Target bitrate**: default 400 Kbps

{% hint style="info" %}
The automatic format delivery chooses the most efficient codec and format based on the viewer platform support - h265 (HEVC) mp4, vp9 WebM, or h264 (AVC) mp4.
{% endhint %}

<figure><img src="/files/d5OmYKbX3IZc5VHPb2UJ" alt=""><figcaption></figcaption></figure>

Cloudimage delivers compressed videos, ready to be played in any video player, including HTML5 native. This ensures faster load times, lower bandwidth usage, and smooth playback across devices.

#### Transcoding for adaptive streaming

For seamless viewing on any connection, Cloudimage can transcode your videos into **HLS (HTTP Live Streaming)** format. It automatically generates a manifest file compatible with players like [VideoJS](https://videojs.com/).

* **Automatic transcoding**: toggle on to enable. Once done, Cloudimage will transcode all videos after upload in the Cloudimage Asset Library.&#x20;

<figure><img src="/files/C9PsMTFHuIMQMGllZqP1" alt=""><figcaption></figcaption></figure>

This allows your audience to stream videos at the best quality their network can support, without buffering or manual adjustments.

{% hint style="info" %}
\*Video Compression and transcoding require Visual Operations Credits.&#x20;
{% endhint %}


---

# 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.cloudimage.io/transformations/video-processing.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.
