Compile Libxcoder and FFmpeg
Overview
In order to use NETINT Quadra encoding and decoding features using FFmpeg, the user needs the following minimum steps:
-
Clone an FFmpeg Repository
-
Get a Quadra Release Package with libxcoder and patch files
-
Patch the FFmpeg installation
-
Compile libxcoder
-
Compile FFmpeg
-
Run the FFmpeg command in a second command window
Full instructions are given below.
There is a compatibility issue between FFmpeg 4.3.x’s doc generator and texinfo v7.2-1 tool in the latest MSYS2. Use command pacman -Q texinfo to check the version of texinfo tool. To solve this, please downgrade the version of the texinfo tool with the following command.
pacman -U https://repo.msys2.org/msys/x86_64/texinfo-7.1-1-x86_64.pkg.tar.zst
Download the FFmpeg Repository
Start an MSYS2 Mingw64 terminal. There are two methods for installing FFmpeg. The first is to clone the repository from GitHub, and the second is to download and install a tarball from the FFmpeg website.
Sourcing FFmpeg from GitHub
To clone the FFmpeg repository from GitHub, you need to specify the correct FFmpeg version. Once example is FFmpeg version 4.3.1. Using the Mingw64 command line, run the following
cd C:
cd msys64/home/nvme
git clone -b n4.3.1 --depth=1 https://github.com/FFmpeg/FFmpeg.git FFmpeg
The example below assumes the username ‘nvme’, which means the home folder is C:/msys64/home/nvme. Replace ‘nvme