SHA256
Add Force Software Encoder Feature
This commit is contained in:
5 files changed
+33
-10
No files matched your search
@@ -68,6 +68,9 @@ namespace ADOFAIRenderer.Util.FFmpeg
|
||||
|
||||
/// <summary>GOP(Group of Pictures) 크기 (초). 키프레임 간격을 의미합니다.</summary>
|
||||
public double GopSize;
|
||||
|
||||
/// <summary>소프트웨어 CPU 인코더를 강제 사용할지 여부.</summary>
|
||||
public bool ForceSoftware;
|
||||
}
|
||||
|
||||
// ──────────────────────────────────────────────────────────────
|
||||
@@ -214,7 +217,7 @@ namespace ADOFAIRenderer.Util.FFmpeg
|
||||
/// </summary>
|
||||
private string[] GetEncoderCandidates()
|
||||
{
|
||||
return GPUUtil.GetPrioritizedEncoderCandidates(_settings.Codec).ToArray();
|
||||
return GPUUtil.GetPrioritizedEncoderCandidates(_settings.Codec, _settings.ForceSoftware).ToArray();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user