mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
expand on hardware decoding options
This commit is contained in:
@@ -13,9 +13,10 @@ namespace MediaBrowser.Model.Configuration
|
||||
public string VaapiDevice { get; set; }
|
||||
public int H264Crf { get; set; }
|
||||
public string H264Preset { get; set; }
|
||||
public bool EnableHardwareDecoding { get; set; }
|
||||
public bool EnableHardwareEncoding { get; set; }
|
||||
|
||||
public string[] HardwareDecodingCodecs { get; set; }
|
||||
|
||||
public EncodingOptions()
|
||||
{
|
||||
DownMixAudioBoost = 2;
|
||||
@@ -24,8 +25,9 @@ namespace MediaBrowser.Model.Configuration
|
||||
EncodingThreadCount = -1;
|
||||
VaapiDevice = "/dev/dri/card0";
|
||||
H264Crf = 23;
|
||||
EnableHardwareDecoding = true;
|
||||
EnableHardwareEncoding = true;
|
||||
|
||||
HardwareDecodingCodecs = new string[] { "h264", "mpeg2video", "vc1" };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user