Using appsink on Ubuntu

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Using appsink on Ubuntu

aweston5
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: Using appsink on Ubuntu

BGraaf
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:[hidden email]]
Im Auftrag von aweston5
Gesendet: Donnerstag, 30. November 2017 17:32
An: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: Using appsink on Ubuntu

aweston5
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.
--Andy

-----Original Message-----
From: gstreamer-devel [mailto:[hidden email]] On Behalf Of Bernhard Graaf
Sent: Thursday, November 30, 2017 2:31 PM
To: 'Discussion of the development of and with GStreamer' <[hidden email]>
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:[hidden email]]
Im Auftrag von aweston5
Gesendet: Donnerstag, 30. November 2017 17:32
An: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: Using appsink on Ubuntu

Nicolas Dufresne-5


Le 30 nov. 2017 4:44 PM, "Andy Weston" <[hidden email]> 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:[hidden email]] On Behalf Of Bernhard Graaf
Sent: Thursday, November 30, 2017 2:31 PM
To: 'Discussion of the development of and with GStreamer' <[hidden email]>
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:[hidden email]]
Im Auftrag von aweston5
Gesendet: Donnerstag, 30. November 2017 17:32
An: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel