General :: Which Video Players Allow To Set Network Buffer Cache By Size And Time
Dec 26, 2012The closest I know of are mxplayer and vplayer. Any xda alternatives people know of?
View 2 RepliesThe closest I know of are mxplayer and vplayer. Any xda alternatives people know of?
View 2 RepliesI'm currently trying to create a buffer for my application which needs to be big!I mean at least 1MB but most likely to be 4MB.Now definitely bad idea to actually allocate this much on a byte array in memory.So the options are put all the data in a file. So question is where do I place this temp file?
Option 1: Store to sdcard. Might be slow and not such a good idea for continuous read/writes?
Option 2: Store to in the apps cache.I read somewhere this is fast for read/ writes. But also read before issues cleaning up the cache after use? I guess I should as if I be able to create a file in cache and discard it when I don't need it? Any tips/look outs from using this methods would be greatly appreciated!
I am looking for some video players to play mkv movies, links of suitable players to download.
View 7 Replies View RelatedLove Act 1 but it can't save playlists. Are there any that can?
View 1 Replies View RelatedI do really love cloud computing... But, Google seems to have forgot something: set a limit to the cache size.
I have a Nexus S and my poor 16Gb internal memory is saturated because of caches: Google+, Android Gallery (Picasa), Google Music and Google Listen all fight for the sdcard space.
The only apps who have explicit cache settings is Google Listen... The others don't have obvious options. I have 10K songs, 10-20K photos, etc.. I need to access them, but I need to limit the cache size.
Is there a way to easily limit cache size per apps?
I manage a cache of bitmap. Do you have an advise to fix the maximum size of it?
View 2 Replies View RelatedI am wondering if it is possible to limit the size of the dalvik-cache. I am looking for an alternative to putting it on the sdcard. Maybe I could create a partition on the internal storage for the cache?
View 1 Replies View RelatedI went to do a nandroid backup and it failed, "no space on my SD card".
Thats weird, as usually have at least 4 gig on my Nexus S 4g.
Poking around, it was the cache from Google plus,).[url].... That, coupled with my titanium backup of same ate my SDCARD. easy to fix Titanium from backup it up, but the cache is still several gigs large. 40,000 + files with [number].screen extensions.
I have like 2 friends on google+, 3 posts, and can not for the life of me figure out what in the world all that data is.
I'm going to remove the data , freeze the app, but just wanted to know if noticed a disproportionate amount of data in the Google+ app compared to the amount of activity/usage I have on google+.
I have the following problem: I'd like to see the system log of two days ago and I cannot. I see only 3 last hours. How can I configure the system log size, location, severity?
View 6 Replies View RelatedIs there a way to change how big the logcat buffer is? or how much is buffered back? Especially when using DDMS.
View 3 Replies View RelatedThis may be impossible but is there any way that I can get a smaller buffer size for AudioTrack than what is provided by getMinBufferSize method?
This is how I am instantiating AudioTrack right now: SR = 44100; bufSize = AudioTrack.getMinBufferSize(SR, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT); audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, SR, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, bufSize, AudioTrack.MODE_STREAM);
With sample rate of 44100, getMinBufferSize always returns 4800. If I try to make the buffer size smaller than 4800 then I get the following error message: E/AudioTrack( 318): Invalid buffer size: minFrameCount 1200, frameCount 600 E/AudioTrack-JNI( 318): Error initializing AudioTrack E/AudioTrack-Java( 318): [ android.media.AudioTrack ] Error code -20 when initializing AudioTrack. D/AndroidRuntime( 318): Shutting down VM W/dalvikvm( 318): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) E/AndroidRuntime( 318): Uncaught handler: thread main exiting due to uncaught exception I/CheckinService( 59): From server: Intent { action=android.server.checkin.FOTA_CANCEL } E/AndroidRuntime( 318): java.lang.RuntimeException: Unable to start activity Does anyone has any ideas how to over come this problem?
I'm implementing an image cache system for caching downloaded image.
My strategy is based upon two-level cache:
Memory-level and disk-level.
My class is very similar to the class used in the droidfu project
My downloaded images are put into an hashmap and the Bitmap objet is wrapped inside a SoftRererence object.
Also every image is saved permanently to the disk.
If a requested image is not found into the Hashmap<String,SoftReference<Bitmap>> it will be searched on the disk, readed, and then pushed back into the hashmap. Otherwise the image will be downloaded from the network.
Since I store the images into the phisical device momery, I have added a check for preserve the device space and stay under a 1M of occupied space:
CODE:.................
This method is called sometime afte a disk writing:
CODE:..............
What I'd like to add is the same check on the HashMap size to prevent it will grow too much. Something like this:
CODE:.....................
My question is:
What could be a right MAX_MEMORY_SIZE value? Also, Is it a good approach? A good answer also could be: "Don't do it! SoftReference is already enough"
I use BufferedInputStream in my code: socket = new Socket(ip, Integer.parseInt(port)); socket.setReceiveBufferSize(64000); output = socket.getOutputStream(); input = new BufferedInputStream(socket.getInputStream(), 64000); I read incoming packets like this: if (input.available() != 0) { System.out.println("Get Packet: " + input.available() + " bytes"); byte[] b = new byte[input.available()]; input.read(b); incParser(b); }
View 2 Replies View RelatedThe following works fine on a G1 but gives an error on the Samsung Galaxy. I was hoping cross-platform support would be better than this. See error below.
private final static int RATE = 44100; private final static int CHANNEL_MODE = AudioFormat.CHANNEL_CONFIGURATION_MONO; private final static int ENCODING = AudioFormat.ENCODING_PCM_16BIT; private AudioRecord recorder_; public boolean open() { int bufferSize = 4 * AudioRecord.getMinBufferSize(RATE, CHANNEL_MODE, ENCODING); recorder_ = new AudioRecord(AudioSource.MIC, RATE, CHANNEL_MODE, ENCODING, bufferSize);
last line gives the following on the Samsung Galaxy phone: 11-14 19:04:07.507: ERROR/AndroidRuntime(7617): java.lang.IllegalArgumentException: Invalid audio buffer size.
When I used BufferedInputStream and I specify a buffer size, Dalvik gives me this warning - Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.
But right now, my buffer size is already at 8k. What am I doing wrong?
I'm using this kind of code for my TCP/IP connection:
sock = new Socket(host, port);
sock.setKeepAlive(true);
din = new DataInputStream(sock.getInputStream());
dout = new DataOutputStream(sock.getOutputStream());
Then, in separate thread I'm checking din.available() bytes to see if there are some incoming packets to read. The problem is, that if a packet bigger than 2048 bytes arrives, the din.available() returns 2048 anyway. Just like there was a 2048 internal buffer. I can't read those 2048 bytes when I know it's not the full packet my application is waiting for. If I don't read it however - it'll all stuck at 2048 bytes and never receive more. Can I enlarge the buffer size of DataInputStream somehow? Socket receive buffer is 16384 as returned by sock.getReceiveBufferSize() so it's not the socket limiting me to 2048 bytes. If there is no way to increase the DataInputStream buffer size - I guess the only way is to declare my own buffer and read everything from DataInputStream to that buffer?
When I view videos it takes a very long time to buffer and when it does it gets about 5 seconds worth then has to buffer more. Is there away for it to download it better instead of stopping every few seconds to buffer more. This way it can be smoother. There has to be some way to do it my storm that didnt have no where near as much memory played them better.
View 8 Replies View RelatedI've pretty much fed up with the stock Youtube app on my Moto Droid, and was wondering if there are any alternate apps or fixes out there. Between it flipping a nut if I try to seek further into the video and the fact that it won't allow me to buffer the video at all is what tweaks me the most. Whats the point of trying to watch anything over 3G if I'm only gunna get 3 seconds of video followed by 3 seconds of buffering through the whole thing?
View 1 Replies View Relatedi 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 Relatedi havea bunch of AVI video clips that i ant to watch on Hero. unfortunately it seems AVI is unsupported and there are no video players out there that support it. so it seems i have to convert to MP4. What are the exact settings i need to make it in order to playback on Hero? i am using Format Factory to convert .
View 5 Replies View RelatedI tried a few different players from the market including a few that I had to use an app installer to install. So far I have had no luck playing AVI's & MVA's, does anyone know if Android 2.0 includes a universal player like VLC? If not is anyone working on a player? I understand you can convert files to MP4 & 3GP but I would rather find something that can just play the standard format my camera records in.
View 1 Replies View RelatedI got the X10 2 or 3 weeks ago, previous phone was a Samsung Jet. I watch quite a few films but so far I can't get the quality. The files are mainly divx encoded but I have been converting to mpeg4 to play them in Mediascape. The video is skipping / jumping even though it is not at a super-high resolution, bitrate etc. Does anyone know what the best settings are to get video that's watchable? The Jet would play divx files no problem at all and I assumed the X10 would be at least as good...
View 3 Replies View RelatedAs far as I understand, immersive mode can be implemented in two ways in 4.4 KitKat Feature Spotlight: Apps Can Now Go Truly Full-Screen, Hide The Navigation Bar
the user has to swipe down to bring back the navigation bar (the book readers, games example) or touch the screen (the video players example).Is there a way (even if it involves a custom rom) to make video players use the swipe down implementation? The reason I ask is that I have a toddler who I often let watch cartoons on youtube (ie while waiting for food at a restaurant...). He constantly touches buttons on the navigation bar on accident which stops the video and then I have to take the phone from him, restart the app, restart the video, and give it back. I would love to be able to use the swipe-down implementation in this scenario.
My app has a WebView which displays Google maps. I'm trying to limit the cache size to a reasonable one - like 2MB. After checking with settings->applications->manage applications I found out that regular page load gets the cache to 900kb. And dispite my efforts, I can't limit the cache size or monitor when the cache limit is being reached. If I'm playing with the map on the webview, the app can even reach 10MB and no "ache max size reached" message is received.
View 2 Replies View RelatedI have a weak signal at work and often like to watch Vcast (Bones, Vampire Diaries, Family Guy and some others) but due to the limited reception I often get choppy video/audio. There is no link in the menu button to adjust the total seconds of buffering. Is there a back door way to increase the buffer amount to help get better playback of Vcast?
View 1 Replies View RelatedAre there any video players that can handle AVI or a full range of mpeg formats seamlessly?
View 2 Replies View RelatedAre there any video or music player apps that are capable of recognizing media on the internal storage? I know that the HTC players can do it, but I'm looking for something with a few more features. I've tried mixzing, Act 1, and cubed (aka RockOn), but they each can only see files on SD cards. There does not seem to be a way to tell the apps to look in the /emmc directory. I'm new to Android so maybe it's just a matter of developers updating their apps for the Incredible?
I was thinking, alternatively, is there a way to create a symbolic link with an app like Astro to make the files *appear* like they're on the SD card?
Are there any video players for the HTC Desire that support MKV playback? this would be VERY advantageous for me as most of my movies/music videos/videos are in MKV format
If not, what are the best players for AVI/MP4 files?
Configure the web browser cache size? In HTC's new product HERO, they limit the cache size from 100KB to 6MB, and user can configure it manually. It can prevent browser sucking up memory space too much.
View 2 Replies View RelatedYou can use the 3G network for surfing the Internet and at the same time the wifi network to move files only?
View 9 Replies View Related