Skip to content

Commit

Permalink
Prioritise qsv
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed Oct 2, 2023
1 parent bb27082 commit 4aa7f0c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions FlowPlugins/FlowHelpers/1.0.0/hardwareUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@ var getEncoder = function (_a) {
outputArgs: [],
filter: '',
},
{
encoder: 'hevc_qsv',
enabled: false,
inputArgs: [
'-hwaccel',
'qsv',
],
outputArgs: [],
filter: '',
},
{
encoder: 'hevc_vaapi',
inputArgs: [
Expand All @@ -201,16 +211,6 @@ var getEncoder = function (_a) {
enabled: false,
filter: '-vf format=nv12,hwupload',
},
{
encoder: 'hevc_qsv',
enabled: false,
inputArgs: [
'-hwaccel',
'qsv',
],
outputArgs: [],
filter: '',
},
{
encoder: 'hevc_videotoolbox',
enabled: false,
Expand Down Expand Up @@ -275,14 +275,14 @@ var getEncoder = function (_a) {
filter: '',
},
{
encoder: 'av1_vaapi',
encoder: 'av1_qsv',
enabled: false,
inputArgs: [],
outputArgs: [],
filter: '',
},
{
encoder: 'av1_qsv',
encoder: 'av1_vaapi',
enabled: false,
inputArgs: [],
outputArgs: [],
Expand Down
24 changes: 12 additions & 12 deletions FlowPluginsTs/FlowHelpers/1.0.0/hardwareUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,16 @@ export const getEncoder = async ({
outputArgs: [],
filter: '',
},
{
encoder: 'hevc_qsv',
enabled: false,
inputArgs: [
'-hwaccel',
'qsv',
],
outputArgs: [],
filter: '',
},
{
encoder: 'hevc_vaapi',
inputArgs: [
Expand All @@ -175,16 +185,6 @@ export const getEncoder = async ({
enabled: false,
filter: '-vf format=nv12,hwupload',
},
{
encoder: 'hevc_qsv',
enabled: false,
inputArgs: [
'-hwaccel',
'qsv',
],
outputArgs: [],
filter: '',
},
{
encoder: 'hevc_videotoolbox',
enabled: false,
Expand Down Expand Up @@ -251,14 +251,14 @@ export const getEncoder = async ({
filter: '',
},
{
encoder: 'av1_vaapi',
encoder: 'av1_qsv',
enabled: false,
inputArgs: [],
outputArgs: [],
filter: '',
},
{
encoder: 'av1_qsv',
encoder: 'av1_vaapi',
enabled: false,
inputArgs: [],
outputArgs: [],
Expand Down

0 comments on commit 4aa7f0c

Please sign in to comment.