Android :: How To Reduce Video Buffering Time?

Oct 14, 2010

I'm playing video on Android using media player via RTSP. The player takes about 12s to buffer before it starts playing. Anyone know how I can convince the player to buffer less? I have full control over the RTSP server and the SDP it returns.

ADVERTISEMENT

Android :: How To Change Video Buffering Size?

Aug 6, 2010

Is there a way to change the buffer size in the media player on Android? I'm trying to stream video to mobile devices over rtsp. It works fine, but on android v1.6+ the buffer overflows leading to degraded video quality. Is there any way to configure the media player to use a bigger buffer, or take any other measures to prevent overflow?

View 3 Replies View Related

Android :: Showing Image While Video Buffering?

Jun 4, 2010

I have an app that displays a video using VideoView. The layout consists of a Clock and a VideoView laid out in a simple vertical LinearLayout. Here's my code snippet that I use:
VideoView mVideoView = new VideoView(this);
mVideoView.setVideoPath(myVideoURL);
mVideoView.requestFocus();
mVideoView.start();

Since the buffering of the video takes about 8-10 seconds, the layout comes up with the Clock, but the VideoView stays blank. What I want to achieve is this:
- Display an ImageView for the 10s while the video is buffering
- Detect when the video is ready to be played (onPrepared?)
- Show the Clock and VideoView and start the Video

View 1 Replies View Related

Android :: Streaming Video Files Endless Buffering

Dec 14, 2009

I have a problem streaming live video files. When I stream a file say of duration 5 minutes, it stops after streaming 2 to 3 minutes and enters in to endless buffering state. The VideoViews's OnBufferingListener is endlessly executed, however it shows that the buffering is not progressing anymore : MediaPlayer's buffer says it has buffered for example 90% whereas when I call videoView.getBufferPercentage(), I get something very low, like 1% or 5% ... After a while in the buffering state, the application crashes. It seems like the buffering is taking all the memory.

View 2 Replies View Related

Android :: Buffering While Reading H264 Video (Using HTTP Protocol)

Oct 13, 2010

I'm developing an application on Android 2.2. This application have to read some h264 videos using HTTP protocol. To read a video, I'm using following methods :

// INIT PART mMediaPlayer = new MediaPlayer(); mMediaPlayer.reset();
mMediaPlayer.setOnErrorListener(this); mMediaPlayer.setOnBufferingUpdateListener(this);
mMediaPlayer.setOnCompletionListener(this); mMediaPlayer.setOnPreparedListener(this);
mMediaPlayer.setOnSeekCompleteListener(this);
mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);

// SET DATASOURCE mMediaPlayer.reset(); mMediaPlayer.setDataSource(url);
mMediaPlayer.prepareAsync();
In prepareAsync callback : public void onPrepared(MediaPlayer mediaplayer) { mMediaPlayer.start();
}

View 2 Replies View Related

Android :: Reduce Boot Up Time

Jan 7, 2010

I want to reduce the boot up time of android.I have tried removing some stuff such as not required .apk from the / system/apps folder.from init.rc file some services which is not required.my kernel uncompressing is taking 11 sec almost.how can reduce that.one thing is that i can remove the drivers which are not needed but i am not finding any .config file to remove it?From where can i remove the not required driver from kernel code?What all other stuff can i remove to reduce boot up time?

View 2 Replies View Related

Android :: How To Reduce Xml Parsing Time?

Jun 2, 2010

in my application i have to read xml from web-service, it is working fine, but major problem is it is taking more time to parse data, though same data is taking less time on iPhone and Blackberry. i have similar code on blackberry it is taking less time to parse. is any fast parsing process in Android? if any body know kindly reply me.

View 3 Replies View Related

Motorola Droid :: AT&T Asking Customers To Reduce Video Streaming / Heavy Data Use

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

Android :: Make Progress Bar To Measure Time (pause/playing/total Time) Of Different Video?

Aug 29, 2010

How can I make progress bar to measure time (pause/playing/total time) of different video which is streaming from website?

View 2 Replies View Related

Sprint HTC Hero :: Possible To Reduce To "Loading SD Card" Time?

Feb 14, 2010

Well I've been using a class 6 microSDHC card, and it seems like the "Loading SD card..." time that appears when doing such things as opening albums to view pictures is still the same - several seconds. That leads me to assume that this sd loading time has a lot to do with the properties of the device itself (i.e. processing power, software efficiency).

With that said, will we ever see a reduced "Loading SD card..." time in the future? Perhaps from the coming Android 2.1 update? Do you custom ROM/Gumbo kernal users also have a several-second "Loading SD card..." time even with a class 6 sd card?

View 25 Replies View Related

Android :: Android Is There Any Way To Reduce Boot Up Time Of Emulator Provided With SDK

Mar 5, 2010

On my system, i am using eclipse ganymede version along the Android SDK and ADT plugin installed. I have created an android AVD (target android 1.5) with 512MB of memory. Its quite frustrating to see the slow boot up of it. It takes around 4-5 mins to complete its boot-up. Is there any way or tweak to speed up this boot up process.
PC config:
P4 2.4 Ghz with 1 GB ram.

View 2 Replies View Related

Android : Extract Video Frame At Particular Time

Sep 11, 2009

I am making an video application. In the list of the media, I would like to show the video frame as thumbnail to indicate my video.

There is standard method to extract the first frame from the video. However, I would like to let the user to use any frame as the thumbnail. Is there any method such that I can extract a frame by specific time input by user?

View 3 Replies View Related

Android :: How To Use VideoView To Streaming Without Buffering?

Apr 11, 2010

When I use the VideoView to play the RTSP streaming, the VideoView will buffering some cache buffer. Is there any method to tell the VideoView DON'T buffer? My code:
String VideoUri = "rtsp://192.168.5.121:6666/live/h264"; mVideoView = (VideoView) findViewById(R.id.video_view); mVideoView.setVideoURI(Uri.parse(VideoUri)); mVideoView.start();

View 5 Replies View Related

Android :: Any Way To Minimize Buffering Lag With VideoView?

Jun 3, 2010

I am using VideoView to display a video in my app. The problem is that, once the layout gets created there is lag of almost 10-30 seconds before which the video starts to play. I can see in LogCat that the video is buffering during the lag. Is there a way I can minimize this lag, or tell MediaPlayer to play the video sooner?

View 1 Replies View Related

Android :: Possible To Implement Double Buffering?

Oct 19, 2010

Is double buffering makes any sense on android? Can it be implemented?

View 1 Replies View Related

Android :: How To Play Video In Time Reversed Direction?

Oct 12, 2009

How to play video in a time reversed direction? The requirement is to loop playing forward and backward repeatedly.

View 7 Replies View Related

Android :: Real Time Video Screen Capture?

Jul 1, 2010

I need to make a video as a DEMO for one application I have developed. I know that there are some experimental applications that use DDMS and achieve a framerate of 5-6 fps. This framerate is completely insufficient for my purposes since the application has smooth animations that i would like to show. Is there anyone that has found a way to do a real time screen capture on android? Should I settle for a capture of the emulator or a real video done with a real camera?

View 2 Replies View Related

Android :: VideoView - Detect Point Of Time In Video

May 10, 2010

I am using a VideoView to display a video. I am using setOnPreparedListener and setOnCompletionListener to do stuff before and after the video starts and ends.

I was wondering how I could go about detecting some point of time in the video. For eg, say I want to write log to a file when the video has played for 10s. How can I detect the 10s mark?

View 1 Replies View Related

Android :: How To Perform An Action At A Certain Point In Time During A Video

Jun 2, 2010

I am creating a program which requires me to change a setting in the program when the video reaches specific points (at 1/3 of the video's completion, 2/3's and on completion). Android has a built in callback method for completion so performing an action at that point in time is not difficult. However, I don't know how to go about checking when the video has reached 1/3 and 2/3's of completion.

View 1 Replies View Related

Android :: ESPN Radio App Buffering Settings

Sep 1, 2010

If you click on the top left corner, on the logo of whatever channel you are listening to, it gives you an options menu for buffering. But I really don't know what all these numbers and settings actually mean. You click on a "Start Buffer" and there are just 5 numbers to choose from. Can anyone explain what all these settings are?

