General :: How To Compile FFMpeg With Support For GPU
May 25, 2012
how to compile FFMpeg with support for the Mali GPU or Generic Android HW acceleration?A good number of video players on the Android Market are able to playback HD video without issue, where some not optimized for GPU decoding are not.
I'm trying to compile CM10.2 for my Galaxy i5800, i downloaded the source code from androidarmv6 and the appropriate device folder with prebuilt kernel. After starting "make" everything seemed to be fine but when it started to compile EGL this error appeared:
Code: target thumb C++: libEGL <= frameworks/native/opengl/libs/EGL/egl.cpp /tmp/cc7jJXiM.s: Assembler messages: /tmp/cc7jJXiM.s:894: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'[codee]....
to Android.mk however the same problem showed up while compiling bionic and it's showing even after adding those lines to bionic's Android.mk .
I want my Android application to have maximum reach, and hence want to support all versions V1.5 onwards. I find some features lacking in V1.5 that are available in V2.0 or V2.1. Could I compile on V2.1, and then set minSDK for the application to run on 1.5? Plain logic says 2.1 specific features would not work, but let me know your thoughts. Also, what are some other workarounds? What would "you" normally do in such a situation?
Is there any good way to decode video raw data such as H264 and MPEG4? I try to develop a live viewer which receives video frame from Internet. So, I need a decoder to decode these raw data. Porting ffmpeg library seems a good idea, but there are only few information about this. There are two questions: 1. How to porting ffmpeg to android? 2. How to use ffmpeg in android(Hello world example)? Any suggestion is welcome.
when I compile android (http://source.android.com/download) it does not compile some source files. For example there is external/bluetooth/bluez/sbc/sbc.c which is not compiled. There are also other such files.
It's possible those files need not to be compiled. Or it might be that I need some special configuration to compile them.
Either way, if it is possible, I'd like to compile them. Is there some way to do it? Maybe some "compile_all" make target? (I believe the reason why I want to compile all source files is not important)
I need to edit my phone "service.jar' file. So i need to know how to compile and decompile ".jar" files. I think before the edit ".jar" files i need to decompile it like android apps. Are there any too for it like apktool? I try to do it with apktool but not success.
I have made a CM7 theme and I'm unable to compile it. I have investigated it a little and found out that if I decompile a theme and then compile it back without ANY change, it gives the following error:
Code: chris@ubuntu:~/Desktop$ apktool b xres W: Could not find sources I: Checking whether resources has changed..[code]....
I've attempted to build two different sources, one modified ICS AOSP and another from straight up JB AOSP. Both err on me.
JB spits out the following:
make: *** No rule to make target `out/target/product/devicetest/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/export_includes', needed by `out/target/product/devicetest/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop. make: *** Waiting for unfinished jobs.... target thumb C: wpa_cli <= external/wpa_supplicant_8/wpa_supplicant/src/utils/edit.c
I'd prefer to get JB working, but would be satisfied with ICS for now.
getting a dev board for use as a mini pc. Wondering can you compile android on arm hardware or only on x86 hardware. If you can compile android on arm I will get a high end quad core dev board, if not will just go for a mid range dual core board. Thought it would be a fun project to have an auto android builder along with file and print server. Yes I know it will be slow to compile.
I am on CM "jellybean" branch and want compile iw from source in order to get a p2p0 interface. My goal is use precompiled libnl.so provided by my vendor (Sony). I add iw sorces in external/iw directory and modified Android.mk of external/libnl-header in order to create the module "libnl" necessary for compile iw. All changes are in this commit.
When I compile I obtain this
external/iw/iw.h:5:29: fatal error: netlink/netlink.h: No such file or directory
It look like the libnl module is not imported by iw.
I am needing to make a kernel for a certain device. There aren't any source codes available for that device but there are for multiple clones out there. I am running Linux Mint Debian edition and i cant find a guide for compiling a kernel on debian.
what is the most simple way to get the latest version of TextSecure installed on my Android Phone?
My solution was creating something using the sourcecode found here: [URL] But the question is, how can I get it working. I've tried multiple things, but it seems like it isn't as easy as I thought. Currently I am on Windows 8. My phone is an Xperia S without GAPPS flashed, so no Play Store. Only F-Droid with FOSS.
I want to compile TWRP recovery for an unsupported device. I compile with Linuxmint 17, java 6 and Omni 4.4 sources. I compile without erros but it doesn't work.Here are Boardconfing.mk and recovery.fstab i have used, and the log.
I'm trying to compile cm7 from source under ubuntu 12.04.
I compiled successfully on ubuntu 10.04 before, but my notebook got broken So on my new notebook I installed 12.04 (64bit).
Repo remained the same.I tried to setup build enviroment as described here.Had to additionally install packages schedtool ,zlib1g-dev and pngcrush.Now in the end of the compile process I get the following error:
frameworks/base/core/java/com/google/android/mms/pdu/PduPersister.java:23: cannot find symbol symbol : class PduCache location: package com.google.android.mms.util import com.google.android.mms.util.PduCache;
I was being decompiling my settings.apk And after compiling i was edit XML Files there And after editing i compile it And theres a error that it said go to option 21 to take a log but its only a compression level for apks i think its should 24. I was only creating a rom but this only compiling made the day long to post it here
I'm trying to compile kernel for A10 Aurora i have a couple of questions.I'm using this guide for make a custom kernel.Compiled allwinner-v3.0-android-v2.Btw my laptop is running ubuntu 32 bit 2 cores 30gb hdd on VMware workstation.
I made zImage, uImage and modules without getting any errors but how to flash them to the device?Using adb? making boot.img making cwm zip how to pack them?
Code: OBJCOPY arch/arm/boot/Image Kernel: arch/arm/boot/Image is ready[code]....
Last week, I played around with getting a custom recovery built for INQ Cloud Touch..
After compiling - flashing recompiling re-flashing for almost a week and on the verge of giving up ...
I realized, searched and found flash_image ... come to find out custom compile of recovery was fine, fastboot did not like my device and wasn't flashing it properly.
So flash_image got the custom recovery working as suppose to, able to backup/restore ... Flash roms.. however there are no roms.. best i could do was try roms from devices close to this one, with no luck!
So i decided i would try my hand at making a 2.3.7 gingerbread rom. Of course stock is froyo 2.2.1 and before i can make the rom.. i need a kernel for gingerbread. So I got the cm-kernel source using this guide:
[EDIT] pulled my .config file using both /proc/config.tgz and the included script to pull it from the boot.img [/EDIT]
Now, i been trying to get kernel compiled for the last 5 days.. and like i said, no lack of searching and reading... Had first error, forgot what it was now, but i got it fixed and compile went on.
Code: LD .tmp_vmlinux1 arm-eabi-ld: no machine record defined arm-eabi-ld: no machine record defined arch/arm/mach-msm/built-in.o: In function `parse_tag_msm_partition':
I have a notepad full of things i have enabled/disabled and restored to original trying to find what is missing or shouldn't be there!
I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate.
I need compiling a lib (ODE) for android - problem is it uses automake and I can't seem to find any decent documentation/how to cross compile a static/dynamic lib for android.
BTW, I'm using ubuntu 12.04 as a dev environment (latest up-to-datest SDK and NDKs are installed) and I have no problem with making the wrapper library - just need to get the static (or dynamic) lib built.