diff options
Diffstat (limited to 'scripts/print-transcode-command.ts')
-rw-r--r-- | scripts/print-transcode-command.ts | 4 |
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 | ||
4 | import * as program from 'commander' | 4 | import * as program from 'commander' |
5 | import * as ffmpeg from 'fluent-ffmpeg' | 5 | import * as ffmpeg from 'fluent-ffmpeg' |
6 | import { availableEncoders } from '@server/lib/video-transcoding-profiles' | ||
7 | import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils' | 6 | import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils' |
8 | import { exit } from 'process' | 7 | import { exit } from 'process' |
8 | import { VideoTranscodingProfilesManager } from '@server/lib/video-transcoding-profiles' | ||
9 | 9 | ||
10 | program | 10 | program |
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, |