Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (38 loc) · 1.86 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.86 KB

Intel Media Stack vscode Workspace (Windows)

This document describes how to build the binaries.

Prerequisites

To build this project on Windows you will need:

  • Visual Studio Code
  • Visual Studio Build Tools 2022
    • Desktop Development with C++
    • C++ CMake tools for Windows
    • C++ ATL latest build tools (x86 and x64)
    • Windows 10 SDK
  • Python (at least 3.8)
    • Install below components with pip
      1. meson
      2. ninja
      3. mako
    • Add the folder path contains these executable binaries to the system PATH
  • pkg-config-lite and winflexbison
    • Download the windows binaries zip packages and extract them
    • Add the folder path contains these executable binaries to the system PATH

Clone and Build

git clone https://github.com/UngTengEn/Intel-Media-Stack-Windows.git --recursive

Open the workspace in the folder with Visual Studio Code.

In Visual Studio Code menu, goto Terminal > Run Task..., run "Build All | Release".

The binaries and programs will build in _install\Release\bin.

Configure most of your build environtments in build_env.bat

Note: make sure most paths consist of only ascii characters and no spaces.

Extra Tools

You will need nasm and msys2 (follow here to cofigure msys2).

Gstreamer

  1. Open a new Terminal in Visual Studio Code.
  2. Run ".\env.bat" from project root path. This should set the build environments.
  3. Run ".\build_gstreamer.bat release or debug". This will checkout gstreamer and build it.

FFmpeg

  1. Open a new Terminal in Visual Studio Code. Run ".\env.bat" from project root path.
  2. Then run the msys2_shell.cmd. This will open a msys2 shell window.
  3. In the msys2 shell window, go to the project root path and run "./build_ffmpeg.sh release or debug"