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.

pico book

 

Comments




or email your comment to: comments@i-programmer.info

Banner


Petition Microsoft To Defer Windows 10 End of Support
03/10/2025

With 10 days to go until Microsoft ends free support for Windows 10, Windows 7 has seen an uptick in its market share, while Windows 11 has seen a slight downturn. A new petition is asking Microsoft t [ ... ]



Gemini Gets Gold At World Programming Contest
24/09/2025

It isn't the first time that an AI has claimed sucess in a coding competition, but this one is impressive and highlights what the coming AI revolution my be all about.


More News

Last Updated ( Wednesday, 05 December 2012 )