max bitrate

Need help? Post your questions here.

Moderator: moderators

max bitrate

Postby Harani » Mon Jan 24, 2011 1:09 am

just set subsonic up on FreeNAS and an using an Android phone client.


obviously i want to reduce the bitrate to save my phone data plane but there's max bitrate settings in the client (for wifi and mobile), the player settings on the server and the users settings ?

which do i set ? one or all of them and if they are different what takes priority


Ideally i want three settings

local freenas - on my local LAN wifi i want max bitrate
3G freenas - remote usage over 3G. i want a low bitrate 64k
remote freenas - remote usage over a wifi hotspot 128K


cheers

Glen
Harani
 
Posts: 3
Joined: Sun Jan 23, 2011 12:24 pm

Postby stozher » Mon Jan 24, 2011 5:02 am

Settings / Users - max allowed bitrate for user. Don't use "No limit". No limit is a default for encoding program. For example: default for Lame is 128 kbps; default for FFmpeg is a 64 kbps. Check 320 kbps ...

Settings / Players - max bitrate for current player. One user allowed to use many players with different settings (for example: web, external, jukebox with different bitrate). Use "Clone player" to make another player for current user. If checked "No limit" - player use limit from user settings.
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Re: max bitrate

Postby Starfire » Tue Feb 21, 2012 11:08 pm

I'm having problems setting any kind of max bitrate. I have an android phone and am running FreeNAS 7.5.9898 with Subsonic 4.6. When I set any bitrate settings whether in the Settings/User or Settings/Player options, the android app looks like it attempts to download the song but it seems to stall out at 0 kbs. After a few seconds it displays the play button. In the playlist it shows an astrix next to the song as if it completed downloading it. In the subsonic file folder under the album name, a file has been created for the song(s) but the file size is 0. I hope this all makes sense. Any idea how to remedy this situation? I have an unlimited data plan for my phone however it still has a max speed and it's not required that I download a song in 320 kbs bitrate. It takes quite awhile for a song to buffer enough to where it's far enough ahead when I'm playing it and it doesn't have to pause in the middle.

Thanks for any assistance.
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby BKKKPewsey » Wed Feb 22, 2012 1:02 am

What happens when you play a song (or try to) on the demo sever?
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: max bitrate

Postby Starfire » Wed Feb 22, 2012 1:17 am

It downloads and plays it perfectly.

I believe my server will trasmit the file in the original bitrate (128, 196, 320, etc) but I think there might be a problem trascoding it to a lower bitrate. I'm using the orginal or recommended transcoding configuration.
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby Starfire » Wed Feb 29, 2012 9:02 pm

Bump. Anyone have any ideas why I can only play files in their original bitrate and SS won't transcode them to a lower bitrate for mobile devices?
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby BKKKPewsey » Wed Feb 29, 2012 9:26 pm

