Install with Public Repos
Support for Quadra VPU's can be installed the Public Github Repos
Current Release
SDK Release: v5.9.0
VPU Firmware: v5.9.0
FFmpeg: 7.1
Installation
Install libxcoder
The Installation process involves installing libxcoder to initialize the VPU devices and to monitor the usage.
- Install required packages
sudo apt-get update && \sudo apt-get install pkg-config git gcc make g++ yasm nvme-cli
- Clone the libxcoder Github repo
git clone https://github.com/NETINT-Technologies/netint_libxcoder && \cd netint_libxcoder
- Build the libxcoder
bash build.sh
Additional installation and API information can be found on Github README.
Install FFmpeg
To use the VPU for video processing, a custom application using the libxcoder API needs to be created. Alternatively FFmpeg will need to be installed. The VPU device may also require a firmware upgrade, depending on how you access the VPU device your service provider may have to perform the upgrade on your behalf.
- Install required packages
sudo apt-get update && \sudo apt-get install pkg-config git gcc make g++ yasm nvme-cli
- Clone the libxcoder Github repo
git clone https://github.com/NETINT-Technologies/netint_ffmpeg && \cd netint_ffmpeg
- Build FFmpeg with Support NETINT's Quadra VPU.
bash build_ffmpeg.sh
See options using bash build_ffmpeg.sh -h
- Update libraries and install FFmpeg
sudo ldconfigsudo make install
Verify Installation
-
Run
init_rsrcto make sure that your VPU(s) are initialized.tipThe cards MUST be initialized after every reboot. A custom start-up script or a systemd process are examples of what can be used to ensure the cards are initialized after a reboot.
-
Running
ni_rsrc_monshould show the information about the VPU(s):- Number of VPU detected
- Temperature and Power
- Firmware and Serial Number
- Utilization of the Decoder, Encoder, Scaler and AI Engine
**************************************************1 devices retrieved from current pool at start upWed Mar 12 09:28:16 2025 up 00:00:00 v5206s5r2INDEX TEMP POWER FR SN0 38 7647mW 5106rtr4 Q1A224A11DC065-0018Num decoders: 1INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE0 0 0 0 0 0 0 /dev/nvme1n1Num encoders: 1INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE0 0 0 0 0 0 0 /dev/nvme1n1Num scalers: 1INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE0 0 0 0 0 0 0 /dev/nvme1n1Num AIs: 1INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE0 0 0 0 0 0 0 /dev/nvme1n1************************************************** -
Running
ffmpeg -encoders | grep ni_quadrashould show:- The FFmpeg version
- All the installed NETINT Quadra encoders
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers...V..... av1_ni_quadra_enc AV1 NetInt Quadra encoder v4706r8r4 (codec av1)V..... h264_ni_quadra_enc H.264 NetInt Quadra encoder v4706r8r4 (codec h264)V..... h265_ni_quadra_enc H.265 NetInt Quadra encoder v4706r8r4 (codec hevc)V..... jpeg_ni_quadra_enc JPEG NetInt Quadra encoder v4706r8r4 (codec mjpeg)tipYou can also use the
-decoders,-filtersflags in the same command to see more installed features.