---
updatedAt: 2025-06-18T15:17:27.000Z
agentTools:
  projectIndex: https://api.encoding.com/llms.txt
---

# Apple QT RLE

The Apple Quicktime Animation (RLE) compression algorithm is a simple run-length
encoding compression scheme that can be used in Apple Quicktime files.

```xml
<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> {/* required */}
    <userkey>[UserKey]</userkey> {/* required */}
    <action>[Action]</action> {/* required */}
    <source>[SourceFile]</source> {/* required */}
    <format>
        <output>qtrle</output> {/* required */}
        <video_codec>qtrle</video_codec>
        <framerate>[FrameRate|copy]</framerate>
        <pix_format>[PixFormat]</pix_format>
        <timecode_track>[Timecode|copy|no]</timecode_track>
        {/* format params */}
    </format>
</query>
```
```json
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "qtrle", // required
            "video_codec": "qtrle",
            "framerate": "[FrameRate|copy]",
            "pix_format": "[PixFormat]",
            "timecode_track": "[Timecode|copy|no]",
            // format params
        }
    }
}
```

| Parameter           | Description                             | Allowed Values                                                                                     | Default Value |
| :------------------ | :-------------------------------------- | :------------------------------------------------------------------------------------------------- | :------------ |
| **video\_codec**    | Defines the codec used for your output. | qtrle                                                                                              | qtrle         |
| **framerate**       | Specifies the frame rate.               | Any non-zero float or N/M where N and M are non-zero integers<br/>‘copy’ – take source’s framerate | 60000/1001    |
| **pix\_format**     | Specify the pixel format.               | rgb24, rgb555be, argb, gray, source                                                                | rgb24         |
| **timecode\_track** | Enable inclusion of timecode data.      | **copy** - copy timecode data from source<br/>**timecode** in format \[hh:mm:ss(.:;)ff]<br/>**no** | no            |

```
```