minimal configuration for an Android player

Dave Walker dave at happybits.co
Thu Mar 13 11:06:15 PDT 2014


sweet - looking froward to it. How about the list of plugins I'm using. Are
any obviously unnecessary for MP4/HLS playback?

Dave


On Thu, Mar 13, 2014 at 8:34 AM, Sebastian Dröge
<sebastian at centricular.com>wrote:

> On Do, 2014-03-13 at 07:06 -0700, Dave Walker wrote:
> > Good morning!
> >
> > I'm integrating Gstreamer into my application for HLS and MP4 playback.
> At
> > this point I'm trying to figure out how to configure the library to
> produce
> > a minimally sized gstreamer_android.so. At this point my library's about
> > 6.5MB.
> >
> > So far I have things configured as:
> >
> > CORE := coreelements audioconvert audiorate audioresample gio
> > typefindfunctions videoconvert videorate videoscale autodetect
> videofilter
> > playback
> > CODECS := audioparsers isomp4 fragmented videoparsersbad androidmedia
> > mpegtsdemux deinterlace
> > NET := soup
> > GSTREAMER_PLUGINS         := $(CORE) $(CODECS) $(NET)
> > $(GSTREAMER_PLUGINS_SYS)
> > G_IO_MODULES              := gnutls
> > GSTREAMER_EXTRA_DEPS      := gstreamer-video-1.0
> > include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk
> >
> > And I'm using the playbin support rather than constructing my own
> pipeline.
> > Empirically I can remove some of these and still play, but when I look at
> > what they do I'm afraid that in some situations they will be valuable to
> > include.
> >
> > Do any of these plugins look completely extraneous for playback support?
> > Would hand-constructing a pipeline allow me to remove the playback and
> > decodebin support, both of which are roughly 1MB a piece in static form?
> Am
> > I chasing my tail trying to get the library much below 6.5MB?
>
> I'm having some changes locally that needs further cleanup to get this
> down to something around 4MB. I'll clean them up over the next days and
> publish them somewhere.
>
> (For some details, you can shrink libiconv, libgio, orc and libglib
> quite a bit with some changes)
>
> --
> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140313/0a17a88f/attachment.html>


More information about the gstreamer-android mailing list