Patchwork [2/6] gst-meta-base: Support http/https remote streams

login
register
mail settings
Submitter Saul Wold
Date April 5, 2011, 9:48 p.m.
Message ID <23fdb7fffa0e21931f4d6ddd2b02a0a44a450a61.1302039585.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/1967/
State New, archived
Headers show

Comments

Saul Wold - April 5, 2011, 9:48 p.m.
From: Dongxiao Xu <dongxiao.xu@intel.com>

Add libgstsouphttpsrc library to support remote stream playing via
http/https protocols.

This solves the mp4 playing issue by regel from mediatomb file server.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 .../gstreamer/gst-meta-base_0.10.bb                |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Koen Kooi - April 6, 2011, 7:11 a.m.
Op 5 apr 2011, om 23:48 heeft Saul Wold het volgende geschreven:

> From: Dongxiao Xu <dongxiao.xu@intel.com>
> 
> Add libgstsouphttpsrc library to support remote stream playing via
> http/https protocols.
> 
> This solves the mp4 playing issue by regel from mediatomb file server.
> 
> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
> 
> -    gst-plugins-good-autodetect"
> +    gst-plugins-good-autodetect \
> +    gst-plugins-good-souphttpsrc"

FWIW, souphttpsrc is quite heavy in dependencies, so in the future we should look for something lighter (GIO?).

regards,

Koen
Richard Purdie - April 6, 2011, 6:31 p.m.
On Wed, 2011-04-06 at 09:11 +0200, Koen Kooi wrote:
> Op 5 apr 2011, om 23:48 heeft Saul Wold het volgende geschreven:
> 
> > From: Dongxiao Xu <dongxiao.xu@intel.com>
> > 
> > Add libgstsouphttpsrc library to support remote stream playing via
> > http/https protocols.
> > 
> > This solves the mp4 playing issue by regel from mediatomb file server.
> > 
> > Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
> > 
> > -    gst-plugins-good-autodetect"
> > +    gst-plugins-good-autodetect \
> > +    gst-plugins-good-souphttpsrc"
> 
> FWIW, souphttpsrc is quite heavy in dependencies, so in the future we
> should look for something lighter (GIO?).

Sounds like a good plan. Does something already exist or does code need
writing for that?

Cheers,

Richard
Koen Kooi - April 6, 2011, 7:31 p.m.
Op 6 apr. 2011 om 20:31 heeft Richard Purdie <richard.purdie@linuxfoundation.org> het volgende geschreven:

> On Wed, 2011-04-06 at 09:11 +0200, Koen Kooi wrote:
>> Op 5 apr 2011, om 23:48 heeft Saul Wold het volgende geschreven:
>> 
>>> From: Dongxiao Xu <dongxiao.xu@intel.com>
>>> 
>>> Add libgstsouphttpsrc library to support remote stream playing via
>>> http/https protocols.
>>> 
>>> This solves the mp4 playing issue by regel from mediatomb file server.
>>> 
>>> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
>>> 
>>> -    gst-plugins-good-autodetect"
>>> +    gst-plugins-good-autodetect \
>>> +    gst-plugins-good-souphttpsrc"
>> 
>> FWIW, souphttpsrc is quite heavy in dependencies, so in the future we
>> should look for something lighter (GIO?).
> 
> Sounds like a good plan. Does something already exist or does code need
> writing for that?

It has been over a year since I looked at it, but back then GIO used libsoup as backend, so doing http with gstreamer bloated up your product.
I'll have a look at the current state when I get some time.

regards,

koen


> 
> Cheers,
> 
> Richard
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
index 8d5e590..ada7f69 100644
--- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
                     file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 
-PR = "r9"
+PR = "r10"
 
 PACKAGES = "\
     gst-meta-base \
@@ -29,7 +29,8 @@  RDEPENDS_gst-meta-base = "\
     gst-plugins-base-typefindfunctions \
     gst-plugins-base-videoscale \
     gst-plugins-base-ffmpegcolorspace \
-    gst-plugins-good-autodetect"
+    gst-plugins-good-autodetect \
+    gst-plugins-good-souphttpsrc"
 
 
 RDEPENDS_gst-meta-audio = "\