Giter Site home page Giter Site logo

pincesco79 / gst-wpesrc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mazdermind/gst-wpesrc

0.0 0.0 0.0 52 KB

The wpesrc element is used to produce a video texture representing a web page rendered off-screen by WPE.

License: Other

Makefile 1.18% Shell 1.97% M4 5.36% C++ 88.46% C 3.03%

gst-wpesrc's Introduction

Webkit Embedded

URL: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/tree/master/ext/wpe The wpesrc element is used to produce a video texture representing a web page rendered off-screen by WPE.

Install Build-Dependencies

Tested for Ubuntu 18.04 LTS

sudo apt install -y build-essential git wget cmake gperf python ruby ninja-build autoconf pkg-config libtool libxkbcommon-dev libcairo2-dev libicu-dev libjpeg-dev libepoxy-dev libgcrypt20-dev libsoup2.4-dev libsqlite3-dev libwebp-dev libtasn1-6-dev libxslt1-dev gstreamer1.0-tools libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-gl1.0-0

mkdir $HOME/wpe
mkdir $HOME/wpe/installed
cd $HOME/wpe
wget https://wpewebkit.org/releases/libwpe-1.1.0.tar.xz
tar xvaf libwpe-1.1.0.tar.xz
cd libwpe-1.1.0

cmake -DCMAKE_INSTALL_PREFIX=$HOME/wpe/installed/ -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
ninja
ninja install
cd $HOME/wpe
wget https://wpewebkit.org/releases/wpebackend-fdo-1.1.0.tar.xz
tar xvaf wpebackend-fdo-1.1.0.tar.xz
cd wpebackend-fdo-1.1.0

cmake -DCMAKE_INSTALL_PREFIX=$HOME/wpe/installed/ -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DWPE_INCLUDE_DIRS="$HOME/wpe/installed/include/wpe-0.2/" -DWPE_LIBRARIES="$HOME/wpe/installed/lib/libwpe-0.2.so"
ninja
ninja install
cd $HOME/wpe
wget https://wpewebkit.org/releases/wpewebkit-2.22.4.tar.xz
tar xavf wpewebkit-2.22.4.tar.xz
cd wpewebkit-2.22.4

cmake -DCMAKE_INSTALL_PREFIX=$HOME/wpe/installed/ -DLIB_INSTALL_DIR=$HOME/wpe/installed/lib -DLIBEXEC_INSTALL_DIR=$HOME/wpe/installed/libexec -DEXEC_INSTALL_DIR=$HOME/wpe/installed/bin -DPORT=WPE -DUSE_WOFF2=false -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DWPE_INCLUDE_DIRS="$HOME/wpe/installed/include/wpe-0.2/" -DWPE_LIBRARIES="$HOME/wpe/installed/lib/libwpe-0.2.so"
ninja -j4 # takes a while and requires quite a bit of RAM (~16GB)
ninja install
cd $HOME/wpe
git clone https://github.com/MaZderMind/gst-wpesrc.git
cd gst-wpesrc

PKG_CONFIG_PATH=$HOME/wpe/installed/lib/pkgconfig/ ./autogen.sh
make

Getting-Started

LD_LIBRARY_PATH="$HOME/wpe/installed/lib/" ./test-scripts/inspect-wpesrc.sh
LD_LIBRARY_PATH="$HOME/wpe/installed/lib/" ./test-scripts/run-wpesrc.sh
LD_LIBRARY_PATH="$HOME/wpe/installed/lib/" ./test-scripts/run-wpesrc-composition.sh

gst-wpesrc's People

Contributors

mazdermind avatar pincesco79 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.