mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -07:00
Add hardwareType option
This commit is contained in:
parent
4aa7f0cee1
commit
c7349c1c28
8 changed files with 81 additions and 16 deletions
|
|
@ -44,6 +44,7 @@ var run = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|||
case 0: return [4 /*yield*/, (0, hardwareUtils_1.getEncoder)({
|
||||
targetCodec: 'h264',
|
||||
hardwareEncoding: true,
|
||||
hardwareType: 'auto',
|
||||
// @ts-expect-error type
|
||||
args: {
|
||||
workerType: 'transcodegpu',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue