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.
View 1 Replies
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
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
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
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
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
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
Feb 3, 2013
I am using Eclipse for Android development and Latest version of Android SDK (Running XP, 2Gb Ram)
1. when run clicked, previously executed emulator appears first then emulator default screen appears, only last current actual output appears
2. when clicked to close takes too much time (2 mns) for the emulator to disapper
3. in short execution time exceeds development/coding time in the testing process
is anyway to reduce such execution time
View 8 Replies
View Related
Apr 1, 2013
I can start streaming a video perefectly. However, if i pause it to go do something, or to let it pre-buffer, and i play it again, it will play for a little then stop. I look at the seekbar and it says its fully buffered. However, its not and it doesnt play anything and just sits their saying its buffering.
My guessing, well first attempt and finding the culprit, is that the service that is processing the video gets prematurely terminated and restarted thus returning that the buffer is complete.
View 3 Replies
View Related
Jun 6, 2013
I know the zeiki TB782B is cheap decent tablet but the video buffering from streaming websites is just a killer some sites are better than others Its not my internet speed that's good,but is there anyway I can improve this issue by downloading an app or some kind of hack or update?
View 1 Replies
View Related
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
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
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
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
Mar 1, 2013
i have the golf channel app installed, on telus network. I cant get the videos to play, keep getting message "cant play video at this time:
View 4 Replies
View Related
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
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
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
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
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
Sep 10, 2012
I want to do video recording and uploading functionality in android application.Video recording and uploading need to be done on same time.
When user click on Record button , video recording need to be started and once user stops the recording , then recorded video need to be uploaded on remote server.
View 1 Replies
View Related
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
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
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
Oct 19, 2010
Is double buffering makes any sense on android? Can it be implemented?
View 1 Replies
View Related
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
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
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
Jan 1, 2013
How do i remove the buffering sound from an radio app for android? My phone is rooted. I transferred the app to my pc and then I used apktools for extracting. The extracted .apk contains a few maps with a lot of xml and smali files and a few image files. I could'nt find any audio files in any of these maps (which could be the irritating loading sound that i want to remove).
View 3 Replies
View Related
Apr 22, 2013
I get a video recording time limit on my LG G2X. It stops at 10 minutes no matter what video app I use. I have 30 gigs of SD space so that is not the issue.
how to get around this limit?
View 2 Replies
View Related