mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
add configurable encoding params
This commit is contained in:
parent
daeedb98ea
commit
9c7eef891b
6 changed files with 46 additions and 6 deletions
|
|
@ -11,6 +11,8 @@ namespace MediaBrowser.Model.Configuration
|
|||
public string HardwareAccelerationType { get; set; }
|
||||
public string EncoderAppPath { get; set; }
|
||||
public string VaapiDevice { get; set; }
|
||||
public int H264Crf { get; set; }
|
||||
public string H264Preset { get; set; }
|
||||
|
||||
public EncodingOptions()
|
||||
{
|
||||
|
|
@ -19,6 +21,8 @@ namespace MediaBrowser.Model.Configuration
|
|||
ThrottleDelaySeconds = 180;
|
||||
EncodingThreadCount = -1;
|
||||
VaapiDevice = "/dev/dri/card0";
|
||||
H264Crf = 23;
|
||||
H264Preset = "superfast";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue