# --openh264-download-url

Source: https://zshot-cli.com/reference/flags/video/openh264-download-url/
Markdown: https://zshot-cli.com/reference/flags/video/openh264-download-url/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/) › [Video](https://zshot-cli.com/reference/flags/video/)
CLI: `--openh264-download-url` · REST: CLI only
Value: `URL`

Sets where ZShot on Linux downloads the OpenH264 Video Codec provided by Cisco Systems, Inc. to encode MP4. The first MP4 request downloads Cisco's binary, checks it against the sha256 pinned for OpenH264 2.7.0, and caches it in `$XDG_CACHE_HOME/zshot/openh264/`, or in `/tmp/zshot-openh264-<uid>/` when the cache home is read-only. Has no effect on macOS, which encodes H.264 with VideoToolbox.

| `URL` | Behavior |
| --- | --- |
| Omitted | Downloads from `ciscobinary.openh264.org` |
| `http://…`, `https://…` | Downloads the same bzip2-compressed file from that URL, such as an internal mirror |
| `none` | Neither downloads nor loads OpenH264; MP4 requests fail |

Cisco's patent license covers the binary only when each machine downloads it from Cisco, so serving it from a mirror is the operator's decision. A container whose cache directory does not persist downloads again each time it starts; mount a volume at the cache directory and run [`--download-openh264`](/reference/flags/video/download-openh264) to fill it before the first request.

## Example

**CLI**

```sh
zshot --server \
  --openh264-download-url https://mirror.example.com/libopenh264-2.7.0-linux64.8.so.bz2
```

## Related

Flags:

- [`--download-openh264`](https://zshot-cli.com/reference/flags/video/download-openh264/)

Topics:

- [MP4](https://zshot-cli.com/reference/formats/mp4/)
- [OpenH264 binary license](http://www.openh264.org/BINARY_LICENSE.txt) — Cisco's terms for the binary

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
      - [--download-openh264](https://zshot-cli.com/reference/flags/video/download-openh264/)
      - **--openh264-download-url**
      - [--video-duration](https://zshot-cli.com/reference/flags/video/video-duration/)
      - [--video-framerate](https://zshot-cli.com/reference/flags/video/video-framerate/)
      - [--video-height](https://zshot-cli.com/reference/flags/video/video-height/)
      - [--video-selector](https://zshot-cli.com/reference/flags/video/video-selector/)
      - [--video-width](https://zshot-cli.com/reference/flags/video/video-width/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Devices](https://zshot-cli.com/reference/devices/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [npm](https://zshot-cli.com/reference/npm/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

