minimal configuration for an Android player

Dave Walker dave at happybits.co
Thu Mar 13 07:06:17 PDT 2014


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?

Thank you very much.

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140313/20c2389c/attachment.html>


More information about the gstreamer-android mailing list