View 1 Replies View Related

Android :: Double Buffering In 2D Animation / Games?

Jun 9, 2009

Do anyone here having experience of applying double-buffering in Android 2D animation/ games? I'm sure this is a pretty basic functionality people will discuss about when writing games on Android, but seems like the source I found on web was pretty little. The only one I found is using OpenGL blit (intro by Chris Pruett in Google IO 2009 session). If I want only a 2D, how do I do that?

View 14 Replies View Related

Motorola Droid :: Sharing Video On Youtube / Must Login Every Time?

Dec 4, 2009

So, I'm having a small issue trying to share videos on Youtube. Essentially, I'm forced to log in every single time I want to upload a video. Here's how it happens: I take a video with the stock camera app. Go to the gallery, and click share. Choose Youtube. It asks me to login. I do, and it uploads fine over wifi. Take another video, same steps, and I'm asked to login again. The problem is, I have a long username, so this is really annoying. I'd think it would cache my username for at least as long as the youtube app is still open in the background, or gallery, or something. I've tried going into the youtube app directly, logging in, and then doing all this. No matter what I do, I have to login to youtube every single time. There are other Droid threads about login errors to youtube via the app, but I'm not experiencing that - I'm able to login fine, I'm just annoyed I have to do it every single time I want to use youtube, be it via the app or sharing through gallery. I'm learning to Cut All when I login the first time, then pasting each subsequent time, so at least I'm only retyping my password each time. Which makes it not a huge deal, but still an annoyance Especially since I tend to upload in batches. Anyone else experiencing this? Is this a security thing or did they just forget the "remember me" checkbox?

View 2 Replies View Related

Android :: Audio Stops After Some Time From Video/Music Player

Feb 16, 2009

As mentioned audio stops after some random number of times when played from either Music/Video player. After some debugging, I found that the problem is:

In "android_audio_output.cpp"->audout_thread_func() there is a call to wait(iAudioThreadSem->Wait()) just before the while(1) and it is waiting indefinitely for something.

Can anybody tell me what is it waiting for and why is it not able to come out? From what I can understand, it is waiting for a signal (semaphore) but where is it expecting a signal from?

View 2 Replies View Related

Android :: Buffering In Media Player - VideoView Blank For A While

Jun 2, 2010

I am using MediaPlayer to play a video in my app. The video takes a while to buffer and the videoview is blank for that time. Is there a way to start the buffering when the user is in the previous screen, so that when he comes to the video playing screen, the video is ready to play?

View 2 Replies View Related

Android :: No Update Buffering When Media Player Play RTSP?

Sep 13, 2009

Why Update buffering is always 0% when mediaplayer play the rtsp? I try to play this both on the emulator and on the device. But eveytime it shows that the Update buffering is always 0%. Could anyone give me a reason?

At last it always shows the log
E/MediaPlayer( 1455): stop called in state 4
E/MediaPlayer( 1455): error (-38, 0)
E/PlayerDriver( 1088): Command (7) was canceled

View 2 Replies View Related

Android :: Buffering Background Image - Graphics Advice Sought

Mar 28, 2009

I am unsure of the jargon so please bear with me, I am seeking advice on the best way to go about drawing the graphics for an app I am developing. Imagine you are creating a game of checkers, where you can drag/drop one piece at a time to a blank space on the board. When the piece is being moved, it seems to me that you should not need to redraw all of the pieces that are not being moved. Using the LunarLander example, is there a way to store the background image and only draw the piece being moved over it? I have been trying to figure out a way to capture the canvas as an bitmap that is occasionally refreshed.

View 5 Replies View Related

Android :: Real Time Capturing Of A Video-android

Sep 24, 2010

I am doing a sample application for transfering realtime video from one android device to an emulator, in device side i can open video cam and a set an output file for it, while the recording is progressing, at the same time i am open a file stream and reading all the content by bytes with respect to avilablity, and writing a socket which is communication with the emulator. At the emulator side i am writing this to another file. When i click the recording stop button, i read the rest of the file from the device side and writing to socket stream. When i check the file size at the both side it is same But i cannot play the file at the emulator is side when i check with vlc, in the device side i can play recorded 3gp file So my doubt, same file i cannot access at the same time when one thread(android camera) is writing to the file or it will correupt?

