Compare commits

..

2 Commits

Author SHA1 Message Date
970b58c2a4 0.1.7 2026-01-20 14:31:48 +03:00
17748d3900 fix: добавить поддержку auto для videotoolbox 2026-01-20 14:31:03 +03:00
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{ {
"name": "@gromlab/create-vod", "name": "@gromlab/create-vod",
"author": "Gromov Sergei", "author": "Gromov Sergei",
"version": "0.1.6", "version": "0.1.7",
"description": "DASH/HLS video converter with hardware acceleration (NVENC/QSV/AMF/VAAPI), thumbnails and poster generation", "description": "DASH/HLS video converter with hardware acceleration (NVENC/QSV/AMF/VAAPI), thumbnails and poster generation",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",

View File

@@ -462,7 +462,7 @@ function selectHardwareEncoders(
} { } {
const warnings: string[] = []; const warnings: string[] = [];
const supportedForAuto = new Set<HardwareAccelerator>(['nvenc', 'qsv', 'amf']); const supportedForAuto = new Set<HardwareAccelerator>(['nvenc', 'qsv', 'amf', 'vaapi', 'videotoolbox', 'v4l2']);
const relevant = available.filter(info => const relevant = available.filter(info =>
(needsH264 && info.h264Encoder) || (needsAV1 && info.av1Encoder) (needsH264 && info.h264Encoder) || (needsAV1 && info.av1Encoder)
); );