mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Add "Intel Quick Sync" for "video burn in" - thx ghostminhtoan :)
Fix #8814 Added "h264_qsv" + "hevc_qsv" video encoders
This commit is contained in:
parent
8d23d40fad
commit
5bc1e56f75
@ -1083,7 +1083,9 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
"hevc_nvenc",
|
"hevc_nvenc",
|
||||||
"h264_amf",
|
"h264_amf",
|
||||||
"hevc_amf",
|
"hevc_amf",
|
||||||
"prores_ks"});
|
"prores_ks",
|
||||||
|
"h264_qsv",
|
||||||
|
"hevc_qsv"});
|
||||||
this.comboBoxVideoEncoding.Location = new System.Drawing.Point(95, 49);
|
this.comboBoxVideoEncoding.Location = new System.Drawing.Point(95, 49);
|
||||||
this.comboBoxVideoEncoding.MaxLength = 32767;
|
this.comboBoxVideoEncoding.MaxLength = 32767;
|
||||||
this.comboBoxVideoEncoding.Name = "comboBoxVideoEncoding";
|
this.comboBoxVideoEncoding.Name = "comboBoxVideoEncoding";
|
||||||
|
@ -1163,7 +1163,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
audioCutTracks);
|
audioCutTracks);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetPixelFormat(string text)
|
private static string GetPixelFormat(string text)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(text))
|
if (string.IsNullOrEmpty(text))
|
||||||
{
|
{
|
||||||
@ -1522,6 +1522,13 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
comboBoxTune.Visible = false;
|
comboBoxTune.Visible = false;
|
||||||
comboBoxTune.Text = string.Empty;
|
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();
|
comboBoxTune.Items.Clear();
|
||||||
foreach (var item in items)
|
foreach (var item in items)
|
||||||
|
Loading…
Reference in New Issue
Block a user