Using appsink on Ubuntu

Andy Weston aweston at
Thu Nov 30 21:24:44 UTC 2017

Thank you, this worked for me ...
apt-get install libgstreamer-plugins-base1.0-dev

I got my program to compile like this ...
gcc main.c -o main `pkg-config --cflags --libs gstreamer-1.0 glib-2.0` -lgstapp-1.0

Is there a place where I could have found this info?
I wasn't sure how to reference the pkg-config of the plugin or where I would look this up.

-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at] On Behalf Of Bernhard Graaf
Sent: Thursday, November 30, 2017 2:31 PM
To: 'Discussion of the development of and with GStreamer' <gstreamer-devel at>
Subject: AW: Using appsink on Ubuntu

If you need the development packets from gstreamer, you need to install the 'libgstreamer...-dev' packets.
Type 'sudo apt get install libgstreamer' and then press the key 'TAB'.
You will see all the development packets.
Install only the gstreamer1.0* will not install the development environment

-----Urspr√ľngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at]
Im Auftrag von aweston5
Gesendet: Donnerstag, 30. November 2017 17:32
An: gstreamer-devel at
Betreff: Using appsink on Ubuntu

Hi, I'm trying to include this in a program to use AppSink and this file isn't found ...

#include <gst/app/gstappsink.h>

I'm on Ubuntu 16, and this file isn't found using:
find / -name gstappsink.h

I installed with this:
apt-get install -y gstreamer1.0*

Which puts files here:  /usr/include/gstreamer-1.0/gst

But there is no gst/app directory?

What do I have to install to get this?  Is there a dev package?  I seem to have everything that I can find.

Sent from:
gstreamer-devel mailing list
gstreamer-devel at

gstreamer-devel mailing list
gstreamer-devel at
CONFIDENTIAL COMMUNICATION -- The information in this e-mail (including any attachments) is confidential and proprietary to PRYSM, INC. and intended only for the sole use of the intended recipient. If you have received this communication in error, then any review, dissemination, distribution, or copying of this message is strictly prohibited, and please permanently delete this message (including any copies of this e-mail and any attachments thereto) and notify us immediately by return e-mail.

More information about the gstreamer-devel mailing list