Skip to main content
Version: v5.9.0

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.

  1. Install required packages
    sudo apt-get update && \
    sudo apt-get install pkg-config git gcc make g++ yasm nvme-cli
  2. Clone the libxcoder Github repo
    git clone https://github.com/NETINT-Technologies/netint_libxcoder && \
    cd netint_libxcoder
  3. 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.

  1. Install required packages
    sudo apt-get update && \
    sudo apt-get install pkg-config git gcc make g++ yasm nvme-cli
  2. Clone the libxcoder Github repo
    git clone https://github.com/NETINT-Technologies/netint_ffmpeg && \
    cd netint_ffmpeg
  3. Build FFmpeg with Support NETINT's Quadra VPU.
    bash build_ffmpeg.sh

See options using bash build_ffmpeg.sh -h

  1. Update libraries and install FFmpeg
    sudo ldconfig
    sudo make install

Verify Installation​

  1. Run init_rsrc to make sure that your VPU(s) are initialized.

    tip

    The 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.

  2. Running ni_rsrc_mon should 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 up
    Wed Mar 12 09:28:16 2025 up 00:00:00 v5206s5r2
    INDEX TEMP POWER FR SN
    0 38 7647mW 5106rtr4 Q1A224A11DC065-0018
    Num decoders: 1
    INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE
    0 0 0 0 0 0 0 /dev/nvme1n1
    Num encoders: 1
    INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE
    0 0 0 0 0 0 0 /dev/nvme1n1
    Num scalers: 1
    INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE
    0 0 0 0 0 0 0 /dev/nvme1n1
    Num AIs: 1
    INDEX LOAD MODEL_LOAD INST MEM SHARE_MEM P2P_MEM DEVICE
    0 0 0 0 0 0 0 /dev/nvme1n1
    **************************************************
  3. Running ffmpeg -encoders | grep ni_quadra should 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)
    tip

    You can also use the -decoders, -filters flags in the same command to see more installed features.