Specify Max Video Bitrate

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Specify Max Video Bitrate

Postby kapz » Mon Jan 10, 2011 7:48 pm

Video support is great, as with most people, upload speeds are the main bottleneck. When starting a video the default bitrate is 1000Kb/s. Movies still look great at 400Kb/s for me.

I'd like to request a setting to set the default (which would also be the max that can be selected) video bit-rate.

In the mean time I can just hard code my value in the trancode string.
Paid Subsonic user
----
Love my unRaid (~9.5TB): [url=http://lime-technology.com/forum/index.php?topic=2031.msg40351#msg40351]Pictures Here (Reply #82)[/url]
User avatar
kapz
 
Posts: 124
Joined: Wed Jun 21, 2006 7:23 pm

Postby Concept211 » Tue Jan 11, 2011 1:51 pm

I second the request. It's kind of a pain to have to switch the bitrate for ever video you click on.

On a desktop, 500kb/s is fine for me with hardly any buffering at all, but on my Android phone 500kb/s is still too much. Would need defaults for even lower bitrates.

Thanks Sindre! Will be sending my donation soon! And thanks for continuing to use the logo I designed for you everywhere...it's so cool to see it on my phone, web, etc. :)
User avatar
Concept211
 
Posts: 77
Joined: Sat Jul 05, 2008 8:55 pm
Location: Orlando, FL

Postby InShaneee » Wed Jan 12, 2011 2:59 am

I would appreciate this as well. The ability to set hard bandwidth limits for music listening has already shown to be an excellent and much needed feature, so being able to do the same thing for the far more bandwidth-hungry video streams would be a lifesaver.
InShaneee
 
Posts: 13
Joined: Wed Dec 01, 2010 7:53 am

Postby rehatiel » Fri Jan 14, 2011 7:57 pm

I would also like to request this.
rehatiel
 
Posts: 2
Joined: Wed Jul 28, 2010 2:24 am

Postby dstauth » Fri Mar 11, 2011 7:31 pm

Add another to this request. I immediately switch it to 500 for each video. If I can set that as the default, that would be awesome!
dstauth
 
Posts: 3
Joined: Thu Mar 10, 2011 5:24 pm

Postby kapz » Fri Mar 11, 2011 8:49 pm

You can set the %bk tag in the transcoding line for ffmpeg to 500000 and that will force all video to 500 kB/s
Paid Subsonic user
----
Love my unRaid (~9.5TB): [url=http://lime-technology.com/forum/index.php?topic=2031.msg40351#msg40351]Pictures Here (Reply #82)[/url]
User avatar
kapz
 
Posts: 124
Joined: Wed Jun 21, 2006 7:23 pm

Postby mrpink84 » Fri Mar 11, 2011 11:53 pm

great tip kapz thanks but it doesn't seem to stick when I mess with the dropdown, even though it seems like removing the %bk tag should completely void that dropdown. Can anybody shine more light on this?

Weird it is sticking but changing the dropdown seems to modify the picture slightly. When I set %bk to 50kbps it looked horrible but there seemed to be minor improvements if I set the drop down to 2000.
mrpink84
 
Posts: 5
Joined: Thu Mar 10, 2011 1:56 am

Postby squipple » Wed Mar 30, 2011 6:43 pm

I'd also like to vote for this feature. The ability to set a default video bitrate.
squipple
 
Posts: 44
Joined: Tue Jan 13, 2009 5:02 am

Re: Specify Max Video Bitrate

Postby compcentral » Tue Dec 20, 2011 7:52 pm

I would also like you to add this feature. In the mean time, I may take a look at the code and see if I can add the feature myself. If successful, I'll post it here.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Re: Specify Max Video Bitrate

Postby eblade » Wed Dec 21, 2011 6:12 pm

+1. You can specify a maximum bit-rate per user, but that goes to both the video and audio command lines. I have a low-bandwidth user account setup (I hope to give my player an option to specify a user-agent with low-bandwidth, so it can be defined on a per player instance rather than a per-user instance, but w/e), but with audio set to 64kbps, it also drops the video to that rate, which is unacceptably low. I'd like a "max video" and "max audio" bit rate selection per user/per player.
eblade
 
Posts: 66
Joined: Wed Nov 30, 2011 9:01 pm

Re: Specify Max Video Bitrate

Postby JBDive » Sat Mar 24, 2012 12:52 am

I set the Transcoding to %b500000 instead of %bk which should perform well for most output however I will agree some tweak to the drop down would be nice since on my Tablet I have been dropping to 300 at times as the wifi starts buffering sometimes depending on where I am in the house or how busy our network is.

On a side note and the reason I found this thread was on my wife's MacBook there is no option to open in new window or a bit rate drop down with Safari. Not sure if this is a formatting problem or scripting in Safari browser. I loved how my Subsonic looked on her Mac vs. my PC's or tablet. Both the site, menus and video playback looked much better it seemed.
JBDive
 
Posts: 23
Joined: Thu Oct 08, 2009 4:04 am

Re: Specify Max Video Bitrate

Postby swocoom » Tue Mar 27, 2012 3:09 pm

If you are any good with modifying the source code, its in the VideoPlayerController.java file. You can modifiy the default bit rate to whatever you want, and you can also take away options from the menu that tax your server too much. Or, you can PM me and I can send you a modified class file with instructions. The one I am currently using is for version 4.5. Not sure if it would work with 4.6. I have set my default bitrate to 500 and removed anything above 700.
swocoom
 
Posts: 11
Joined: Wed May 19, 2010 2:52 pm

Re: Specify Max Video Bitrate

Postby Drashna » Wed Aug 01, 2012 5:36 am

Found a dead simple way to change the default bitrate. Open the "videoplayer.jsp" file in "WEB-INF\jsp" and find this line:
Code: Select all
        var maxBitRate = ${model.maxBitRate};
Should be line 21. Now, create a new line *before* that one, making sure it still exists. Now add the following on that new line:
Code: Select all
        var maxBitRate = 300;
Change the 300 to whichever you want, just make sure it matches an entry in the drop down list. The end result here should look something like this:
Code: Select all
        var maxBitRate = 300;
        var maxBitRate = ${model.maxBitRate};
Works on for me.
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: Specify Max Video Bitrate

Postby nutt318 » Wed Aug 01, 2012 2:25 pm

+1 - This would be a very nice feature.

@Drashna - I tried your suggestion but still getting the default of 1000kbps. I did stop and restart the service and it didnt seem to work. Any ideas?
nutt318
 
Posts: 54
Joined: Thu Dec 09, 2010 9:24 pm

Re: Specify Max Video Bitrate

Postby m0ore4ustin391 » Wed Aug 15, 2012 8:41 pm

nutt318 wrote:+1 - This would be a very nice feature.

@Drashna - I tried your suggestion but still getting the default of 1000kbps. I did stop and restart the service and it didnt seem to work. Any ideas?


I too have also tried this and it does not work. Anyone have an update solution for this (im using 4.6)?
m0ore4ustin391
 
Posts: 11
Joined: Tue Aug 14, 2012 10:05 pm

Next

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests