--openh264-download-url
- CLI
- --openh264-download-url
- REST
- CLI only
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. |
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 to fill it before the first request.
Example
CLI
Run locally
zshot --server \
--openh264-download-url https://mirror.example.com/libopenh264-2.7.0-linux64.8.so.bz2