Using appsink on Ubuntu

Nicolas Dufresne nicolas at ndufresne.ca
Fri Dec 1 00:05:01 UTC 2017


Le 30 nov. 2017 4:44 PM, "Andy Weston" <aweston at prysm.com> a écrit :

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.


It's not so evident how do document this. Each distribution will use
different package names. But I think a small quote in each lib describing
the pkg-config name (gstreamer-app-1.0) and in Wich repo they are found
(gst-plugins-base) seems like a good hint.


--Andy

-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
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 lists.freedesktop.org>
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 lists.freedesktop.org]
Im Auftrag von aweston5
Gesendet: Donnerstag, 30. November 2017 17:32
An: gstreamer-devel at lists.freedesktop.org
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.
Thanks
--Andy







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
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.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171130/177f640b/attachment-0001.html>


More information about the gstreamer-devel mailing list