Stutter/skips in Android client

Need help? Post your questions here.

Moderator: moderators

Postby GJ51 » Fri Nov 05, 2010 3:13 am

If another phone has no issues on your site, it would tend to point more toward your phone being the issue.

Same would hold true if you had the same issue on a site that is known to work well.

Without testing, it's all speculation.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby sn0skier » Fri Nov 05, 2010 3:17 am

No its not speculation. It's thinking.
sn0skier
 
Posts: 64
Joined: Fri Sep 24, 2010 8:40 pm

Postby GJ51 » Fri Nov 05, 2010 3:24 am

sn0skier wrote:No its not speculation. It's thinking.


Well, I guess we'll just wait until you think of the answer.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby sn0skier » Fri Nov 05, 2010 5:57 am

Or you could provide other ways/tests of finding out what the problem is. Assuming that we cross-tested servers on each other's phone's and the problem was shown to be on the phone, not the network, what would you suggest I do?
sn0skier
 
Posts: 64
Joined: Fri Sep 24, 2010 8:40 pm

Postby GJ51 » Fri Nov 05, 2010 6:35 am

As I've said, if we can narrow it down to the phone, we then need to get everyone having this issue to post the specific details of their phone so we can look for a common denominator that may be the root cause.

As it stands now, most users with this issue don't even describe the phone they're on when they say they have a problem. It's really hard to suggest possible fixes when there are so few details to go on.

Phone make/model, carrier, OS + ver#, SD card capacity and freespace, and knowing if the phone is stock or rooted with a custom rom would all be helpful to know.

It would also help if the file types affected were listed. Does this happen with all file types? Are there any files that play without problems?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby simpdawg » Fri Nov 05, 2010 2:22 pm

GJ51 wrote:As I've said, if we can narrow it down to the phone, we then need to get everyone having this issue to post the specific details of their phone so we can look for a common denominator that may be the root cause.

As it stands now, most users with this issue don't even describe the phone they're on when they say they have a problem. It's really hard to suggest possible fixes when there are so few details to go on.

Phone make/model, carrier, OS + ver#, SD card capacity and freespace, and knowing if the phone is stock or rooted with a custom rom would all be helpful to know.

It would also help if the file types affected were listed. Does this happen with all file types? Are there any files that play without problems?

Gary, are you involved with the project?
simpdawg
 
Posts: 15
Joined: Fri Sep 10, 2010 4:00 pm

Postby hyatari » Sat Nov 06, 2010 1:01 am

If u are using a droid 2, rooted and having skipping issues id recommend trying squidlys rom. He must have done something with stagefright/opencore or some kind of audio tweaks cause the problem has vanished for me. It also fixed lastfm stuttering while scrolling thru anything with a big list on my phone. I asked him what he tweaked and waiting for a response. Anyhow I installed this one here : http://www.droidforums.net/forum/droid- ... lblur.html

He has a different version here as well : http://www.droidforums.net/forum/droid- ... icial.html
hyatari
 
Posts: 53
Joined: Thu Jan 28, 2010 11:56 pm

Postby GJ51 » Sat Nov 06, 2010 9:14 am

hyatari wrote:If u are using a droid 2, rooted and having skipping issues id recommend trying squidlys rom. He must have done something with stagefright/opencore or some kind of audio tweaks cause the problem has vanished for me. It also fixed lastfm stuttering while scrolling thru anything with a big list on my phone. I asked him what he tweaked and waiting for a response. Anyhow I installed this one here : http://www.droidforums.net/forum/droid- ... lblur.html

He has a different version here as well : http://www.droidforums.net/forum/droid- ... icial.html


I think you're on the right track. Most of the phones affected are in the Droid series.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby hyatari » Sat Nov 06, 2010 8:03 pm

After some more testing I have to say the issue is mainly and most likely due to the use of opencore instead of stagefright by motorola. Using stagefright I haven't had an issue since on droid 2. Sindre could possibly look into getting it to work better with opencore but in the meantime the only options are to root your phone I believe. Either install the rom I mentioned previously or another option is to install jrummys droid X/2 overclock from the market as it has options to enable/disable stagefright if u don't want to install a rom.

Edit: if you do use jrummys app to enable stagefright you must reboot before the changes take effect.
hyatari
 
Posts: 53
Joined: Thu Jan 28, 2010 11:56 pm

