Patchwork [meta-fsl-demos] glive: Add recipe for Gstreamer Live Example

login
register
mail settings
Submitter John Weber
Date Dec. 10, 2013, 8:47 p.m.
Message ID <1386708471-8161-1-git-send-email-rjohnweber@gmail.com>
Download mbox | patch
Permalink /patch/63187/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

John Weber - Dec. 10, 2013, 8:47 p.m.
glive is a Gstreamer Live Example project consisting of a server and
a client program which shows one way of streaming video data using
Gstreamer.  It makes use of Gstreamer version 0.10 and uses RTP and
RTCP, as well as a TCP socket for link status and control.

Signed-off-by: John Weber <rjohnweber@gmail.com>
---
 recipes-multimedia/glive/glive.bb |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 recipes-multimedia/glive/glive.bb
Eric BENARD - Dec. 10, 2013, 9:01 p.m.
Hi John,

Le Tue, 10 Dec 2013 14:47:51 -0600,
John Weber <rjohnweber@gmail.com> a écrit :

> glive is a Gstreamer Live Example project consisting of a server and
> a client program which shows one way of streaming video data using
> Gstreamer.  It makes use of Gstreamer version 0.10 and uses RTP and
> RTCP, as well as a TCP socket for link status and control.
> 
interesting thanks !

FYI you also have :
http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-multimedia/recipes-multimedia/gstreamer/gst-rtsp_0.10.8.bb?h=master

http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/

which allows the creation of RTSP server using gst pipelines.

Eric
John Weber - Dec. 10, 2013, 9:46 p.m.
On 12/10/13 3:01 PM, Eric Bénard wrote:
> Hi John,
>
> Le Tue, 10 Dec 2013 14:47:51 -0600,
> John Weber <rjohnweber@gmail.com> a écrit :
>
>> glive is a Gstreamer Live Example project consisting of a server and
>> a client program which shows one way of streaming video data using
>> Gstreamer.  It makes use of Gstreamer version 0.10 and uses RTP and
>> RTCP, as well as a TCP socket for link status and control.
>>
> interesting thanks !
You're welcome!
>
> FYI you also have :
> http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-multimedia/recipes-multimedia/gstreamer/gst-rtsp_0.10.8.bb?h=master
>
> http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/
>
> which allows the creation of RTSP server using gst pipelines.
>
> Eric
Thanks for the link.  Glive is really meant to be a simple but reliable example 
on how to set up a live video stream using RTP/RTCP and Gstreamer on the i.MX6.  
It shows how one can use the Gstreamer API in a C program to build and control 
the pipeline (albeit very basic control), and uses a simple TCP link to initiate 
the setup and teardown of the pipelines at both the server and client ends (as 
RTP/RTCP do need some amount of orderly setup in Gstreamer).

I agree that RTSP would be another good example as well, especially when using 
VLC as a client for example.

Patch

diff --git a/recipes-multimedia/glive/glive.bb b/recipes-multimedia/glive/glive.bb
new file mode 100644
index 0000000..fb3681a
--- /dev/null
+++ b/recipes-multimedia/glive/glive.bb
@@ -0,0 +1,25 @@ 
+# Copyright (C) 2013 Avnet Electronics Marketing
+
+DESCRIPTION = "Gstreamer Live Example (GLIVE) Server and Client Application"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/johnweber/glive.git;branch=master"
+SRCREV = "d7263f6dc685efb06cbd0f70b12c12193cec480a"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/git"
+
+# Depends on Gstreamer
+DEPENDS = "gstreamer glib-2.0 "
+RDEPENDS_${PN} = "gstreamer \
+                  gst-plugins-good-rtp \ 
+                  gst-plugins-good-udp \
+                  gst-plugins-good-rtpmanager \
+                  gst-plugins-good-video4linux2 \
+                  gst-fsl-plugin \
+                  glib-2.0 \
+"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"