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
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
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
May 9, 2014
I noticed that the videos in Youtube looked much better on my new phone then on the previous phone and thought that the Youtube app was defaulting to the HD stream (previous phone had really crappy WiMax, new phone is LTE @14Mbps even inside a large warehouse). After toggling it on and off to be sure it was indeed off, it appears that it still is using a higher bitrate stream probably because of the great LTE. What is strange though, is that last week, Youtube was averaging 150-200MB a day after watching a couple of videos. This week, after toggling HD on/off, it's nearly 3-4x as much and rapidly using up my data for the month. The "regular" stream also doesn't look that much different at all from the "HD" stream, so it could be it's stuck on the HD stream because of the high bandwidth my LTE connection has (or something else).
I want to use a lower quality stream to conserve my data, but have not been able to find any way to do so within the Youtube app, or via a Xposed module. Is there any way to choose the video size at all on a Android device? I'd prefer to stick with the stock Google Youtube app (via some external control/option?), but if I have to use some other app to do so I will.
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
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
Dec 3, 2009
I have written a small video player application. In that some video files are playing well. But some are not playing at all. I am thinking that this is because of the video size.
So I just want to let the users know the size of the video and to show an alert saying because of this size, this file can't be played.
How to know the size of the video?
View 6 Replies
View Related
May 5, 2010
I have a video player application and would like to display an approximate size of the running video. Is there a way to calculate the video file size from the given Video player API set?
View 2 Replies
View Related
Jan 27, 2012
I have recently flashed my htc desire hd with Android revolution Hd 6.3.1 custom ROM, here is the link [URL] .....
Everything is woking great since i have flashed it, except for the video part. Before flashing my phone could play vvideos of of any size say 200 0r 400 mb without lagging. But after the flashing the same videos do not play. i have tried almost all the known players, i have also formatted my sd card. other than that the Rom seems to have no problem.
View 4 Replies
View Related
Jul 18, 2009
I would like to change the ramdisk size. How I can change this? I have a process that It does not finalize its task because Zygote kill it.
View 2 Replies
View Related
May 5, 2009
How to change RadioButton size? it's too big
View 3 Replies
View Related
Nov 15, 2010
Principle of the image to be displayed: *Bitmap _scratch = BitmapFactory.decodeResource (getResources (), R.drawable.skalyzmn); canvas.drawBitmap (image, x, y, null);*
How to use this method to reduce or increase the picture?
What you need to add that the picture was of such size that I want?
View 1 Replies
View Related
Mar 15, 2010
How can i change the star colors and how can i change the size of the stars ?
View 3 Replies
View Related
Jan 27, 2010
I would like to make CheckBox a bit smaller/bigger, how can I do this?
View 1 Replies
View Related
Jun 10, 2010
I have many RadioButtons in mein App. The RadioButtons are too big for me. Is there any way to make it smaller?
View 1 Replies
View Related
Nov 17, 2010
I would like to change the height and width of the image. Displays the image using the canvas: How to change the size of the bitmap?
View 1 Replies
View Related
Jun 24, 2010
I'm looking to make the plunge to Droid now that the new Droid X is announced but I'm still researching.I was looking on the web and I see some software to convert DVD's to formats so that they can be played on the Droid.Can anyone that does this give me an estimate as to how big the file size is when a DVD is converted? I realize that the quality can be changed which will affect the file size, but I'm trying to figure out about how many dvd's I could fit onto a 16gb card.
View 1 Replies
View Related
Oct 23, 2010
Crap, i tried dropping a large hd quality movie on the fascinate today and it said video size to large. Does anybody know what the max video file size is? 2 or 4 gb's? I got it to work well using a 848x480 ratio with avs converter, but it was only a 2 minute clip of the movie I want to drop on the movie ironman 2 that is 6.71gb from a blu ray.
View 29 Replies
View Related
Jun 6, 2010
I have a 4GB video file in MP4 format. I can view the file perfectly on my laptop using the defaul media player "Media Player Classic". I have transferred the file to my new EVO and I cannot watch the video...it does not even load. I get the following error message "Cannot Play Video" and "Sorry, this video cannot be played." I have tried the default video player, doubletwist and Meridian with no success. I then thought perhaps the single 4GB file is too large for the EVO and Android apps. I am about to break the file into smaller chunk, but I wanted to ask the forum first.
View 14 Replies
View Related
Sep 22, 2010
I have 2 ways of displaying ListView data. I have a class for each type of row. I do not create the rows in an xml layout. (Each row is derived from View and does custom drawing). When I switch from 1 type of row to another how do I get the ListView to layout properly with the correct row heights, and refresh? Is View.forceLayout() on the right track?
View 1 Replies
View Related
Apr 15, 2010
How to change the size of LinearLayout when it is runtime ? I've set the size dynamically when it is runtime. But no luck. Didn't change the size of LinearLayout.
View 1 Replies
View Related
Mar 2, 2009
I am trying to change the screen size of the emulator and see on the site that they tell you what commands to use, but it doesnt' tell you HOW to do it. how I would change the screen size. I believe this occurs on startup. I have eclipse as well, but would rather just shell into it and change it whenever I want.
View 2 Replies
View Related
Oct 16, 2009
Is it possible to change widget size at run-time? I want to provide users with an option to chose size of the widget from configuration utility but can't figure out how to do that. The only way to specify size of the widget seems to be to explicitly do that in AndroidManifest.xml
View 2 Replies
View Related
Nov 24, 2010
I'm writing a preference screen in in xml for my Android application. My issue is that some of the titles of the preferences are too long and will not wrap the page. Consider my example:
<CheckBoxPreference
android:title="Language Detection (BETA)"
android:defaultValue="false"
android:summary="Automatically decide which language to use"
android:textSize="15px"
android:lines="4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Maybe I'm missing something but I have tried using number of other properties with no positive results. I have tried android:singleLine, android:lines, etc., and none of these seem to effect the title of the preference. Also is there a way to scale down the size of a CheckBox title?
View 1 Replies
View Related
Sep 22, 2010
Is there a way to dynamically change the size of a widget? Can an app have multiple widgets?
View 3 Replies
View Related
Feb 18, 2009
Is there a way to change the font size on a tabbed Activity? I can add an icon but I'd like to shrink the font a bit?
View 3 Replies
View Related
Sep 10, 2009
I'm creating Tabs for my application and I wonder how do I change the font size in the Tab Host (Tab Menu) in the following code, that is the font size of Menu1, Menu2, Menu3, Menu4: TabHost host=getTabHost(); Code...
View 4 Replies
View Related
Jun 17, 2009
Is the view aware of the orientation change in order to return updated size after a change in orientation? I'm handling the orientation myself (android:configChanges="orientation|keyboardHidden"). Does it means that I have to take into account the orientation state when querying for view.getHeight()? The view returns the same value as before the orientation change. It this the normal behavior or I should "notify" somehow the view to "refresh" its size.
View 2 Replies
View Related