Android :: Get Gapless Playback In Droid Mediaplayer

Apr 13, 2010

I am trying to play continuous stream using android mediaplayer.but am not able to avoid gap in playback while updating the datasource file of mediaplayer.How can i overcome this problem?

Android :: Get gapless playback in droid mediaplayer


Android :: Gapless Video Playback

Oct 5, 2010

I'm trying to build a live streaming player by downloading video segments (which are generated in real-time) and then playing them back in sequence. While I can get the segments to play, I need to get it so that there isn't a pause between playback of successive segments. I've tried using both MediaPlayer (with an appropriate SurfaceView) and VideoView, but there's always a small gap between segments.

If I try to load a new video into a MediaPlayer when the first segment finishes playing, it seems to take half a second or so before the next segment is loaded and starts playing. I have also tried having multiple SurfaceViews within a single ContentView (with only the active one being visible), but it seems like you can't prepare a video until the associated SurfaceView is visible. I also tried having multiple ContentViews that I switch between, but again, this has similar issues.

Any ideas or suggestions? Is it possible to somehow get the next segment to begin decoding as soon as the first one is decoded (which could be before it finishes playing)? Am I going to need to build a custom video player in order to do this?

View 3 Replies View Related

Android :: Achieve True Gapless Playback - Can't Seem To Improve

Jan 30, 2009

When using a mediaplayer to play back an audio file, you can set looping to true - that's not the issue here.

If looping is set to true, there's still an audible gap between the file finishing and then starting again.

How could I achieve true gapless playback? I've attempted using two instances of the same file, overriding oncomplete and onseek.. can't seem to improve the gap though.

View 6 Replies View Related

Android :: Music Player That Supports Lossless Files / Gapless Mp3 Playback

Aug 8, 2010

Okay I've spent a lot of time searching forums, googling, and all that, but as far as I know, there is not a single player that supports gapless playback for mp3 files. I have found an app that can play lossless audio: andLess, but it crashes all the time on my Droid X. I haven't rooted yet, although I plan on doing it after the 2.2 update, but I'll throw away my plans if it means I can actually turn my phone into a competent music player. Is there any app out there that does those two things? I'll even settle for having two separate apps for each, but I don't see how this is so difficult an app to make. When I first got my phone, I was happy that I would no longer have any use for my iPod touch, but this is just saddening.

View 11 Replies View Related

HTC Hero :: Gapless Playback / Music Player Apps To Do This?

Nov 28, 2009

I've been taking my hero to the gym and I've been annoyed by the lack of sapless playback. I have workout CDs that go from track to track but there's always the jarring pause in between.

Are there any other music player apps that will do this?

View 43 Replies View Related

Android :: How To Make View Clickable When Mediaplayer Stops Playback?

Oct 12, 2010

I have Acvtivity that creates view and mediaplayer. I want to use OnCompletion event to make that view clickable. But it throws exception, I don't know why. Probably, mediaplayer runs in another thread and cannot access elements from main ui thread?

View 1 Replies View Related

Motorola Droid X :: Video Playback - Framerate - Jerky Playback

Aug 27, 2010

Been struggling with this since receiving my X. Seems like no matter what player I use the playback is jerky. It's very subtle, almost as if the video is dropping a frame or so every second. I've tried the stock player, Astro, Rockplayer, mPlayer, Zimly, Act, and the list goes on and the problem still persists.