View 1 Replies View Related

Android : Back Button - Disable In Buffering Or Should Prevent The Player Tostart If Back Is Clicked

Oct 11, 2010

In my android application i have a video list screen,a buffering screen and a videoplayer screen.
As soon as the user clicks an item from videolist screen ,he is navigated to buffering screen and then to videoplayer.
In the buffering screen i am using Async task and doing the loading process in on background process.

Now my issue is like the user if has selested a video then gets navigated to buffering screen.But if the user clicks back when he is in buffering screen then initially he is getting navigated to videolist screen but immediately after that again he is navigated to videoplayer screen.

What i would like to have is either the back button should be made disable in buffering or should prevent the player tostart if back is clicked.

View 2 Replies View Related

Android :: How Can I Reduce Cpu Usage?

Aug 21, 2009

Many times (not all the times), my emulator is running 100% of one of my two CPUs on the machine. Can anyone tell me why it is so, and how can I reduce the cpu usage?

View 13 Replies View Related

Android :: Reduce Lag On MyTouch

Aug 22, 2009

Reducing Lag Due to Location Based Services (Tested with myTouch)Only use GPS or Network Based Location services but don't have both enabled at the same time.I purchased the myTouch on 08/20/09 running Firmware 1.5 (Cupcake), Build Number COC10. I am also using the 4GB card that came with the phone.I found that Sherpa and Google maps tended be less than accurate and lagged significantly despite being in Downtown Seattle with 2 - 4 bars of service depending on building density.I also had Pedometer running (a free app from the Market). Sherpa was exteremely laggy to the point of being useless in both Carsel Mode as well as Map Mode. I didn't use Satillite nor Street View in any of my testing.

When I killed Pedometer, I found Sherpa seemed to improve a bit, but still, it was very clumsy to use due to lag. I then looked at "Security and Locations" services and saw both "Use wireless netowrks" and "GPS" enabled. I first disabled "Use wireless netowrks" and saw an immediate improvement in Sherpa. I reenabeld the Pedometer and still got a good response from Sherpa and Google Maps including reduced lag and more precise location. I then disabled GPS (and told the applications to cancel when asked to enable) and enabeld Network based services. Sherpa, Google Maps and Pedometer all responded well, location services improved in accuracy and little lag.

View 5 Replies View Related

Android :: How To Reduce App (.apk) Size?

Sep 28, 2010

When I install my app on the phone to test, it is showing up to be a HUGE size, 11.35 MB. It is a very simple app that lets user browse through fun-facts. The only reason I can think of is that there are 14 JPEG files in the drawables which serve as background images of the fun-facts. The average size of these is about 500 KB.I'd like to trim the size of my app, so as not to use up the precious resources on the user's device. Other than just getting rid of the pictures, are there ways to optimize the size of apk file?

View 4 Replies View Related

HTC EVO 4G :: Do Ads Reduce Battery Life?

Jun 25, 2010

Just occurred to me that all these ads take power to run. What do you think? Can we get better battery life if we got rid of the ads?

View 3 Replies View Related

HTC Desire :: Reduce Flickering When Using 720p

Oct 1, 2010

When using 2.2 on the HTC Desire, select ISO 800 in the photo settings, rather than auto, then switch camera to video as normal. This will considerably reduce the flickering / stuttering during playback when recording at 720p.

View 3 Replies View Related

HTC Desire :: Reduce Screen Sensitivity

Apr 26, 2010

is there a way to reduce the sensitivity of the screen because when i type something i sometimes have my fingers hovering over the screen (NOT touching it) and it registers it as a key stroke! how can i reduce this sensitivity?

View 4 Replies View Related

Android :: How To Reduce Power Consumption

Jul 27, 2010

There are quite some pit falls that an application developer may hit. In order to simplify life Sony Ericsson Developer world has produced a little guideline called "Android Application Coding Guidelines - Power Save".

View 2 Replies View Related

Android :: Reduce String Allocations

Nov 11, 2010

I've managed to get my allocations down to next to nothing using DDMS (great tool), this has drastically reduced my GCs to about 1 or 2 every 3 minutes. Still, I'm not happy because those usually cause a noticeable delay in the game (on some phones) when you interact with it.

Using DDMS, I know what the allocations are, they are Strings being converted from integers used to display game information to the HUD.

I'm basically doing this:

CODE:.................

This happens once each frame update and the HUD system is modular so I plug things in when I need and this can cause 4 or 5 hud elements to allocate Strings and AbstractStringBuilders in DDMS.

Any way to reduce these further or eliminate all the String allocations and just reuse a String object?

View 2 Replies View Related

Android :: Reduce Audio Volume

Feb 1, 2009

In the Android phone, while I am watching YouTube videos, I may reduce the audio volume. Once I am done watching, I close all applications and leave the phone. Then when there is a incoming call, the ringer is very feeble. I may miss that call.Can you make the volume adjustment apply only for that application? I don't want the ringer volume get changed.

View 11 Replies View Related

Motorola Droid :: Best Way To Reduce Screen / App Lag?

Aug 27, 2010

II'm running Sapphire 1.0 with incognito theme on my droid, and its a great ROM, but I keep getting some pretty lengthy screen and application loading lags that are getting frustrating. Some apps are randomly force closing too, specifically.Maps. I'm just wondering if there's a way to reduce all this in some of the setup/settings/spare parts, or if there is a ROM best for transition speed and minimum lag.

View 7 Replies View Related

HTC Droid Eris :: Reduce Lag Without Rooting?

Aug 11, 2010

Looking for a few tips on reducing my lag without rooting. I have read mixed reviews on the advanced task killer and also am not sure how i should set the frequency and level of kill if I did use it. Also is there a major difference in lag if I were to root. I like the phones stock features and wouldn't be interested in doing anything other than speeding the phone up. I have jailbroken an iPhone so I may be a little familiar with the process but all help is appreciated.

View 7 Replies View Related

HTC Desire :: Reduce Icon Size

Jul 25, 2010

I don't suppose there is a way to reduce the amount of space around the icons for apps/folders? When you remove the text under the images you could easily fit an extra row of icons on a homescreen by getting rid of some of the blank space.

View 2 Replies View Related

Android :: App To Reduce Brightness To Below Manufacturer's Level?

Nov 7, 2010

I'm finding my screen is too bright for me to read with in bed at night, even when set to the dimmest setting and with the background black and the text brown. I had this same issue with my old Palm Tungsten E2, but there was a program that allowed the screen to be adjusted to even lower than the manufacturer's level. Is there a similar app for Android? (Actually, I find my screen too bright at the best of times, too.)

View 8 Replies View Related

Sprint HTC Hero :: Reduce Earpiece Volume?

Dec 10, 2009

I know this will sound like a weird question, but I was wondering if there is any way to reduce the earpiece volume? Even at it?s lowest setting it is a little louder than I prefer. Don?t know if there is an app or anything else that can be done to control the volume beyond what the phone does on it?s own? I know I could try Bluetooth, but that?s not always convenient.

View 5 Replies View Related

HTC Incredible :: Camera Flash Settings To Reduce Red Eye?

Aug 7, 2010

Does anyone know if the Incredible, or any Android phone for that matter, has a camera flash setting to reduce red eye? I just got my phone a week ago and have been playing around with it but I haven't see a setting for it.

View 1 Replies View Related

HTC Eris :: How To Reduce Length For Vibrate Of Softkeys?

May 13, 2010

Anyway I can reduce the length for the vibrate of the 4 softkeys (home, menu, back, search) I am rooted and I would love to have it reduced to 15 ms.

View 2 Replies View Related

Android :: How To Reduce APK Bloat Through Library Usage?

Apr 1, 2010

I added google-collect-1.0.jar to my Android project and it made a 50K .apk into a 250k .apk (both Release). This was all through using a single method Lists.newArrayList(). Is there any way to reduce the overhead?

View 1 Replies View Related

ADVERTISEMENT