mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-19 22:15:58 +00:00
Continute work
This commit is contained in:
parent
2328ec59c9
commit
3514813eb4
9 changed files with 1686 additions and 186 deletions
|
|
@ -1263,6 +1263,17 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
return null;
|
||||
}
|
||||
|
||||
public int? GetAudioBitrateParam(int? audioBitRate, MediaStream audioStream)
|
||||
{
|
||||
if (audioBitRate.HasValue)
|
||||
{
|
||||
// Don't encode any higher than this
|
||||
return Math.Min(384000, audioBitRate.Value);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public string GetAudioFilterParam(EncodingJobInfo state, EncodingOptions encodingOptions, bool isHls)
|
||||
{
|
||||
var channels = state.OutputAudioChannels;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue