Add "Intel Quick Sync" for "video burn in" - thx ghostminhtoan :)

Fix #8814
Added "h264_qsv" + "hevc_qsv" video encoders
This commit is contained in:
Nikolaj Olsson 2024-09-11 07:09:51 +02:00
parent 8d23d40fad
commit 5bc1e56f75
2 changed files with 11 additions and 2 deletions

View File

@ -1083,7 +1083,9 @@ namespace Nikse.SubtitleEdit.Forms
"hevc_nvenc",
"h264_amf",
"hevc_amf",
"prores_ks"});
"prores_ks",
"h264_qsv",
"hevc_qsv"});
this.comboBoxVideoEncoding.Location = new System.Drawing.Point(95, 49);
this.comboBoxVideoEncoding.MaxLength = 32767;
this.comboBoxVideoEncoding.Name = "comboBoxVideoEncoding";

View File

@ -1163,7 +1163,7 @@ namespace Nikse.SubtitleEdit.Forms
audioCutTracks);
}
private string GetPixelFormat(string text)
private static string GetPixelFormat(string text)
{
if (string.IsNullOrEmpty(text))
{
@ -1522,6 +1522,13 @@ namespace Nikse.SubtitleEdit.Forms
comboBoxTune.Visible = false;
comboBoxTune.Text = string.Empty;
}
else if (videoCodec == "h264_qsv" || videoCodec == "hevc_qsv") // Intel
{
items = new List<string> { string.Empty };
labelTune.Visible = false;
comboBoxTune.Visible = false;
comboBoxTune.Text = string.Empty;
}
comboBoxTune.Items.Clear();
foreach (var item in items)