How to compile and use FFMPEG library in Android Studio? - android

i'm newbie in Android Developing. I need use some video library to decompose my video. I have chose FFMPEG, and faced with a question - how integrate ffmpeg to my application and how to use it? I have Android Studio on Windows.

The main problem is this:
FFMPEG is a binary, and there are no nice, user-friendly libraries that mimick it's behaviour out there...
One attempt is this: https://github.com/RkShaRkz/android-ffmpeg (the avatar gives me away)
Another one is this: https://sourceforge.net/projects/ffmpeg4android/files/20121012/
Alot of "solutions" revolve around either
1) launching the FFMPEG binary (process) and piping commands to it.
2) calling into FFMPEG libraries
But noone has yet made a nice FFMPEG-alike SDK library which lets you use everything it offers programatically in Java nor Android.
This was too long for a comment so thats why i posted it as an answer, i hope this doesn't get downvoted to oblivion for not providing a concrete answer/solution to your question.

i resolved it please follow this...
firstly go in File--->New-->Import module--> than Select FFMPEG Folder from your Computer.
after that it will be added in same hierarchy of your Project,
after again go into the File-->Project Structure-->app--> dependencies--> click on plus icon -->select 3).Module Dependencies Now in your list its been shown your Library select it
this solution is working for me
if not solved than please tell me i can help you if possible

Related

android material design issue

i am trying to solve a issue for last 1 week. i am not sure what is wrong with the code.
i am trying to use this library https://github.com/rudsonlive/NavigationDrawer-MaterialDesign
I can able to compile and run the code
the issue is ,there is big difference in the display quality
clearly we can notice the font is completely not matching.
please help me to resolve this.
You should use Android Design Support Library to achieve this.
It's quite easier and will surely fix your problem.
Check this official sample to learn how to use this:
https://github.com/chrisbanes/cheesesquare
Omg i cannot believe it. the actual problem with me is eclipse.
I use android design support library and all other needed libraries.
i only can manage to run the project but when i imported the project using android studio everything is working fine without any additional work.
dam it.
any one tired with eclipse ?

android youtube player OpenYouTubeActivity fullscreen is not working on Android 4.3 and later

m using the android youtube player OpenYouTubeActivity, i'm using the svn source code, not the jar file provided in the project. But it seems that this activity is not working after the 4.3 android releases. the video is shown half of the full screen, but everything else works fine. THis issue is already logged on the issues list on the project site.
Anybody has any clue, whats happening? Any solution is greatly appreciated.
Its always best to use the jars, because you get the latest compiled code and its easy for the maintainers to maintain versions. But I think on the code branch the fix here is to decompile the jar using an open source decompiler like http://jd.benow.ca/ and then copy the code as is.
Then you can see where the changes have been made.
DISCLAIMER
Please follow the licensing as the original wants it. I think its as per Apache, so make sure to include appropriate licensing information and credits and follow licensing laws.

What are Steps to grab the samples from AndEngine Repository

I had tried to grab the samples of AndEngine using Mercurial eclipse plugins, but that was firing some sort of error to me again and again. So, can someone please let me know what could be the easiest way to get the AndEngine examples or samples from the repository. I am working on Windows.
Thanks.
Update:
Change the Mercurial client from the built in one to TortoiseHG (in the Eclipse preferences).
Previous Answer:
Plan A: Make sure to use native Mercurial with EclipseHG (not the one which ships with the plugin). You can find the settings the preferences dialog. Last time I tried, the built-in version was broken. If it fails again, copy and paste the error message.
Plan B: Try TortoiseHG
Plan C: Give us a concrete error message. (Which should actually be Plan A ;) )
You download the zip from https://github.com/nicolasgramlich/AndEngineExamples

How to use Tesseract-android-Tools

I am having the tesseract-android-tools 1.00, please help me to use the interface TessBaseAPI.
I juss want to pass one .jpg image to an android application which is having some text as a part of image. then through this tesseract engine i want to extract those text into editable format..
please help to create this application in android...
Did you ever search in the internet for a manual? There are a lot of hints. Recently someone wrote a small tutorial.
Even it is for Ubuntu, but I think it gives you a clue how to proceed.
If not, your operating system is needed.
I tried compiling the tesseract-android-tools (tat) with Windows and Cygwin and failed. Some other succeeded. Then after I compiled the tat with the MAC OS and Terminal and succeeded, by using the NDK 5b.
So first have a closer look in the internet and then specify your question, so appropriate help can be posted.
Best wishes,
Volker
I recently used tess-two, which is a fork of tesseract android tools. Step-by-step tutorial on how to setup your development environment, and how to use the library with android, is provided at the readme section here - https://github.com/gorjanz/com-vodi-smetka.android

How do I see the core Android classes?

I am trying to look inside a couple of Android core classes to see about overriding some methods. I have looked into getting the Android source code, but the process described on the Android dev site is all about installing and setting up some kind of development environment. This is not necessary to me. I just want to open a class or two in a text editor and look at its contents. Does anyone know if this is possible without going through the multitude of steps described on the Android dev forums?
The easiest way is to use Google Code Search. You just have to try a search like Activity.java android and you can see the source code of that class. It even has an outline inspector:
You can download the entire source with git our just look it up as a reference on the git site. Here is a link to the sdk code:
https://android.googlesource.com/platform/frameworks/base
Another option is to use http://grepcode.com/ and perform a search such as "android ViewGroup". I've really enjoyed the style of using grepcode.

Categories

Resources