I've encoded (using handbrake) with all of the settings suggested on the boards and have tweaked things on my own trying to find the proper setting, but still no luck. The strange and frustrating thing is that the exact same files play just fine on my 1st gen iPod touch (clearly an inferior piece of hardware) and on my wife's incredible. These encodes are of standard def DVDs at average settings (a full movie is about 1.3gb, all h.264 mp4 files.

I was able to improve playback by rebooting the X and then playing the video, but this doesn't seem like an acceptable solution every time I want to watch something. I tend to encode and watch a lot of stuff on my commute to/from work, and I'd really like to replace my touch with the X, but the media capabilities are falling way short. Considering switching to the Inc as I know it's able to play my media properly, but I'd prefer to keep the X for the larger screen size (though the Inc does seem to feel better when using one-handed). I'm on the fence right now, but if the X can't function as expected then it might be going back. Unfortunately I only have until the 1st to return it so I don't think I can hold out and see if 2.2 fixes this issue.

View 1 Replies View Related

Android :: MediaPlayer.start - Doesnot Work Fine After Calling MediaPlayer.seekTo - 0

Apr 27, 2009

I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting mp.seekTo(0); but the player calls onCompletion() without playing any sound, this is observed randomly on most of the sounds

My sounds are of short duration mostly less than a second.

I am using a separate MediaPlayer for each sound (as I need this) -

There are almost 28 sounds in my game so i will be creating 28 MediaPlayers.

Below is the attached code for player

Also If I try to play many sounds one after the other in a short period of time i get an error saying "no more track names available". can u tell Why this is happening...?

check the below code:

CODE:........

View 9 Replies View Related

Android :: Make Gapless Music Loops In Mp3?

Jan 10, 2010

Does anyone know how to make a music loop in mp3? I have the loop in OGG and it plays perfectly, when I convert it to MP3 there is some silence at the end of the loop before it starts again.

I understand MP3 does not natively support gapless playback however I know there are some hacks to make it happen. i.e http://www.compuphase.com/mp3/mp3loops.htm

However the utility in the above website didn't work for me.

Basically I am trying to convert my music into a format supported by both iphone and android. iphone does not play OGGs unfortunately. Any ideas how to get the mp3 gapless? Or alternatively is there another music format that is gapless and supported by both iphone and android?

View 3 Replies View Related

Android :: Mp3 Files <=0.34 Secs Not Playing On Droid X Using MediaPlayer

Jul 16, 2010

Getting reports that mp3 files <= 0.34 secs in length, are not played (or, at least, inaudible) on the Droid X. Works fine on other devices I've tried (e.g. Nexus One, Hero, G1)

All files longer than 0.34 secs are working fine. I've tested this with about 100 files (mixture of short and long) and the correlation is 100%.

View 4 Replies View Related

Android :: Use Basic HTTP Authentication With Droid MediaPlayer?

Aug 13, 2009

I cant find a way to use an url that requires basic auth when im using code...

Anyone that got any ideas?

View 3 Replies View Related

Android :: Droid MediaPlayer - Get Correct Duration From Streamed File?

Aug 5, 2010

When I stream music using the MediaPlayer, it gives me the wrong song duration. Has anyone else encountered this?

View 2 Replies View Related

Android :: Droid MediaPlayer Class Able To Play A Video Stored In A Remoted URL?

Dec 3, 2009

Can anyone tell me if the Android MediaPlayer class is able to play a video stored in a remoted URL? Just for testing purposes, can I use the URL http://localhost/video-name.3gp. Another question is if the MediaPlayer works well on the emulator?

View 2 Replies View Related

Android :: Achieve Dynamic Midi Generation And Playback On Droid?

Apr 12, 2010

Strangely I find no support for Midi in Android.
The only thing that comes close is the Jetplayer, but this only takes a existing .jet file.

I want to dynamically generate a midi file with some intervals and play it.
I even thought about just manually creating a .jet file with a tone and then transposing it with the jet player, but it limits the transposing to -12, +12. Which is not so good for me.

There also is a ToneGenerator on Android, but it's limited to predefined tones with no way to transpose.

Does someone know how to achieve midi generation and playback on Android?

View 2 Replies View Related

Android :: List Of Codecs For Video Playback That Droid Will Support?

Aug 12, 2009

How can get a list of the codecs for video playback that Android will support?

View 2 Replies View Related

Motorola Droid X :: Video Playback Of .avi And .wmv

Jul 19, 2010

Question about video playback. Do you have to convert everything to .3GP ? I drop some movies onto the SD card and play them just fine. Then went back to play them it was REALLY choppy. Not exactly sure what is causing this. I would rather not covert everything to a different codec.

View 17 Replies View Related

Motorola Droid :: Video Playback

Nov 5, 2009

Does anyone know the size movies will need to be to be played back on the droid? going to try mp4 ....

View 2 Replies View Related

Motorola Droid :: Equalizer For Mp3 Playback?

Dec 24, 2009

This is one thing that annoys me about mp3 playback on the Droid, the lack of an equalizer. Does anyone know if they are planning on adding one in a future firmware update or if there's a good 3rd party app that has one?

View 1 Replies View Related

Motorola Droid 2 :: Jerky Video Playback

Nov 2, 2010

I took a few videos over the weekend and when I played them back on my phone, there was a bit of jerkiness, in each video. When played back multiple times, it jerked in the same spot each time. I don't remember if I was running Stagefright or not when I took them, maybe that is a variable.

View 4 Replies View Related

Motorola Droid :: Best Video Format For Playback?

Nov 17, 2009

The Droid can only play MPEG-4s right? If not what's the best format to rip movies to? I tried MPEG4 720X480 and the phone never even saw it on the SD card. Unless I'm doing it wrong (like music, I just created a folder called videos) A certain Tarantino film just leaked and I really wanna watch it during my commute.

View 22 Replies View Related

Motorola Droid X :: Easy Way To Playback Music?

Jul 22, 2010

gallery = pics and vids but how do i get to my music and ringtones?

View 2 Replies View Related

Motorola Droid :: Way To Improve Audio Playback?

Jun 17, 2010

Is horrible audio playback just part of the 2.2 leak or is it just me? Kangerade, BB, and the stock 2.2 all have very tinny sounding audio quality regardless of the player used. Anyone else noticed this? Better yet, anyone have a fix?

View 13 Replies View Related

Motorola Droid X :: Sd Movie Playback Time Limit?

Aug 18, 2010

it took all day but i finally took 1080p avatar and converted it to mp4 to play on my dx. i transferred the mp4 to my sdcard and started to play. plays better than perfect until i started skipping around the movie and noticed when it gets past a certain time (1:40:50) i think it is it stops playing and cant go past. i try the file thats on my laptop and theres no problem with that. i tried downloading other movie players but they cant even play the file at all.

View 7 Replies View Related

Motorola Droid :: Screen Orientation - Movie Playback

Mar 9, 2010

It seems like my droid will only go to horizontal orientation if I turn it counter-clockwise. When I turn it clockwise, the video plays in landscape by upside down. I'd like to play it landscape turned clockwise and be able to access the charging port while watching television. has anyone found a video player that is capable of this?

View 1 Replies View Related

Motorola Droid :: Cant Playback Own Nice Video Reliably

Dec 3, 2009

Just irritating that the droid cant playback its own nice video reliably. More often than not it will glitch then the audio goes waaayy out of sync. FAIL

View 15 Replies View Related

Motorola Droid :: Fine Tune Music Playback?

Nov 15, 2009

Is there a way to fine tune the music playback? Any equalizer settings?

View 1 Replies View Related

Motorola Droid X : Best Video Playback For Micro-hdmi?

Sep 16, 2010

I just received a micro hdmi an wanted to know what is the best settings for just connecting my DroidX to my tv to watch dvds? Do I skip the converting process altogether an just make sure that the video that I burned from a dvd can be played with the Droid X media gallery while connected to hdmi? I have converted some dvds (Super Troopers) for optimal playback on the Droid X but when I watch that video through HDMI it really isn't the best quality. I have used DVD Catalyst.

View 1 Replies View Related

HTC Droid Eris :: Way To Prevent Screen Timeout Only During Music Playback?

Dec 14, 2009

I know how to prevent screen timeout normally, but is there a way to only prevent it during Music Playback? I'd like to place it on the treadmill and not have to continue to tap the end button to get the screen to light back up and show the song/album art.

View 1 Replies View Related

Motorola Droid :: Audio Playback Using Headphones With Inline Remote

Jun 24, 2010

I have had my Droid since release day, and I am still carrying an iPod Touch as well. My problem is that I keep getting problems with audio playback using headphones with an inline remote. For me, it is absolutely essential to be able to pause/play audio when out and about. People talk to me, I get up to the checkout stand, etc. And, the process of pulling the phone out, swiping it on, getting to the app and pressing pause just won't work. Headphones with inline remotes are the only thing that really work for me.

The problem is that the Droid can't seem to play nicely with these remotes. The volume controls never work at all, and sometimes the pause/play works, sometimes it acts like a skip to the next track. Sometimes it just freaks out and starts cycling through my various audio apps (Listen, Pandora, the stock music app) and then eventually freezes. Has anyone found a workable way to do what I want? I need to be able to pause and play audio while the phone is entirely stashed away.

View 5 Replies View Related

Motorola Droid X :: Video Playback Error - File Cannot Be Displayed Or Played

Aug 22, 2010

Anybody getting this when they try view recorded videos? Worked well in 2.1, but I get this error in 2.2

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved