Android For OMAP3 with Gstreamer Integration

原创 2011年01月16日 16:04:00

This page describes how to port Android (integrated with GStreamer) to OMAP3 platforms (BeagleBoard & OMAP3EVM).



Android port

Current release of Android port for OMAP3 has following features/support

Source Code

Browse the git

Download Android Build

Follow these steps for downloading build from Embinux labs

$mkdir ~/Android_build
$cd ~/Android_build

For BeagleBoard

$repo init -u git:// -b gstreamer-cupcake-omap-beagle

For omap3evm

$repo init -u git:// -b gstreamer-cupcake-omap-evm 
$repo sync

Note : For complete information about repo check following links

Build Compilation

$cd ~/Android_build
$source build/
$choosecombo 1 1 beagle eng  --> For beagleboard
$choosecombo 1 1 omap3evm eng --> For omap3evm

Kernel Image

Current Embinux kernel for this Android port is derived from linux-omap-2.6.29.

Kernel image is generated at following path.





Copying Android RFS

$cd ~/Android_build/out/target/product/omap3evm
$cd ~/Android_build/out/target/product/beagle 
$mkdir ~/Android_RFS
$cp -a root/* ~/Android_RFS
$cp -a data/* ~/Android_RFS/data/
$cp -a system/* ~/ Android_RFS/system/
$cd ~/Android_RFS
$sudo chown -R root.root *
$sudo chmod -R 777 *


GStreamer is a widely supported multimedia framework in Linux world. It is a pipeline based multimedia framework which allows a programmer to create a variety of media-handling components, including simple audio playback, audio and video playback, recording, streaming, and editing.

NOTE : Our GStreamer port for Android is derived from Prajnashi's Android-GStreamer port.

Boot Arguments


  • console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2 video=omapfb.mode=dvi:1280x720MR-24@50 init=/init rootfstype=ext3 rw rootdelay=1 nohz=off androidboot.console=ttyS2
    • Pass appropriate video mode for your display. Check this & this link for more information.


  • console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2 init=/init rootfstype=ext3 rw rootdelay=1 nohz=off androidboot.console=ttyS0

Install Video.apk

Video.apk provides an easy to use User Interface through which you can play video files.

  • Download Video.apk
  • Copy to Android_RFS/system/apps/

Playing Video using GStreamer

Presently it supports only 3gp

* Copy video.3gp to first partition of sdcard
* Copy gst.conf from ~Android_build/external/gst-plugins-android/player to first partition of sdcard 
$mount -t vfat /dev/block/mmcblk0p1 /sdcard
$am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-only false -d  file:///sdcard
* Play Video from User Interface


  • Android uses opencore if gst.conf is not copied
  • Presently audio is not fully functional

Debugging Android

  • Execute $logcat from shell
  • Check if you can find *.dex files of android apps in /data/dalvik-cache

Enabling Network

  • Connect eth0 interface to usb hub via ethernet to usb converter
  • Edit init.rc from <Android_RFS>/init.rc
#basic network init
setprop net.dns1 <primary-dns-server-ip> 
  • Boot Beagle board
  • Execute following commands from minicom
$netcfg eth0 up
$netcfg eth0 dhcp

NOTE:- Enable appropriate driver for your "ethernet to usb converter" in kernel. Driver can be found at :-

│ -> DeviceDrivers │ │ -> Network device support (NETDEVICES[=y]) │ │ -> USB Network Adapters

Android For OMAP3 with Gstreamer Integration

Nilly   View profile    More options Dec 15 2009, 7:13 pm From: Nilly ...@or...
  • suxinmin
  • suxinmin
  • 2010年05月10日 13:04
  • 859

Gstreamer官方教程汇总基本教程5---GUI toolkit integration 目标 本教程介绍了如何整合 GStreamer 到一个图形用户界面(GUI)...
  • 2017年06月26日 11:50
  • 315

Gstreamer for android 编译

Gstreamer 因为依赖库比较多,编译gstreamer的过程会碰到很多问题。 Android 使用的不是标准的gnu c库,而是google自己搞的 bionic libc。这就导致gstrea...
  • yizhongliu
  • yizhongliu
  • 2016年02月15日 10:25
  • 1941

Android平台使用gstreamer 分发视频

首先需要移植Gstreamer 以及
  • fyf_0215
  • fyf_0215
  • 2014年09月30日 11:16
  • 1725

Anroid studio遇到的问题2---Enable ADB integration' to be enabled.

2.Enable ADB integration' to be enabled. 之前本来还是好好的程序,隔天编译就出错了,也是匪夷所思,报了这样的错误: Error running ...
  • u014074418
  • u014074418
  • 2016年08月23日 10:10
  • 1428


  • sakulafly
  • sakulafly
  • 2014年03月25日 11:20
  • 4238

ubuntu build gstreamer for android

ubuntu 14.04 android-ndk-r10e gstreamer-1.0-android-armv7-1.6.0 android studio 1.3 ----------------...
  • hhbgk
  • hhbgk
  • 2015年10月25日 18:37
  • 2404

Gstreamer官方教程汇总基本教程3---Dynamic pipelines 摘要: 将gstreamer的官方教程做了一下整理,分享给需要的人们。 Goal ...
  • 2017年06月26日 11:47
  • 252


目标       视频的硬件解码近来发展非常快速,尤其是在低功耗的设备上。本教程会讲述一些硬件加速的背景知识并解释一下GStreamer是怎么做的。       悄悄告诉你,如果设置正确地话,我们...
  • LG1259156776
  • LG1259156776
  • 2017年02月17日 22:25
  • 581

omap3 android ConfigureAndBuild

 ConfigureAndBuild   Configure and Build   Prepare your host environmentHardwareSoftwareConfigure y...
  • xiaolei05
  • xiaolei05
  • 2011年01月16日 15:51
  • 2895
您举报文章:Android For OMAP3 with Gstreamer Integration