android player transcoding bitrate not working

Need help? Post your questions here.

Moderator: moderators

android player transcoding bitrate not working

Postby barrydocks » Sun Jun 19, 2011 7:41 pm

Firstly, thanks for a great bit of software!

I have subsonic set up on my ubuntu 10.04 server. It streams my flac library around the house and to my android phone running the subsonic app with no problems.

What i would like to do is to limit the bitrate for the mp3 transcoding to keep streaming via 3G reasonably fast. I have set a bit rate of 128Kbps in the player section of subsonic but this does not make any difference, furrhermore if I switch off the coverart it is still streamed to my android unit.

I can limit the bitrate on the handset via the app but I would like to force a maximim bitrate for all users connceting via the android (or iphone) app.

Any suggestions?[/list]
barrydocks
 
Posts: 9
Joined: Sat May 21, 2011 9:17 am

Postby barrydocks » Tue Jun 28, 2011 6:32 am

Bump?
barrydocks
 
Posts: 9
Joined: Sat May 21, 2011 9:17 am

Postby GJ51 » Tue Jun 28, 2011 12:10 pm

I transcode everything for the Android player to ogg format as it is an exceptional format for high quality at low bitrates.

http://forum.subsonic.org/forum/viewtop ... c&start=60

I use q2 which is 192kbps, you can try q1 to see how that works as well.

Here's my transcoding on my Windows server.

mp3 > ogg

ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -aq 2 -ac 2 -map_meta_data 0:0 -

flac > ogg

flac.exe --decode --stdout %s
oggenc2.exe -Q -q2 -s 1 -o - -

uncheck the transcoding as default then go to Settings/Players and select those striings for use with the Android player.
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 itsthesource » Tue Jun 28, 2011 1:48 pm

GJ51 wrote:I transcode everything for the Android player to ogg format as it is an exceptional format for high quality at low bitrates.

http://forum.subsonic.org/forum/viewtop ... c&start=60

I use q2 which is 192kbps, you can try q1 to see how that works as well.

Here's my transcoding on my Windows server.

mp3 > ogg

ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -aq 2 -ac 2 -map_meta_data 0:0 -

flac > ogg

flac.exe --decode --stdout %s
oggenc2.exe -Q -q2 -s 1 -o - -

uncheck the transcoding as default then go to Settings/Players and select those striings for use with the Android player.


I don't think this accounts for files that are of equal or lower bitrate than 192. It'll be necessary to check the incoming bitrate so you're not transcoding files at a higher bitrate than your source.

Now getting the bitrate is the challenge, I know it can be retrieved using a combination of grep & regular expressions, but that's not easy for novices or useful for windows users.
User avatar
itsthesource
 
Posts: 22
Joined: Thu Jan 06, 2011 2:30 am
Location: Richmond, VA

Postby yourlord » Tue Jun 28, 2011 8:28 pm

GJ51 wrote:I use q2 which is 192kbps, you can try q1 to see how that works as well.


q2 on most vorbis implementations is approximately 96Kbps.
You would need around q6 to get 192Kbps..

I'd bet you would have a hard time telling the difference between the 2 settings.

If I want really good quality, but storage or bandwidth is at a premium then I go q2. If I want pretty much indistinguishable from the original, while storage/bandwidth are still a concern then q5 or q6 would be my choice.

With storage and bandwidth hardly a concern and I just want to be efficient for efficiency's sake, then I use FLAC.
yourlord
 
Posts: 29
Joined: Fri Apr 29, 2011 1:05 am

Postby GJ51 » Tue Jun 28, 2011 9:11 pm

Thanks for the correct info bro. Someone one the forums gave me that info. I guess i should look up the settings for myself as I think I could get by fine at a little bit higher, but even at q2 it sounds very good. :)

EDIT:

For now, quality 0 is roughly equivalent to 64kbps average, 5 is roughly 160kbps, and 10 gives about 400kbps. Most people seeking very-near-CD-quality audio encode at a quality of 5 or, for lossless stereo coupling, 6. The default setting is quality 3, which at approximately 110kbps gives a smaller filesize and significantly better fidelity than .mp3 compression at 128kbps.
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

Re: android player transcoding bitrate not working

Postby barrydocks » Sun Aug 21, 2011 12:32 pm

Thanks for the replies but this still does not solve the problem of limiting setting the bit rate and cover art per player.

Any other suggestions?
Thanks
barrydocks
 
Posts: 9
Joined: Sat May 21, 2011 9:17 am


Return to Help

Who is online

Users browsing this forum: No registered users and 14 guests