]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/print-transcode-command.ts
Faster ci using compiled ts files
[github/Chocobozzz/PeerTube.git] / scripts / print-transcode-command.ts
index f3b169b32e95c85f078bbe4a478d26d9e4952bde..00ac9ab6cb85d2bea8890c7b3587e8bde2105435 100644 (file)
@@ -5,7 +5,7 @@ import * as program from 'commander'
 import * as ffmpeg from 'fluent-ffmpeg'
 import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils'
 import { exit } from 'process'
-import { VideoTranscodingProfilesManager } from '@server/lib/video-transcoding-profiles'
+import { VideoTranscodingProfilesManager } from '@server/lib/transcoding/video-transcoding-profiles'
 
 program
   .arguments('<path>')
@@ -48,5 +48,5 @@ async function run (path: string, cmd: any) {
     exit()
   })
 
-  await runCommand(command)
+  await runCommand({ command })
 }