aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/print-transcode-command.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-05 10:36:19 +0200
committerChocobozzz <me@florianbigard.com>2022-08-09 09:18:07 +0200
commit84cae54e7a2595bea0c3ea106a4d111fd11a4ec6 (patch)
tree03fe73edf049ce60df6bbc34dcfb2031c07ea59c /scripts/print-transcode-command.ts
parent7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 (diff)
downloadPeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.tar.gz
PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.tar.zst
PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.zip
Add option to not transcode original resolution
Diffstat (limited to 'scripts/print-transcode-command.ts')
-rw-r--r--scripts/print-transcode-command.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/print-transcode-command.ts b/scripts/print-transcode-command.ts
index ef671c0aa..ac60ff8a5 100644
--- a/scripts/print-transcode-command.ts
+++ b/scripts/print-transcode-command.ts
@@ -31,8 +31,7 @@ async function run (path: string, cmd: any) {
31 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), 31 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
32 profile: 'default', 32 profile: 'default',
33 33
34 resolution: +cmd.resolution, 34 resolution: +cmd.resolution
35 isPortraitMode: false
36 } as TranscodeVODOptions 35 } as TranscodeVODOptions
37 36
38 let command = ffmpeg(options.inputPath) 37 let command = ffmpeg(options.inputPath)