GStreamer Media SDK Now Does Android
Written by Ian Elliot   
Wednesday, 05 December 2012

The well known GStreamer open source media framework is now available in an easy to use Android SDK.

GStreamer is a pipeline approach to handling media streams. You can use the raw C library to build media into your application but there is a single SDK distribution that runs in more or less the same way on a range of platforms - Linux (Ubuntu, Debian and Fedora), Mac OS X (from 10.6), Windows (from XP) and Android (2.3.1 and later).

 

gstreamplatforms

 

It is written in C and you use plug-together objects to build up a processing pipeline. Once you have built the pipeline you simply let it get on with the job of retrieving the media stream, processing it and delivering it to the final stage. You can easily put together a player or a processing app. GStreamer takes care of all the messy details such as buffering.

Codec modules are available for most of the standard formats you wil encounter - MP3, MPEG2, MPEG4AVC/H.264, VP8, AAC, AAC+ and Dolby Digital for example. You can read data in from any of the standard containers such as QuickTime. AVI and so on. Filter components can be used to process the media stream e.g. audio filtering, color balance and so on. Finally the stream can be rendered to either audio or video in a platform independent way.

There are also lots of tutorials showing you how to build particular types of application. At the moment these are all in C but there are language bindings to other popular languages - how you make use of them isn't well documented.

 

gstreamandroid

 

In the case of Android however you can mostly use Java to build the UI and to call the C library via the NDK but you do still need to do some work in C to build the pipeline and provide the connection via the JNI. The advantage is that you can share most of the C code with other platform versions of you app.

This seems like a good way to make the complex task of working with media in a platform independent way relatively easy. The only missing part of the picture at the moment is any way to run the same code on iOS and given the problems of working with Apple to extend iOS this is probably a very long time in coming.

 

gstreamandroidicon

 

More Information

GStreamer SDK
gstreamer

Related Articles

Android SDK 4.2 And Tools 21
 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

blog comments powered by Disqus

Banner


Google Offers Cash Incentives to US Public Schools
01/12/2014

Computer Science Education Week starts next Monday. If students want to do rather more than an hour of code, Google has partnered with Codecademy to encourage teachers in US Public Schools to adopt a  [ ... ]



Duktape Embeddable JavaScript Engine
11/12/2014

JavaScript is everywhere, but what if you want it as a scripting language in your own app or device? Duktape might be what you need. It is open source and has just reached version 1. 


More News

Last Updated ( Wednesday, 05 December 2012 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.