aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-transcoding.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r--server/lib/video-transcoding.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts
index c4b3425d1..37a4f3019 100644
--- a/server/lib/video-transcoding.ts
+++ b/server/lib/video-transcoding.ts
@@ -42,7 +42,7 @@ async function optimizeOriginalVideofile (video: MVideoWithFile, inputVideoFile:
42 outputPath: videoTranscodedPath, 42 outputPath: videoTranscodedPath,
43 43
44 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), 44 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
45 profile: 'default', 45 profile: CONFIG.TRANSCODING.PROFILE,
46 46
47 resolution: inputVideoFile.resolution, 47 resolution: inputVideoFile.resolution,
48 48
@@ -96,7 +96,7 @@ async function transcodeNewWebTorrentResolution (video: MVideoWithFile, resoluti
96 outputPath: videoTranscodedPath, 96 outputPath: videoTranscodedPath,
97 97
98 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), 98 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
99 profile: 'default', 99 profile: CONFIG.TRANSCODING.PROFILE,
100 100
101 resolution, 101 resolution,
102 102
@@ -108,7 +108,7 @@ async function transcodeNewWebTorrentResolution (video: MVideoWithFile, resoluti
108 outputPath: videoTranscodedPath, 108 outputPath: videoTranscodedPath,
109 109
110 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), 110 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
111 profile: 'default', 111 profile: CONFIG.TRANSCODING.PROFILE,
112 112
113 resolution, 113 resolution,
114 isPortraitMode: isPortrait, 114 isPortraitMode: isPortrait,
@@ -143,7 +143,7 @@ async function mergeAudioVideofile (video: MVideoWithAllFiles, resolution: Video
143 outputPath: videoTranscodedPath, 143 outputPath: videoTranscodedPath,
144 144
145 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), 145 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
146 profile: 'default', 146 profile: CONFIG.TRANSCODING.PROFILE,
147 147
148 audioPath: audioInputPath, 148 audioPath: audioInputPath,
149 resolution, 149 resolution,
@@ -284,7 +284,7 @@ async function generateHlsPlaylistCommon (options: {
284 outputPath, 284 outputPath,
285 285
286 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), 286 availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
287 profile: 'default', 287 profile: CONFIG.TRANSCODING.PROFILE,
288 288
289 resolution, 289 resolution,
290 copyCodecs, 290 copyCodecs,