Hailo Media Library
C/C++ API for building custom video processing pipelines.
Overview
HML (Hailo Media Library) provides:
- Video pipeline configuration via JSON
- Hardware-accelerated processing
- GStreamer integration
- Multi-stream support
Configuration Files
Frontend Config
Path: /usr/bin/frontend_config_example.json
Settings:
- Vin/Vout resolution and FPS
- Dewarp, flip, mirror
- HDR, low-light denoise
Encoder Config
Path: /usr/bin/frontend_encoders_sink*.json
Settings:
- Encoding format (H264/HEVC/MJPEG)
- Bitrate control (VBR/CVBR)
- OSD (subtitles, images, masks)
Pipeline Structure
Input -> ISP -> DSP -> NN -> Post -> Encoder -> Output
Key Components
| Component | Function |
|---|---|
| Frontend | Input processing |
| Encoder | Video compression |
| Sink | Output handling |
Next Steps
- Compilation - Build HML
- Examples - Code samples