Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to do video compression.
Actually in my application I want to have two options, one is low and another is high. If I choose the low option then the application will compress the video and then upload it. If I choose high then it will upload the original video which I have recorded itself.
I want to do this thing in my application and I'm confused. I have searched google a lot but I'm not able to find the useful way to solve this question please if anyone can help me out.
I used ffmpeg4android,
And was able to achieve this in about 10min using only java,
Note that its a commercial library.
Yes in android you can us ffmpeg4android for compress video it's native library
Please check this link
ffmpeg4android Code
Install the Android NDK First to Use it
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I´m looking for some useful API or libraries for handwriting recognition in Android. I want to integrate it in my app but I don´t find anything. I saw in other post that it´s possible using Tesseract(but this work better for OCR image text recognition).
Also I found this API https://dev.myscript.com/ , but it doesn't work fine. Anyone of the demos that they provide work correctly in the phone. It crash when I write a lot or just tab the screen. I tried to follow their tutorials to integrate it in a single app with a single Widget and it doesn't work.
Someone knows some way to integrate handwriting recognition? It´s just for a simple view where I want to write something in the screen throught Handwriting and put the text in a EditText.
there are quite a few options out there.
The following Stack post answers your question.
You can also have a look at PhatWare and Lipi Toolkit
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I must implement an applcation that draws a heart on a person seen via an Android device camera(augmented reality stuff).
So, I must detect the shape/contour of the upper part of human body(head, neck, shoulders) in order to know where the heart must be situated. This stuff must be made in real time.
I've searched about this stuff but I haven't find something useful. Does anybody know some tutorials or examples of something related to this? Thanks.
I would recommend using OpenCV if the memory isn't a problem ( your app would be like 50 MB). There are plenty of tutorials to learn how to use OpenCV. Try Cascade Classifier
In case of face detection, as far as i know, android has a library for this. Camera.Face
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I would like to embed an Aztec Code reader into my app.
I need control over the GUI to
place some buttons around the camera view, while reading the code
to be able to switch the camera on / off (to save the battery)
What I found was
ZXing - which is not reliable yet.
Apps with an own SDK like neoreader, which do not give me the control over my GUI.
Is there a solution for that problem? Maybe som libs? Proprietary libs?
I found a proprietary lib from manateeworks.com
They do offer a lib, which can be used to decode Aztec Codes
In case anyone is looking for a more up-to-date answer to this question, as I was when I came across this thread a couple of hours ago:
As of Google Play Services 8.4.0 release, Aztec barcodes are supported in the vision.barcode package. So you can now detect them from the camera in the same way as you do for other supported types of barcode.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Please help me the way to get count the number of frames of an animated GIF in andoid apps, all the thing i want is how to read the number of frames of an GIF file from the url or from the resource folder and the time display between frames.
Thanks
Android can decode and display animated GIFs, using android.graphics.Movie class.
Try looking there.
It is badly documented but take a look at the Samples in ApiDemos in BitmapDecode example with some animated flag.
You can also take a look at following example that uses GifDecoder to display animated gif (and cout its frames)
I hope it helps...
It's not a direct answer to your question but you can use AnimationDrawable, which is like a GIF file but more Android way, and there you have a getNumberOfFrames() method.
Android discourages usage of GIFs. Don't know way, though...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
In order to make the streaming and saving data of the recording at the same time, I would like to use the output of Mediarecorder which an Api in Android to record a video.
However, when I save the data that produced by recorder.setOutputFile, It is not a legal 3gp format.
Therefore, I would like to study the source code of camera.start() and camera.stop() to make the output file become readable.
Does someone can tell me where can I find the native code of these member?
Here is the link, please try it:
https://android.googlesource.com/platform/packages/apps/Camera
The android sources are here:
https://android.googlesource.com.
This posting might also be informative:
https://groups.google.com/group/android-platform/browse_thread/thread/8995288acaa30018?fwc=1
MediaRecorder itself:
https://android.googlesource.com/platform/frameworks/base/+/master/media/java/android/media/MediaRecorder.java