Jump to content

H.264 Motion Vector Extractor - Getting Started - Building H.264 Motion Vector Extractor

From RidgeRun Developer Wiki

🚧 Documentation is under development

The H.264 Motion Vector Extractor guide is currently under active development. Some sections may be incomplete or change without notice.

Questions? Contact RidgeRun or email to support@ridgerun.com.


Previous: Getting Started/Getting the code Index Next: User Guide




Dependencies

The image stitching library has the following dependencies:

Meson

The library makes use of the Meson build system. To correctly build this library you need to use the latest version of Meson:

First, make sure cmake, python dependencies, and ninja are installed

sudo apt-get install python3 python3-pip python3-setuptools \
                       python3-wheel ninja-build

Then use pip3 install Meson directly from its repository.

sudo -H pip3 install git+https://github.com/mesonbuild/meson.git

GStreamer

If using only the library, the required packages are:

sudo apt install libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-bad

However, to also build the example please install:

sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-base libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-bad

CppUTest

The following test library will allow you to run the unit tests of the project

sudo apt install libcpputest-dev

Building the project

To build the H.264 Motion Vector Extractor library natively run:

meson build --prefix /usr/
ninja -C build
ninja -C build test
sudo ninja -C build install

For additional customization, you may refer to the following options table:

`
-Denable-eval=enabled Compile the evaluation version. Includes examples unless explicitly disabled.
-Dtests=disabled Disable compilation of tests.
-Dexamples=enabled/disabled If enabled, build and install the examples. Disabling it will not build them. The default action is building the examples but not installing them.
-Ddeveloper-mode=enabled Install pre-commit hooks.
--prefix /usr Set the installation path of the library
Table 1. H.264 Motion Vector Extractor configuration options (Meson)


Previous: Getting Started/Getting the code Index Next: User Guide



Cookies help us deliver our services. By using our services, you agree to our use of cookies.