Android App doesn't downsample?

Need help? Post your questions here.

Moderator: moderators

Android App doesn't downsample?

Postby pha9992001 » Thu Mar 17, 2011 6:06 am

I recently noticed that the Android App doesn't downsample. I set a user to a max bitrate and I also set the user's Android player to a max bitrate. The settings don't seem to make a difference. I check the log and the downsample settings don't seem to make a difference. Am I missing something?
pha9992001
 
Posts: 41
Joined: Sat Mar 07, 2009 12:11 am

Postby pha9992001 » Thu Mar 17, 2011 1:36 pm

Oh, just to add to the original post, I know there is a setting in the Android app itself (for both wifi and mobile), but I would like to dictate this on the server side instead. This way the server can control the bandwidth being used instead of the users.

thanks.
pha9992001
 
Posts: 41
Joined: Sat Mar 07, 2009 12:11 am

Postby GJ51 » Thu Mar 17, 2011 4:31 pm

Settings/Advanced

%b

Read the ? balloon.
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 pha9992001 » Thu Mar 17, 2011 5:16 pm

GJ51 wrote:Settings/Advanced

%b

Read the ? balloon.


I've checked into that, I have:

lame -S -h --resample 44.1 -b %b --tt %t --ta %a --tl %l %s -

That should work, right? It works for everything but the Android app.

I have gone to the settings > users > select user and set a max bitrate.

I have also gone to the settings > players > select player and set a max bitrate.

Those settings do not seem to have an effect on the Android app. The only way I have been able to downsample is through the actual Android App settings. This is not optimal since I would like to control that from the server.
pha9992001
 
Posts: 41
Joined: Sat Mar 07, 2009 12:11 am

Postby GJ51 » Thu Mar 17, 2011 5:39 pm

I'm not an expert at this stuff, but I believe that you have to input a value for the %b parameter. You'd have to google the ffmpeg docs to determine the appropriate settings.

Stozher is the expert on this sort of thing, but I haven't seen him active on the board for the last few weeks.
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 pha9992001 » Tue Mar 22, 2011 3:02 am

I think the % in front of the b represents a variable, which the transcoder replaces with the appropriate value based on the user/player setting.
pha9992001
 
Posts: 41
Joined: Sat Mar 07, 2009 12:11 am

Postby niplfsh » Fri Apr 08, 2011 3:37 am

Hey, sorry to necro this thread but I came across it in search and it's the exact problem I'm having. When I stream to my laptop it downsamples to 96kbps as expected, but with the Android app it only downsamples when the bitrate is specifically set in the Android app settings. This is only for mp3s... it works fine when converting from FLAC.

If I set the Android bitrate to "unlimited" it simply plays back the files unaltered and lame.exe does not run, even though it's set to 96kbps in the server's settings.

This isn't really a huge problem for me as I can just manually set it on my phone, but it becomes a problem if I want to give access to my server to any of my friends.
niplfsh
 
Posts: 1
Joined: Fri Apr 08, 2011 3:30 am

Postby kayvee » Tue Aug 02, 2011 7:36 pm

Does anyone know how to fix this issue? I am having the same problem. I have enabled 'Max bitrate' setting for a user. This max bitrate seems to be working when the user is playing music from the web interface. However, when the user uses the Android app, the tracks don't appear to be resampled. I know this can be enabled in the Android app itself, but I would prefer if this can be controlled from the server.
kayvee
 
Posts: 51
Joined: Fri Apr 10, 2009 7:26 pm

Postby tgrhp » Tue Aug 02, 2011 10:46 pm

If you want to have a constant bitrate you can just replace all of the %b with the bitrate you want.

there is a setting for bitrate in settings -> players, but I havent experimented with it. Is this what you are trying to enforce?

There is a downsample command in settings -> advanced which looks like it is run for downsampling mp3s. Other file types must be set in settings -> transcoding.
tgrhp
 
Posts: 16
Joined: Wed Jul 13, 2011 3:54 pm

Postby kayvee » Tue Aug 02, 2011 11:03 pm

I only have mp3 files. So Settings > Transcoding is of not applicable
In Settings > Advanced I have the downsampling enabled
In Settings > Users, I enabled a Max Bitrate for a particular user
When this user uses the web player, all tracks are downsampled to the set Max Bitrate. However when this user uses android app, the tracks are not downsampled.

I have not experimented with Settings > Players yet. Since the android app has a separate player, I will enable a Max Bitrate for this player and see if it works.

UPDATE: I just tried the Settings > Players method using iSub for iPhone. It does not work. Although I specify a Max Bitrate for the iSub player in Settings > Players, it is not honored.
kayvee
 
Posts: 51
Joined: Fri Apr 10, 2009 7:26 pm

Postby tgrhp » Wed Aug 03, 2011 4:11 pm

if you want to force transcoding you can add a mp3 > mp3 transcode in settings > transcoding. Then you can enforce a constant bitrate. However, since its transcoded, you will no longer be able to seek.

If you want to make the settings in settings > advanced or settings > users you might have to alter code.
tgrhp
 
Posts: 16
Joined: Wed Jul 13, 2011 3:54 pm

Postby kayvee » Wed Aug 03, 2011 11:26 pm

tgrhp wrote:if you want to force transcoding you can add a mp3 > mp3 transcode in settings > transcoding. Then you can enforce a constant bitrate. However, since its transcoded, you will no longer be able to seek.

If you want to make the settings in settings > advanced or settings > users you might have to alter code.


That's odd. Because transcoding seems to work just fine when the user goes to the website. It is only when the user is using a mobile phone app. I wonder if this happens when the user is using SubAir also... Wouldn't this be considered a bug then? If not, what does the 'Max Bitrate' option mean in the screenshot here: http://flic.kr/p/a9PqsQ
kayvee
 
Posts: 51
Joined: Fri Apr 10, 2009 7:26 pm

Postby tgrhp » Thu Aug 04, 2011 9:28 pm

I don't know but there was another thread where someone was also complaining about this, and that the bitrate limits work in the earlier versions. This settings may be obsolete for the android app.

here is the thread:
http://forum.subsonic.org/forum/viewtopic.php?t=7330
tgrhp
 
Posts: 16
Joined: Wed Jul 13, 2011 3:54 pm

Postby kayvee » Fri Aug 05, 2011 4:57 am



I don't think that thread is referring to a mobile phone app though, is it? In my case, the Max bitrate setting is honored when the web-based player is used. It is not honored only when I access the collection using either the android or iPhone apps. I wonder what happens with the WP7 app...
kayvee
 
Posts: 51
Joined: Fri Apr 10, 2009 7:26 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests