LCEVC encoder build
Download and Install the LCEVC Encoder SDK
Register and download the SDK package:
Visit: https://download.v-nova.com
Select the appropriate pre-built
encoder_sdk.tar.gzpackage (Ubuntu 20, Ubuntu 22, or Windows).
Extract and install SDK components:
bashCopyEdit$ cd Downloads $ tar xvf encoder_sdk.tar.gzInstall the headers and libraries (example for Linux):
bashCopyEdit$ cp -v include/*.h /usr/local/include $ cp -v *.so /usr/local/libCreate a
lcevc_eil.pcfile forpkg-config:iniCopyEditprefix=/usr/local includedir=${prefix}/include libdir=${prefix}/lib Name: lcevc_eil Description: LCEVC Encoder EIL library Version: 3.11.3 Libs: -L${libdir} -llcevc_eil Cflags: -I${includedir}Install the
.pcfile:bashCopyEdit$ cp -v lcevc_eil.pc /usr/local/lib/pkgconfig
Build the LCEVC GStreamer Plugin
To enable the LCEVC encoder plugin during GStreamer build:
Navigate to your GStreamer project directory:
bashCopyEdit$ cd GStreamerConfigure the build with Meson:
bashCopyEdit$ meson setup $BUILD_DIR --pkg-config-path=$INSTALL_DIR/lib/pkgconfig -Dgst-plugins-bad:lcevcencoder=enabledBuild using Ninja:
bashCopyEdit$ ninja -C $BUILD_DIR
Run the GStreamer LCEVC Encoder Pipeline
Test the LCEVC encoding with a simple pipeline:
bashCopyEdit$ gst-launch-1.0 videotestsrc pattern=ball num-buffers=1024 \
! video/x-raw,width=1920,height=1080,format=I420,framerate=25/1 \
! lcevch264enc plugin-name="x264" plugin-props="preset=superfast;tune=zerolatency" \
! h264parse ! mp4mux ! filesink location=lcevc-sample.mp4
Last updated
Was this helpful?

