add minrate/maxrate

This commit is contained in:
Luke Pulverenti 2013-08-29 23:49:10 -04:00
parent bbec002350
commit 4f3b4b47d2

View File

@ -193,7 +193,7 @@ namespace MediaBrowser.Api.Playback.Hls
if (bitrate.HasValue)
{
args += string.Format(" -b:v {0}", bitrate.Value.ToString(UsCulture));
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/3)*2", bitrate.Value.ToString(UsCulture));
}
// Add resolution params, if specified