gstreamer-android Digest, Vol 30, Issue 7

Alexander Zallesov zallesov at soundcloud.com
Wed Nov 13 02:39:40 PST 2013


My Android.mk file looks like this. I was targeting 0.1. But after
switching to 1.0 I had other errors that I fixed including *opensles. *I'm
sure there are some extra unused dependences that I can get rid of.


LOCAL_PATH := $(call my-dir)
> include $(CLEAR_VARS)
> LOCAL_MODULE    := tutorial-2
> LOCAL_SRC_FILES := tutorial-2.c
> LOCAL_SHARED_LIBRARIES := gstreamer_android
> LOCAL_LDLIBS := -llog
> include $(BUILD_SHARED_LIBRARY)
> GSTREAMER_ROOT_ANDROID :=
> /Users/alexanderzallesov1/Gstreamer/gstreamer-1.0-android-arm-1.2.0-debug
> ifndef GSTREAMER_ROOT
> ifndef GSTREAMER_ROOT_ANDROID
> $(error GSTREAMER_ROOT_ANDROID is not defined!)
> endif
> GSTREAMER_ROOT        := $(GSTREAMER_ROOT_ANDROID)
> endif
> GSTREAMER_NDK_BUILD_PATH  := $(GSTREAMER_ROOT)
> /share/gst-android/ndk-build/
> include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
> GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE)
> $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS)
> $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS) opensles gio mad
> mpegtsdemux
> G_IO_MODULES              := gnutls
> include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk


P.S. I'm not sure i'm doing right replying to digest. Did not find out how
to do it other way.

Alexander Zallesov

Engineer



http://soundcloud.com/zallesov/likes <http://soundcloud.com/zallesov>

Skype: zall_nsk

Cell: 01573-7654395

SoundCloud Ltd. - Rosenthaler Str. 13

10119 Berlin, Germany



Discover what's new on SoundCloud <https://soundcloud.com/explore>



Limited registered at Company House, Cardiff, UK.

 Registered Office: London, UK. Company number 6343600

Managing Director: Alexander Ljung

 Local Branch Office Germany: AG Charlottenburg, HRB 110657B


On Tue, Nov 12, 2013 at 7:51 PM, <
gstreamer-android-request at lists.freedesktop.org> wrote:

> Send gstreamer-android mailing list submissions to
>         gstreamer-android at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> or, via email, send a message with subject or body 'help' to
>         gstreamer-android-request at lists.freedesktop.org
>
> You can reach the person managing the list at
>         gstreamer-android-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gstreamer-android digest..."
>
>
> Today's Topics:
>
>    1. Re: gstreamer-android Digest, Vol 30, Issue 2 (Andoni Morales)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Nov 2013 19:50:56 +0100
> From: Andoni Morales <ylatuya at gmail.com>
> To: Discussions about GStreamer on Android
>         <gstreamer-android at lists.freedesktop.org>
> Subject: Re: gstreamer-android Digest, Vol 30, Issue 2
> Message-ID:
>         <
> CAJNDOgiHQGkZNMgFe5bN1JuSYmODG3kMOib9v3bks_6UQzM4Ww at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 2013/11/12 Alexander Zallesov <zallesov at soundcloud.com>
>
> > Yes I made it work. I just was missing opensles module in Android.mk
> >
>
> It's a bit strange that didn't work as it is, you shouldn't need to add
> anything else to Android.mk. Were you maybe targeting an older platform
> that the minimum supported by GStreamer? What did you change in Android.mk
> to make it work?
>
> Cheers,
> Andoni
>
>
> > Do you have IOS sdk ported as well? I found
> > http://gstreamer.freedesktop.org/data/pkg/ios/1.2.1/ but do not know how
> > to make it work. it is not installing as xcode framework.
> >
> > Alexander Zallesov
> >
> > Engineer
> >
> >
> >
> > http://soundcloud.com/zallesov/likes <http://soundcloud.com/zallesov>
> >
> > Skype: zall_nsk
> >
> > Cell: 01573-7654395
> >
> > SoundCloud Ltd. - Rosenthaler Str. 13
> >
> > 10119 Berlin, Germany
> >
> >
> >
> > Discover what's new on SoundCloud <https://soundcloud.com/explore>
> >
> >
> >
> > Limited registered at Company House, Cardiff, UK.
> >
> >  Registered Office: London, UK. Company number 6343600
> >
> > Managing Director: Alexander Ljung
> >
> >  Local Branch Office Germany: AG Charlottenburg, HRB 110657B
> >
> >
> > On Fri, Nov 8, 2013 at 10:03 PM, <
> > gstreamer-android-request at lists.freedesktop.org> wrote:
> >
> >> Send gstreamer-android mailing list submissions to
> >>         gstreamer-android at lists.freedesktop.org
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> >> or, via email, send a message with subject or body 'help' to
> >>         gstreamer-android-request at lists.freedesktop.org
> >>
> >> You can reach the person managing the list at
> >>         gstreamer-android-owner at lists.freedesktop.org
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of gstreamer-android digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >>    1. Re: HLS on Android/IOS over HTTPS (Sebastian Dr?ge)
> >>    2. Re: HLS on Android/IOS over HTTPS (Andoni Morales)
> >>    3. Re: HLS on Android/IOS over HTTPS (Andoni Morales)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Fri, 08 Nov 2013 20:06:26 +0100
> >> From: Sebastian Dr?ge <sebastian at centricular.com>
> >> To: Discussions about GStreamer on Android
> >>         <gstreamer-android at lists.freedesktop.org>
> >> Subject: Re: HLS on Android/IOS over HTTPS
> >> Message-ID: <1383937586.11116.32.camel at thor.lan>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >> On Fr, 2013-11-08 at 14:32 +0100, Alexander Zallesov wrote:
> >> > Hello.
> >> >
> >> > I've managed to make HLS working on android and ios with hlsdemux and
> >> > mpegtsdemux. My pipeline looks like this and it works
> >> >
> >> > *souphttpsrc
> >> > location=
> >>
> http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8
> >> > <
> >>
> http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8
> >> >
> >> > ! hlsdemux ! tsdemux ! mpegaudioparse ! mad ! audioconvert !
> >> audioresample
> >> > ! autoaudiosink", &error);*
> >> >
> >> > Troubles start when I try to play an HTTPS url. I got run time error
> >> >
> >> > *TLS/SSL support not available; install glib-networking*
> >> >
> >> >
> >> > I have it installed on my mac and https urls plays from command line.
> >> >
> >> > Question is how to make it work on android/ios? Should I include this
> >> lib
> >> > to build somehow? How?
> >>
> >> Add this to your Android.mk (see tutorial 5 for example):
> >> G_IO_MODULES := gnutls
> >>
> >> > PS. Gstreamer seems to be 0.1 as I followed tutorials from
> gsreamer.com
> >> .
> >> > I'm using android tutorial 2 as base.
> >> >  Thanx in advance.
> >>
> >> Ideally you would use the latest version available from here:
> >> http://gstreamer.freedesktop.org/data/pkg/android/1.2.0/
> >>
> >> 0.10 is no longer maintained and you won't get much community support
> >> for that version as people moved on to 1.x almost 2 years ago already.
> >>
> >> You can find those tutorials ported to 1.x here:
> >> http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/
> >>
> >> --
> >> Sebastian Dr?ge <sebastian at centricular.com>
> >>
> >> Centricular Ltd - http://www.centricular.com
> >> Expertise, Straight from the Source
> >> -------------- next part --------------
> >> A non-text attachment was scrubbed...
> >> Name: signature.asc
> >> Type: application/pgp-signature
> >> Size: 966 bytes
> >> Desc: This is a digitally signed message part
> >> URL: <
> >>
> http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/4b5d5be4/attachment-0001.pgp
> >> >
> >>
> >> ------------------------------
> >>
> >> Message: 2
> >> Date: Fri, 8 Nov 2013 16:31:12 +0100
> >> From: Andoni Morales <ylatuya at gmail.com>
> >> To: Discussions about GStreamer on Android
> >>         <gstreamer-android at lists.freedesktop.org>
> >> Subject: Re: HLS on Android/IOS over HTTPS
> >> Message-ID:
> >>         <
> >> CAJNDOggE5aQtCc1ayGPbroP9-cBbTHHt2USbQ+AJ7Og30WnpSA at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> 2013/11/8 Alexander Zallesov <zallesov at soundcloud.com>
> >>
> >> > Hello.
> >> >
> >> > I've managed to make HLS working on android and ios with hlsdemux and
> >> > mpegtsdemux. My pipeline looks like this and it works
> >> >
> >> > *souphttpsrc
> >> > location=
> >>
> http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8
> >> > <
> >>
> http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8
> >> >
> >> > ! hlsdemux ! tsdemux ! mpegaudioparse ! mad ! audioconvert !
> >> audioresample
> >> > ! autoaudiosink", &error);*
> >> >
> >> > Troubles start when I try to play an HTTPS url. I got run time error
> >> >
> >> > *TLS/SSL support not available; install glib-networking*
> >> >
> >> >
> >> > I have it installed on my mac and https urls plays from command line.
> >> >
> >> > Question is how to make it work on android/ios? Should I include this
> >> lib
> >> > to build somehow? How?
> >> >
> >> > PS. Gstreamer seems to be 0.1 as I followed tutorials from
> gsreamer.com
> >> .
> >> > I'm using android tutorial 2 as base.
> >> >  Thanx in advance.
> >> >
> >>
> >> Hi Alex,
> >>
> >> I am sorry for the late reply, we are releasing a new product and I have
> >> been really busy this week.
> >> To add support for TLS you need to include a the gnutls GIO module. Add
> >> this line to your Android.mk
> >> G_IO_MODULES=gnutls
> >>
> >> Next week I will probably have some time to explain things a bit more,
> >> because for new developments you should be using GStreamer 1.2. For
> >> application developers the high-level API is almost the same so you
> won't
> >> have troubles moving to 1.2.
> >>  I will try to explain you the current status of 0.10 vs 1.2 and why the
> >> GStreamer SDK is not providing yet binaries for 1.2
> >>
> >> Cheers,
> >> Andoni
> >>
> >> >
> >> > Alexander Zallesov
> >> >
> >> > Engineer
> >> >
> >> >
> >> >
> >> > http://soundcloud.com/zallesov/likes <http://soundcloud.com/zallesov>
> >> >
> >> > Skype: zall_nsk
> >> >
> >> > Cell: 01573-7654395
> >> >
> >> > SoundCloud Ltd. - Rosenthaler Str. 13
> >> >
> >> > 10119 Berlin, Germany
> >> >
> >> >
> >> >
> >> > Discover what's new on SoundCloud <https://soundcloud.com/explore>
> >> >
> >> >
> >> >
> >> > Limited registered at Company House, Cardiff, UK.
> >> >
> >> >  Registered Office: London, UK. Company number 6343600
> >> >
> >> > Managing Director: Alexander Ljung
> >> >
> >> >  Local Branch Office Germany: AG Charlottenburg, HRB 110657B
> >> >
> >> > _______________________________________________
> >> > gstreamer-android mailing list
> >> > gstreamer-android at lists.freedesktop.org
> >> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> >> >
> >> >
> >>
> >>
> >> --
> >> Andoni Morales Alastruey
> >>
> >> LongoMatch:The Digital Coach
> >> http://www.longomatch.ylatuya.es
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/70bae733/attachment.html
> >> >
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: Fri, 8 Nov 2013 22:02:43 +0100
> >> From: Andoni Morales <ylatuya at gmail.com>
> >> To: Discussions about GStreamer on Android
> >>         <gstreamer-android at lists.freedesktop.org>
> >> Subject: Re: HLS on Android/IOS over HTTPS
> >> Message-ID:
> >>         <
> >> CAJNDOgisHoEUNcTtiBnSQKZk_8htOJvu5s1tMJdpB-qwDk-rYw at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> 2013/11/8 Andoni Morales <ylatuya at gmail.com>
> >>
> >> >
> >> >
> >> >
> >> > 2013/11/8 Alexander Zallesov <zallesov at soundcloud.com>
> >> >
> >> >> Hello.
> >> >>
> >> >> I've managed to make HLS working on android and ios with hlsdemux and
> >> >> mpegtsdemux. My pipeline looks like this and it works
> >> >>
> >> >> *souphttpsrc
> >> >> location=
> >>
> http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8
> >> >> <
> >>
> http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8
> >> >
> >> >> ! hlsdemux ! tsdemux ! mpegaudioparse ! mad ! audioconvert !
> >> audioresample
> >> >> ! autoaudiosink", &error);*
> >> >>
> >> >> Troubles start when I try to play an HTTPS url. I got run time error
> >> >>
> >> >> *TLS/SSL support not available; install glib-networking*
> >> >>
> >> >>
> >> >> I have it installed on my mac and https urls plays from command line.
> >> >>
> >> >> Question is how to make it work on android/ios? Should I include this
> >> lib
> >> >> to build somehow? How?
> >> >>
> >> >> PS. Gstreamer seems to be 0.1 as I followed tutorials from
> >> gsreamer.com.
> >> >> I'm using android tutorial 2 as base.
> >> >>  Thanx in advance.
> >> >>
> >> >
> >> > Hi Alex,
> >> >
> >> > I am sorry for the late reply, we are releasing a new product and I
> have
> >> > been really busy this week.
> >> > To add support for TLS you need to include a the gnutls GIO module.
> Add
> >> > this line to your Android.mk
> >> > G_IO_MODULES=gnutls
> >> >
> >> > Next week I will probably have some time to explain things a bit more,
> >> > because for new developments you should be using GStreamer 1.2. For
> >> > application developers the high-level API is almost the same so you
> >> won't
> >> > have troubles moving to 1.2.
> >> >  I will try to explain you the current status of 0.10 vs 1.2 and why
> the
> >> > GStreamer SDK is not providing yet binaries for 1.2
> >> >
> >> >
> >>
> >> This weird replay is because I though the mail was sent to me directly
> and
> >> I didn't replied it yet. But this one has been sent to the ML :)
> >>
> >> Andoni
> >>
> >> > Cheers,
> >> > Andoni
> >> >
> >> >>
> >> >> Alexander Zallesov
> >> >>
> >> >> Engineer
> >> >>
> >> >>
> >> >>
> >> >> http://soundcloud.com/zallesov/likes <http://soundcloud.com/zallesov
> >
> >> >>
> >> >> Skype: zall_nsk
> >> >>
> >> >> Cell: 01573-7654395
> >> >>
> >> >> SoundCloud Ltd. - Rosenthaler Str. 13
> >> >>
> >> >> 10119 Berlin, Germany
> >> >>
> >> >>
> >> >>
> >> >> Discover what's new on SoundCloud <https://soundcloud.com/explore>
> >> >>
> >> >>
> >> >>
> >> >> Limited registered at Company House, Cardiff, UK.
> >> >>
> >> >>  Registered Office: London, UK. Company number 6343600
> >> >>
> >> >> Managing Director: Alexander Ljung
> >> >>
> >> >>  Local Branch Office Germany: AG Charlottenburg, HRB 110657B
> >> >>
> >> >> _______________________________________________
> >> >> gstreamer-android mailing list
> >> >> gstreamer-android at lists.freedesktop.org
> >> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Andoni Morales Alastruey
> >> >
> >> > LongoMatch:The Digital Coach
> >> > http://www.longomatch.ylatuya.es
> >> >
> >>
> >>
> >>
> >> --
> >> Andoni Morales Alastruey
> >>
> >> LongoMatch:The Digital Coach
> >> http://www.longomatch.ylatuya.es
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/fceca7b4/attachment.html
> >> >
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> gstreamer-android mailing list
> >> gstreamer-android at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> >>
> >>
> >> End of gstreamer-android Digest, Vol 30, Issue 2
> >> ************************************************
> >>
> >
> >
> > _______________________________________________
> > gstreamer-android mailing list
> > gstreamer-android at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> >
> >
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131112/5751167c/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
> End of gstreamer-android Digest, Vol 30, Issue 7
> ************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131113/807e1e81/attachment-0001.html>


More information about the gstreamer-android mailing list