Jump to content

GStreamer Daemon - Building GStreamer Daemon: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 126: Line 126:
=== Mac OSX 10.12.4 Sierra ===
=== Mac OSX 10.12.4 Sierra ===


I created a fresh install VM, [http://macports.org downloaded macports], then ran these commands:
I created a fresh OSX VM, [http://macports.org downloaded macports], then ran these commands:


<pre>
<pre>
# Fetch and install macports
cd $HOME/Downloads
cd $HOME/Downloads
open MacPorts-2.4.1-10.12-Sierra.pkg # use default settings
open MacPorts-2.4.1-10.12-Sierra.pkg # use default settings
Line 135: Line 136:
port list # verify package database install went okay
port list # verify package database install went okay


# Install needed packages
sudo port install autoconf automake gtk-doc json-glib  # install xcode and other packages
sudo port install autoconf automake gtk-doc json-glib  # install xcode and other packages
sudo port install gstreamer1 gstreamer1-gst-plugins-base gstreamer1-gst-plugins-good # installs lots of other packages
sudo port install gstreamer1 gstreamer1-gst-plugins-base gstreamer1-gst-plugins-good # installs lots of other packages


# Fetch GStreamer Daemon source code
DEVDIR=$HOME/projects/gstd
DEVDIR=$HOME/projects/gstd
mkdir -p $(dirname $DEVDIR)
mkdir -p $(dirname $DEVDIR)
Line 143: Line 146:
git clone https://github.com/RidgeRun/gstd-1.x.git $(basename $DEVDIR)
git clone https://github.com/RidgeRun/gstd-1.x.git $(basename $DEVDIR)


# Build and install GStreamer Daemon
cd $DEVDIR
cd $DEVDIR
./autogen.sh
./autogen.sh
Line 149: Line 153:
sudo make install
sudo make install


# verify GStreamer Daemon installed and working correctly
gstd &
gstd &
gstd-client pipeline_create testpipe videotestsrc name=vts ! autovideosink
gstd-client pipeline_create testpipe videotestsrc name=vts ! autovideosink
gstd-client pipeline_play testpipe
gstd-client pipeline_play testpipe
sleep 4
# Change a property
gstd-client element_set testpipe vts pattern ball
gstd-client element_set testpipe vts pattern ball
sleep 4
# Stop the pipeline
gstd-client  pipeline_stop testpipe
gstd-client  pipeline_stop testpipe
# Destroy the pipeline
gstd-client  pipeline_delete testpipe
gstd-client  pipeline_delete testpipe
killall gstd
killall gstd
Cookies help us deliver our services. By using our services, you agree to our use of cookies.