Postby GJ51 » Sun Nov 07, 2010 7:08 pm

I recently tested a site where the user was having similar problems. It turns out that his site just wasn't able to send the data out fast enough. The player was playing the tracks at a faster rate than the que was being downloded, so the player would just repeat the previous track until the next track downloded. I'm sure this isn't everyones problem, but it should be looked at if your having similar issues.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby deftdrummer » Mon Nov 22, 2010 1:54 am

I just wanted to chime in as well. I am a bit confused about where and how to implement the lame -S -h --resample 44.1 -b %b %s - code, but it sounds like that could very well be causing the problem for me. I am running a rooted Motorola Droid X with Froyo 2.2, no custom roms.

On the other hand, this phone has been skipping and having problems for months now, and long before I rooted my phone. Most of my music is located in my itunes folder on a 20" aluminum iMac. It has 4GB of RAM and a 2.4Ghz processor. The source files in question are MP3 and encoded at no less than 192VBR.

I am on Comcast's 16 Meg connection with about 6MB upload speed I believe. Connection issues shouldn't be a problem.

I have the skipping problem on both 3G (Verizon) and also strong wifi connections. I am almost certain it is an encoding issue.

I have been experiencing this for some time too, and am considering abandoning Subsonic for this one reason. I also signed up for Rdio app, and was thinking about Audiogalaxy because SS is in serious need of a major UI overhaul in conjunction with its bugs.

Don't mean to be a downer but it just doesn't look like this problem will ever be resolved.
deftdrummer
 
Posts: 18
Joined: Thu May 27, 2010 7:45 pm

Postby seanpkeown » Mon Nov 22, 2010 2:28 am

Under Settings > Advanced

Then Downsample Command
Code: Select all
lame -S -h --resample 44.1 -b %b --tt %t --ta %a --tl %l %s -


Then under Settings > Transcoding

Works for Flac, wma, m4a , aac ,ape ,mpc, mv, shn > mp3

Step 1
Code: Select all
ffmpeg -i %s -f wav -

Step 2
Code: Select all
lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -



wav > mp3
Step 1
Code: Select all
lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 %s -



Enjoy
~ Sean K
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

re

Postby pcs800 » Mon Nov 22, 2010 4:30 am

Yep, with the android client I get skipping, lag even when connected via wifi, and many songs download completely but when played they zip right through the song in like 1 second and say it's not playable. Have checked the properties of the mp3's and they are the same as ones that do play.
pcs800
 
Posts: 123
Joined: Wed Oct 14, 2009 12:44 pm

Postby parlance » Tue Nov 23, 2010 6:59 am

This is happening to me as well:

Android 2.1
Samsung Galaxy S
Latest SubSonic App version
Latest Subsonic server version (Windows)
No transcoding enabled, no bit-rate throttling enabled on server or client
No down-sampling enabled

Skips about 10 seconds into the song which is about 80kb worth of actual data, the progress indicates by this point it has downloaded over 500kb generally, so it has nothing at all to do with data not having been received.

Is the data received from the buffer actually released from memory when it is written to the disk when caching is enabled? This might mean that even though it has the data downloaded, it has to actually read it back from the disk as you listen to it which could cause these problems.

The more I think about it the more I think this IS probably what is happening because the actual buffer that is used for playback is probably PCM which means for memory sake on mobile devices it is probably kept fairly small and can't be long enough to store the entire decoded file as that would take more memory is available on most platforms, so they probably have a system that has a downloading / writing to disk / reading to disk buffer which is in the format you are streaming, and a seperate waiting to playback buffer in PCM format, and there is a problem with buffer sizes there because it can't get data from the disk, decode it, and into the playback buffer fast enough. The fact that it occurs at 10 seconds is probably because the size of the PCM buffer is about 10 seconds.
parlance
 
Posts: 6
Joined: Tue Nov 23, 2010 6:40 am

Postby seanpkeown » Wed Nov 24, 2010 3:14 am

parlance wrote:
Skips about 10 seconds into the song which is about 80kb worth of actual data, the progress indicates by this point it has downloaded over 500kb generally, so it has nothing at all to do with data not having been received.



Mine does the exact same. It happens 90% of the time at 10 seconds and then starts to buffer even if i have over 1Mb downloaded already. It's kind of strange.
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests