OpenVisualCloud / SVT-VP9

SVT VP9 encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-VP9 encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
222 stars 48 forks source link

Building gstreamer plugin without installing svt-vp9 #53

Open Vascom opened 5 years ago

Vascom commented 5 years ago

How I can build gstreamer plugin immediately after building main svt-vp9 without installing it to the system?

tianjunwork commented 5 years ago

Hi @Vascom , may I know why you don't want svt-vp9 library be installed to the system?

Vascom commented 5 years ago

Because I am maintainer in Fedora. svt-vp9 (and av1, and hevc) contain lib source code and gstreamer plugin source code in one tar.gz file. So I can make many rpm packages from one spec file. I want build lib and immediately build gst plugin using this lib.

Now i use this patch for that:

# Patch build gstreamer plugin
sed -e "s|install: true,|install: true, include_directories : '../Source/API', link_args : '-lSvtVp9Enc',|" \
-e "/svtvp9enc_dep =/d" -e 's|, svtvp9enc_dep||' -e "s|svtvp9enc_dep.found()|true|" -i gstreamer-plugin/meson.build

pushd gstreamer-plugin
    export LIBRARY_PATH="$PWD/../Bin/Release:$LIBRARY_PATH"
    %meson
    %meson_build
popd