Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Don't quick transcode if using a custom profile

Chocobozzzffd970faf9c6
diff --git a/server/helpers/ffprobe-utils.ts b/server/helpers/ffprobe-utils.ts
index adb459ed39..5b1ad9066b 100644
--- a/server/helpers/ffprobe-utils.ts
+++ b/server/helpers/ffprobe-utils.ts
@@ -202,6 +202,8 @@ function computeResolutionsToTranscode (videoFileResolution: number, type: 'vod'
}
async function canDoQuickTranscode (path: string): Promise<boolean> {
+ if (CONFIG.TRANSCODING.PROFILE !== 'default') return false
+
const probe = await ffprobePromise(path)
return await canDoQuickVideoTranscode(path, probe) &&