Play a 320K encoded mp3 in the web player but set the player max bit rate to 128K
Then post the log here (assuming that it won't play).
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: max bitrate

Postby Starfire » Wed Feb 29, 2012 9:54 pm

OK... If I understood your instructions correctly under Players I set the Android player to use Web player and set the max bitrate to 128k.
The same thing as above happened. The Android phone starts to download the song but after a few seconds it stops downloading and acts like the song has downloaded completely however no data has been transfered (ie. the songs file size is 0).

This is the log from the time I started playing the song on my phone.

[2/29/12 9:22:58 PM GMT] INFO NetworkService Successfully forwarding port 4040.
[2/29/12 9:47:54 PM GMT] INFO PlaylistInputStream Android listening to "The Sign/03 Young and Proud.mp3"
[2/29/12 9:47:54 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [Young and Proud] [--ta] [Ace of Base] [--tl] [The Sign] [/mnt/RaidMe/Music/Ace of Base/The Sign/03 Young and Proud.mp3] [-]
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby BKKKPewsey » Wed Feb 29, 2012 10:15 pm

No I want to you play using a normal web client - keep the android device out of the frame.
Set the web player to max bitrate of 128k and play a higher bitrate track (make it down-sample)
If it doesn't play then post the log.
If it does then its the droid that has a problem - but I doubt that as it plays the demo server np.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: max bitrate

Postby Starfire » Thu Mar 01, 2012 4:20 pm

OK... did as instructed. SS is not transcoding songs to a lower bitrate even through the Webplayer. Here's the log.
Both songs are 320 kbps.


[3/1/12 4:17:00 PM GMT] INFO PlaylistInputStream admin listening to "21[Limited Edition][2010]/04 - Don't You Remember.mp3"
[3/1/12 4:17:00 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [Don't You Remember] [--ta] [Adele] [--tl] [21] [/mnt/RaidMe/Music/Adele/21[Limited Edition][2010]/04 - Don't You Remember.mp3] [-]
[3/1/12 4:17:01 PM GMT] DEBUG AudioScrobblerService Successfully registered now playing for song 'Don't You Remember' for user SpaceAvenger at Last.fm.
[3/1/12 4:17:01 PM GMT] DEBUG AudioScrobblerService Successfully registered submission for song 'Don't You Remember' for user SpaceAvenger at Last.fm.
[3/1/12 4:17:22 PM GMT] INFO PlaylistInputStream admin listening to "21[Limited Edition][2010]/08 - I'll Be Waiting.mp3"
[3/1/12 4:17:22 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [I'll Be Waiting] [--ta] [Adele] [--tl] [21] [/mnt/RaidMe/Music/Adele/21[Limited Edition][2010]/08 - I'll Be Waiting.mp3] [-]
[3/1/12 4:17:23 PM GMT] DEBUG AudioScrobblerService Successfully registered now playing for song 'I'll Be Waiting' for user SpaceAvenger at Last.fm.
[3/1/12 4:17:28 PM GMT] INFO PlaylistInputStream admin listening to "21[Limited Edition][2010]/08 - I'll Be Waiting.mp3"
[3/1/12 4:17:28 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [I'll Be Waiting] [--ta] [Adele] [--tl] [21] [/mnt/RaidMe/Music/Adele/21[Limited Edition][2010]/08 - I'll Be Waiting.mp3] [-]
[3/1/12 4:17:28 PM GMT] DEBUG AudioScrobblerService Successfully registered now playing for song 'I'll Be Waiting' for user SpaceAvenger at Last.fm.

The complete log is saved in /var/subsonic/subsonic.log.
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby Starfire » Sat Mar 03, 2012 6:18 pm

Bump - Just moving this to the top. Looking for help or suggestions as to why my SS on a FreeNAS system won't transcode mp3's to a lower bitrate for playback. TIA :)
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby BKKKPewsey » Sat Mar 03, 2012 9:03 pm

This appears to be an issue with the lame decoder on the OS :?
Try adding the Subwiji transcoding step
Code: Select all
ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -

This appears to make ffmpeg do the transcoding and may solve your problem.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Re: max bitrate

Postby paulodell » Sat Mar 03, 2012 9:23 pm

BKKKPewsey wrote:This appears to be an issue with the lame decoder on the OS :?
Try adding the Subwiji transcoding step
Code: Select all
ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -

This appears to make ffmpeg do the transcoding and may solve your problem.
:mrgreen:

Oh yes the beautiful force mp3 to mp3 failsafe encode :)
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: max bitrate

Postby Starfire » Sat Mar 03, 2012 9:44 pm

Nope...that didn't seem to work.

Here's the log

[3/3/12 9:41:55 PM GMT] INFO PlaylistInputStream admin listening to "21[Limited Edition][2010]/06 - He Won't Go.mp3"
[3/3/12 9:41:55 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [He Won't Go] [--ta] [Adele] [--tl] [21] [/mnt/RaidMe/Music/Adele/21[Limited Edition][2010]/06 - He Won't Go.mp3] [-]
Starfire
 
Posts: 12
Joined: Wed Jan 04, 2012 3:04 pm

Re: max bitrate

Postby BKKKPewsey » Sat Mar 03, 2012 10:17 pm

Whoops forgot to add 1 step disable the normal (default) audio transcode step 1st (un-tick that option in player)
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests