Ultraziq Documentation
13.3.0 • NASM: 2.16.01
13.2.0 • NASM: 2.15
24.04.3 LTS • GCC: 13.3.0
Set environment variables to activate your license and link optimized libraries. See details below for system-wide setup.
# Linux / ARM
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/abs/path/to/lib
# Add custom x265 lib paths & license key
export LD_LIBRARY_PATH=/path/to/x265/lib:/path/to/x264/lib:$LD_LIBRARY_PATH
export LICENSEE_KEY=your_key_here
# Windows (Command Prompt)
set PATH=%PATH%;C:\abs\path\to\lib
# Add custom x265 lib paths & license key
set PATH=%PATH%;C:\custom\x265\bin;C:\custom\x266\bin
set LICENSEE_KEY=your_key_here
# Verify
./ultraziq --version
Note: Internet connection required for license synchronization.
Detailed Installation & Verification
Package Structure
bin/: Ultraziq encoder executablelib/: Optimized shared libraries (.so / .dll)include/: Header files (uhdkit.h) for API integration
Verification of Dependencies
Ensure Ultraziq is loading the correct library version (API 215) and not a system-default version:
# Linux: Check linked path
ldd ./ultraziq | grep x265
# Output: libx265.so.215 => /path/to/libx265.so.215
If you get "library not found"
errors, verify the absolute path in your export command and ensure the user has read permissions
for
the lib/ folder.
Usage Examples
1. High-Performance Parallel Encoding
./ultraziq --codec hevc --feature seg-parallel --gops 4x8 \
--input input.yuv --input-res 3840x2160 --fps 60 \
--bitrate 15000 -o output.hevc
Encodes 4K content using 4 parallel segments with 8 threads each.
2. 3-Stream Adaptive Bitrate Ladder
./ultraziq --feature abr-ladder --split "3[1080p][720p][480p]" \
--map [1080p] --bitrate 5000 \
--map [720p] --scale 1280x720 --bitrate 2500 \
--map [480p] --scale 854x480 --bitrate 1000 \
--input master.yuv -o ladder_out
Global CLI Options
# Positional usage (Implied)
./ultraziq in.yuv out.hevc
| Feature | Description |
|---|---|
pcs |
Constant performance mode; reactive FPS stabilization. |
multiencoder |
Simultaneous multi-bitrate encodes with analysis reuse.Allows scaling input to multiple resolutions and encoding each resoultion at multiple bitrate/crf/qp values. |
seg-parallel |
Encode multiple Segments in parallel in x265. |
live2pass |
Improves performance by doing a fast first pass on a scaled down resolution of the content and reusing some analysis data from that in the 2nd pass on the original higher resolution content. |
abr-ladder |
End-to-end adaptive bitrate ladder execution. |
Default:
enabled
Default: keyint
ABR-Ladder Options
Default disabled
Performance Control System Options
Default = 0(disabled)Default = 0 (disabled)
Default =
1
Default =
50
Multi-Bitrate Encoder Options
Default = bicubic.
Segment Parallel Options
Default = enabled.
Default = 1x1.
Must be configured (along with --gops) for live2pass to be effective.
Live2Pass Options
Default: single x265 instance,which auto-selects thread count.
Default = 1.