Android :: Way To Decode Video Raw Data / Use Ffmpeg In Droid?
Sep 15, 2010
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.
View 6 Replies
Sep 16, 2010
I would like to build a live streaming and viewer.
The streaming is H264/MEPG4 raw data.
How to decode these raw data on Android?
I can not find usable API in Android SDK to do it.
View 2 Replies
View Related
May 27, 2009
Does anyone know how to decode the camera data from the PreviewCallback? I need to capture camera preview frames and process the bitmap obtained by decoding the frames before displaying.
View 8 Replies
View Related
Oct 19, 2010
I'm downsampling an image via BitmapFactory.decode then base64 encoding the bytes to ship to the server. (long story on the latter part of that formula) It seems this process nukes all Exif data in the image data. Am I approaching this the wrong way or is this a fact of life?
View 2 Replies
View Related
Aug 4, 2010
I have an application with a lot of media data (images and videos) that were previously stored on the sdcard. With that, images and videos are displayed fine in my app.
Now, in order to secure the content more, I wanted to move the content to the internal storage / data dir of the app, which I did. I copied all media with a routine within my app to the data folder (/data/data/com.myapp/some/folders/video.mp4) and adjusted the path in my app so that it would look for the media in the internal storage data directory and not the sdcard anymore.
Everything works fine, images are being displayed (decoded) properly, but videos don't play. They files do exist though - I do not get a FileNotFound exception. But an IOException: java.io.IOException: Prepare failed.: status=0xFFFFFFFC
Why is that? Everything is handled within my one app and the videos have been copied with the same routine as the images, thus having the same permission settings. Looking at the stack trace, it all runs in process id 18060).
Why I cannot playback the video from internal storage? Or how can I?
CODE:......................
View 2 Replies
View Related
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.
View 3 Replies
View Related
May 27, 2010
I need to decode HTML entities, e.g. from ¶ to ¶, and & to &.
URLEncoder.decode(str) does not do the job (convert from % notations). TextUtils has a HTMLencode, but not a HTMLdecode.
Are there any function for decoding HTML entities?
View 1 Replies
View Related
Dec 9, 2009
I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?
View 3 Replies
View Related
Mar 13, 2010
Does Android MediaPlayer can only work with file sources? I would like play media (video) from a network stream, but the stream comes in a non-standard protocol, so I have to somehow feed Android MediaPlayer with the data only. Is there anyway to do that? I found a few web pages suggesting using a temporary file for the buffered media data etc. but I would like to minimize the I/O usage as much as I can, so I'm looking for a API only solution if there is any? how about JNI? but looks like the permissions going to be an issue with that also.
View 1 Replies
View Related
Dec 10, 2009
AT&T evidently has a new campaign to get iPhone users to reduce the amount of video streaming and other data intensive activities they engage in, and may start charging them based on data use.
Their network just can't handle current data levels, and AT&T can't get it updated fast enough to handle the data requirements.
Kind of blows up the ads they've had on TV showing how great their network coverage "really is."
Already been giving my iPhone buddy a hard time showing off my Droid to him, now I'm really going to have some fun at his expense.
View 5 Replies
View Related
Jul 18, 2013
I'm working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (like the ASN.1 JavaScript decoder) and then use the decoded data.
how can I access the decoded data from my Android app? Is there some way to reference the decoded text online?
View 2 Replies
View Related
Mar 29, 2010
In my application during downloading of images, for some of the images i got the error like
D/skia (374): --- decoder->decode returned false
View 2 Replies
View Related
May 5, 2009
I want to decode high resolution pics something like 8 mega pixel images and view it. when I try to decode them I get out of memory exception. Decoding of single 8 mega pixel also fails . From the Imagamanager code and other post I could use BitmapFactory.Options inJustDecodeBounds I could get a scaled down version of the Image . code...
Is there any way to decode part of the Image and fill it on the screen and by scrolling decode other region of the image and display it.
View 3 Replies
View Related
Oct 27, 2009
For my current application I collect images from different "event providers" in Spain.
However, when downloading images from salir.com I get the following logcat output: 13970 Gallery_Activity
I Fetching image 2/8 URL: http://media.salir.com/_images_/verticales/a/0/1/0/2540-los_inmortale... 13970 ServiceHttpRequest
I Image [url] fetched in [146ms] 13970 skia D --- decoder->decode returned false
Searching for that error message didn't provide much useful results.
View 4 Replies
View Related
Jun 19, 2009
I am tring to get a image from the images stored on the sdcard of my Android but i am getting a skia error using BitmapFactory When I just take the image directly without using BitmapFactory class I get the image. But the purpose of using BitmapFactory is scaling down the image size by using inSample =4;
but I get skia as the error..................
View 3 Replies
View Related
Jan 24, 2009
Will anybody guide me, I want to decode image bitmap picked from Picture application(on a android phone), so How should I achieve this. First thing is how to retrieve image from Picture application, after picking it, if I assign it to temp image variable, is there any method in Bitmap.Factory to decode this image into bitmap.
View 2 Replies
View Related
Sep 23, 2010
I am getting following encoded html as a json response and has no idea how to decode it to normal html string, which is an achor tag by the way.
View 2 Replies
View Related
Jun 4, 2009
I want to know an image's width before decode it, so that I can set Options.inSampleSize if the image is too large. Any advice to do that?
View 3 Replies
View Related
May 7, 2010
I am trying to open a remote Stream of a JPEG image and convert it into a Bitmap object code...
The decoder returns null and in the logs I get the following message:
DEBUG/skia(xxxx): --- decoder->decode returned false
Note:
1. the content length is non-zero and content type is image/jpeg
2. When I open the URL in browser I can see the image.
What is that I am missing here?
View 1 Replies
View Related
Nov 6, 2011
I have a couple of videos, that I would like to strip the audio from, and was planning to use FLAC, and/or similar lossless codec; but before I do this, what codecs can Andriod decrypt? According to Android Central, it can decode FLAC, but only in Android 4.0 and higher, and I'm currently on Android 2.3.4 on a HTC Amaze 4G...
Is there any software I could get, in order for it to decode/decrypt FLAC correctly?
I don't mind using any other lossless audio codec, as long as Android 2.3.4 supports it...
View 5 Replies
View Related
Apr 19, 2012
Need to display images downloaded and extracted from a zip into the "/files" directory of the app. the images are getting in there properly as far as i can tell - i am able to extract them from the emulator and view/open them from my desktop. but every attempt, every variation of code i have found and tried so far has failed (Tag: skia / Text: --- decoder->decode returned false).
My latest construct, which does work for image files downloaded separately and uncompressed :
Code:
String imgFile = new File(getFilesDir(), "myImage.jpg").getAbsolutePath();
ImageView myImageView = new ImageView(this);
Bitmap bm = null;
try{
bm = BitmapFactory.decodeFile(imgFile);
myImageView.setImageBitmap(bm);
} finally{
mainLayout.addView(myImageView);
}
And here is the construct i am using to handle the zip extraction. I assume this is where the problem lies but i am clueless as to what i could possibly do differently and to what effect:
Code:
ZipInputStream zis = new ZipInputStream(fis);
BufferedInputStream in = new BufferedInputStream(zis, 8192);
ZipEntry ze;
while ((ze = zis.getNextEntry()) != null){
File dest_file = new File(getFilesDir(), ze.getName());
[code]....
View 2 Replies
View Related
Jan 26, 2010
Possible Duplicate:
Getting frames from Video Image in Android
I wanted to know if it is possible to extract frames from a running Video in Android? I need to extract frames at regular intervals and send them for further processing.
Would someone be able to find an answer for me?
View 1 Replies
View Related
May 30, 2010
Really could not find any information on this but I was wondering how much data would be consumed during a video calls? ROI any help here? There are some post relating to how skype consumers data and that's about it.
View 2 Replies
View Related
Oct 27, 2010
I get the YUV to RGB function 1&2 (from stack overflow)but the result is wrong like this http://163.18.62.32 /device.jpg I dont understand what's wrong in the step my device is Moto Milestone with 2.1 update 1 function 1 public int[] decodeYUV420SP( byte[] yuv420sp, int width, int height) function 2 int[] rgbBuf = new int[height width];decodeYUV(rgbBuf,_height ,.width);than convert to Bitmap and show on Bitmap bm = Bitmap.createBitmap (rgbBuf,width, height) ;View01.setImageBitmap(bm);
View 1 Replies
View Related
Dec 10, 2009
If this is a repeat of another thread then i apologize .i need a video player that will play mp4 video in full resolution for the droid.m coming from bb.can you help me with this.i don't care if it is free or not.
View 8 Replies
View Related
Apr 17, 2010
I have a moto droid and when i receive a mms it just shows a picture and doesn't actually show the video that is. I have tried handcent and the native messaging app. Any idea on what i should try. I am running chevy v3.0 ese81
View 2 Replies
View Related
Sep 24, 2010
Is it possible to provide files into the data/data directory of an android application on install? If so, where would I put these files in my project?
View 1 Replies
View Related
Mar 4, 2010
I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.
View 3 Replies
View Related
Aug 21, 2010
Can anyone help explain what this does? I did a small search around the internet, and it came up with just about nothing.My first question is: I turned mobile data off, and yet, during the night, I was charged for data, so something leaked.Personally, I thought if this was because of this particular function. But maybe it was something else.So, I turned it off, but around the forums for other androids people seem to think that syncing doesn't work as well with this disabled.Does anybody know what might have happened? And could this function have been the thing that caused the leak.The leak, was actually for only 50 KB or so, but because I'm on Page Plus, it caused me to go under the required balance to refill of $29.95 and caused my plan to lapse. It's important for me for this not to happen again. Can anyone give any tips?
View 2 Replies
View Related
Dec 7, 2009
I am looking for an application that will allow simple video editing to clip part of the video that is not relevant prior to posting or sharing.
View 24 Replies
View Related