/ESExtractor

Elementary stream frame extractor

Primary LanguageC++Apache License 2.0Apache-2.0

ESExtractor

Elementary stream frame extractor: The purpose of this library is to parse streams and extract frames with a simple API inspired from FFmpeg API av_read_frame.

It supports:

  • NAL based streams which can be NAL or AUs aligned (H26x)
  • IVF based streams (AV1)
  • Annex B streams (AV1)

Setup

Ubuntu/Debian/etc

$ apt install python3-pip ninja-build pkg-config
$ pip3 install --user meson

Build

Windows

  1. Open a Developer Command Prompt for VS201x
  2. Go to root of the cloned git repository

Common

$ meson builddir
$ ninja -C builddir
$ meson test -C builddir

Test with a sample

$ ./builddir/tests/testesextractor -d -d -f samples/clip-a.h264