Getestet unter Ubuntu 18.04 LTS auf der MRMCD 2018
Basis Voraussetzung schaffen
Code: Select all
sudo apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools build-essential libevent-dev libglew-dev libglfw3-dev libgstreamer-plugins-base1.0-dev netcat git pkg-config libsdl2-dev
Pixelflut Server clonen und kompilieren
Quelle: https://github.com/larsmm/pixelflut
Code: Select all
git clone --recursive https://github.com/larsmm/pixelflut.git
cd pixelflut
make
Code: Select all
./pixelflut
gstreamer Programming Workshop
Quelle: https://pads.schaffenburg.org/mrmcd
Code: Select all
git clone https://github.com/fraxinas/gst-pixelflut.git
cd gst-pixelflut
git checkout step_00
autoreconf --force --install
./configure
make
gst-inspect-1.0 pixelflut
export GST_PLUGIN_PATH=$PWD
gst-inspect-1.0 pixelflut
git checkout step_01 && make
git checkout step_02 && make
git checkout step_03 && make
git checkout step_04 && make
git checkout step_05 && make
git checkout step_06 && make
git checkout step_07 && make
git checkout step_08 && make
git checkout step_09 && make
git checkout step_10 && make
Code: Select all
export PXFHOST=127.0.0.1
gst-launch-1.0 videotestsrc pattern=pinwheel ! video/x-raw, width=400, height=300 ! pixelflutsink host=$PXFHOST offset-top=360 offset-left=480 port=1234
Code: Select all
git checkout testapp
make
cd test/
export PXFHOST=127.0.0.1
./gstpixelflutsinktest --uri https://5images.cgames.de/images/gamestar/4/day-of-the-tentacle-remastered_2747904.jpg -i 1 -x 250 -y 250 -h $PXFHOST
Alternativ geht auch die Comando Erweiterung -p 1234 oder port=1234 an das Ende der Codezeile.