add configurable encoding params

This commit is contained in:
Luke Pulverenti
2016-09-04 11:01:31 -04:00
parent daeedb98ea
commit 9c7eef891b
6 changed files with 46 additions and 6 deletions

View File

@@ -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";
}
}
}