aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/print-transcode-command.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/print-transcode-command.ts b/scripts/print-transcode-command.ts
index b75b711a4..f3b169b32 100644
--- a/scripts/print-transcode-command.ts
+++ b/scripts/print-transcode-command.ts
@@ -3,9 +3,9 @@ registerTSPaths()
3 3
4import * as program from 'commander' 4import * as program from 'commander'
5import * as ffmpeg from 'fluent-ffmpeg' 5import * as ffmpeg from 'fluent-ffmpeg'
6import { availableEncoders } from '@server/lib/video-transcoding-profiles'
7import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils' 6import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils'
8import { exit } from 'process' 7import { exit } from 'process'
8import { VideoTranscodingProfilesManager } from '@server/lib/video-transcoding-profiles'
9 9
10program 10program
11 .arguments('<path>') 11 .arguments('<path>')
@@ -31,7 +31,7 @@ async function run (path: string, cmd: any) {
31 inputPath: path, 31 inputPath: path,
32 outputPath: '/dev/null', 32 outputPath: '/dev/null',
33 33
34 availableEncoders, 34 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
35 profile: 'default', 35 profile: 'default',
36 36
37 resolution: +cmd.resolution, 37 resolution: +cmd.resolution,