diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-14 13:55:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-14 14:06:34 +0100 |
commit | 20321f2049f46a7bfaadcc5da2f1eb53b9bb4d76 (patch) | |
tree | aa58dd778335149ee64e3971dec190c1bb337229 /server/lib | |
parent | 98bd5e2256bfdeba6d5ab07f0421acfde1a0de26 (diff) | |
download | PeerTube-20321f2049f46a7bfaadcc5da2f1eb53b9bb4d76.tar.gz PeerTube-20321f2049f46a7bfaadcc5da2f1eb53b9bb4d76.tar.zst PeerTube-20321f2049f46a7bfaadcc5da2f1eb53b9bb4d76.zip |
Reencode the video on cut
Unfortunately copying audio/video is not precise enough and could lead
to inconsistencies
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/job-queue/handlers/video-studio-edition.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-studio-edition.ts b/server/lib/job-queue/handlers/video-studio-edition.ts index 23f9a34cc..3e208d83d 100644 --- a/server/lib/job-queue/handlers/video-studio-edition.ts +++ b/server/lib/job-queue/handlers/video-studio-edition.ts | |||
@@ -164,7 +164,10 @@ function processCut (options: TaskProcessorOptions<VideoStudioTaskCutPayload>) { | |||
164 | ...pick(options, [ 'inputPath', 'outputPath' ]), | 164 | ...pick(options, [ 'inputPath', 'outputPath' ]), |
165 | 165 | ||
166 | start: task.options.start, | 166 | start: task.options.start, |
167 | end: task.options.end | 167 | end: task.options.end, |
168 | |||
169 | availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(), | ||
170 | profile: CONFIG.TRANSCODING.PROFILE | ||
168 | }) | 171 | }) |
169 | } | 172 | } |
170 | 173 | ||