Skip to contentSkip to conversation

glive: Add recipe for Gstreamer Live Example

PATCH In review John Weber 2 participants 3 messages Dec 10, 2013

lore
Share & tools
lore

John Weber

author
#0 lore raw

PATCH 1/1 glive: Add recipe for Gstreamer Live Example

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.

---
 recipes-multimedia/glive/glive.bb |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 recipes-multimedia/glive/glive.bb
recipes-multimedia/glive/glive.bb new file +25 -0
new file mode 100644
index 0000000..fb3681a
@@ -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}"
Signature · 1 line
1.7.9.5
#1 lore raw

Hi John,

Quoted 5 lines · John Weber

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

author
#2 lore raw
Quoted 11 lines · Eric Bénard

Hi John,

Quoted 5 lines · John Weber

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!

Quoted 9 lines

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.