This section describes the Windows VS2026 environment setup, with steps to compile the libxcoder and FFmpeg using VS2026.

 

Platform and Configuration

 

Configuration of VS2026 project

Debug

Release

DebugDLL

ReleaseDLL

Generate LIB or EXE without optimization

Generate LIB or EXE with optimization

Generate DLL or EXE without optimization

Generate DLL or EXE with optimization

 

Supported Platforms and Configuration

Object:

Configuration

Debug

Release

DebugDLL

ReleaseDLL

Platform

X86

X64

X86

X64

X86

X64

X86

X64

libxcoder

✓

✓

✓

✓

✓

✓

✓

✓

Ffmpeg

 

 

✓

 

 

 

✓

 

Setup VS2026 environment

Online Setup VS2026

  1. Download VS2026 from

https://visualstudio.microsoft.com/

  1. Install VS2026, selecting the option Desktop development with C++

  1. Install the plug-in Microsoft Visual Studio Installer Projects from the Visual Studio Marketplace

 

image-20260828-225709.png

 

Compiling Libxcoder and FFmpeg for Quadra/Logan

 

Preparation

These two separate solutions can be compiled together using a batch script that calls devenv.exe rather than using the VS IDE. However if preferred, the IDE can be used instead by loading and building the VS solution file (.sln). Manually copy the intermediate and output files the same way the batch script does.

The compilation of FFmpeg v4.3.1 is shown as an example below.

  1. From the release package folder

Quadra_SW_v3.0.0

Copy the following two folders into a new folder, in this example the folder named NETINT_Windows is used

  • libxcoder

  • tools

 

  1. Clone FF3.mpeg-n4.1 from git

git clone -b n4.3.1 --depth=1 https://github.com/FFmpeg/FFmpeg.git FFmpeg-n4.3.1
image-20260828-225734.png

 

  1. From the following folder

Quadra_SW_V3.1.1_EN3 

copy the patch file below

FFmpeg-n4.3.1_netint_v3.1.1_EN3.diff

to the FFmpeg-n4.3.1 folder created in Step 2 by the git clone command

 

  1. Change directory to

FFmpeg-n4.3.1 
  1. Apply the patch with the following command  

patch -p 1 -t -i FFmpeg-n4.3.1_netint_v3.1.1_EN3.diff

 

 

Build Libxcoder and FFmpeg for Quadra or ReleaseDLL

This process is simple with only three steps required 

  1. Change directory into tools\MSVS2026\quadra

  2. Run the batch file as an admin to build the libxcoder and FFmpeg Release, or ReleaseDLL

    windows_automated_compiling_ffmpeg_n4.3.1.bat -> Release build
    windows_automated_compiling_ffmpeg_n4.3.1_dll.bat -> ReleaseDLL build

  3. Ensure the following extension is installed before running the batch files

    VS2026 --> Extensions --> Manage Extensions --> Microsoft Visual Studio Installer Projects

image-20260828-225845.png

  1. If the user runs the Release batch files, the output build executable and setup files can be found in the build directory.

 

image-20260828-225857.png

 

Install and Run FFmpeg

The installation of FFmpeg will NOT modify any environment variable or registry item of a Windows 10 system but does require administrator access. 

 

Using FFmpeg-n4.3.1 as an example, assume the build directory is located at

 

C:\FFmpeg-n4.3.1\NI_MSVS2026-n4.3.1\build

and all the output files are located in there.

 

  1. Click the setup.msi generated in the build directory  

 

image-20260828-225917.png

 

  1. Choose your own installation path as administrator, for example

C:\Program Files\NETINT

 

image-20260828-225935.png

 

  1. Run a command prompt as Administrator

 

image-20260828-225953.png

 

  1. Add installation path into %PATH% variable and run init_rsrc command

 

image-20260828-230008.png

 

  1. Start another command prompt and run your own ffmpeg command

 

image-20260828-230023.png