DekTec logo
FFmpeg for DekTec: Ubuntu 23 Build Guide  

FFmpeg for DekTec: Ubuntu 23 Build Guide

This guide provides step-by-step instructions for compiling FFmpeg with DekTec device support on Linux, specifically for Ubuntu 23.04. For other Linux distributions or versions, please refer to the official FFmpeg compilation guide.

 

Sources for Ubuntu 23.04

The .tar.gz archive above contains the FFmpeg source code with DekTec-specific adaptations.
Due to FFmpeg licensing restrictions, you’ll need to compile it yourself by following the instructions on the right.

Step 1: Install Required Packages

  • Update package information and install the necessary packages:
    sudo apt update
    sudo apt -y install build-essential yasm pkg-config libsdl2-dev

Step 2: Download and Prepare Sources

  • Download the DekTec-extended FFmpeg sources (see sidebar for download link).
  • Unpack the downloaded files to '$HOME/ffmpeg_sources'.

Step 3: Download and Set Up Linux SDK

  • Download the DekTec Linux SDK
  • Extract the SDK to '$HOME/LinuxSDK'.
  • Add the SDK to your 'PKG_CONFIG_PATH' environment variable:
    export PKG_CONFIG_PATH=$HOME/LinuxSDK/DTAPI/Lib/GCC7.5.0/pkgconfig

Step 4: Build FFmpeg with DekTec Device Support

  1. Create a build directory and navigate into it:
    mkdir $HOME/ffmpeg_build
    cd $HOME/ffmpeg_build
  2. Configure and compile FFmpeg:
    $HOME/ffmpeg_sources/configure --enable-dektec --enable-nonfree \
      --prefix=$HOME/ffmpeg_bin
    make
    make install