LCEVC decoder build

Build and Install the LCEVC Decoder SDK

  1. Clone the repository:

    bashCopyEdit$ git clone https://github.com/v-novaltd/LCEVCdec.git
    $ cd LCEVCdec
  2. Build and install the SDK:

    bashCopyEdit$ mkdir $BUILD_DIR
    $ cd $BUILD_DIR
    $ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR ..
    $ cmake --build .
    $ cmake --install .

Build the LCEVC GStreamer Decoder Plugin

bashCopyEdit$ cd GStreamer
$ meson setup $BUILD_DIR --pkg-config-path=$INSTALL_DIR/lib/pkgconfig -Dgst-plugins-bad:lcevcdecoder=enabled
$ ninja -C $BUILD_DIR

Run a GStreamer LCEVC Decoder Pipeline

Basic decoding pipeline:

bashCopyEdit$ gst-launch-1.0 filesrc location=/home/user/lcevc-sample.mp4 \
! qtdemux ! h264parse ! openh264dec ! lcevcdec ! videoconvert ! autovideosink

With automatic element discovery:

bashCopyEdit$ gst-launch-1.0 playbin uri=file:///home/user/lcevc-sample.mp4

Last updated

Was this helpful?