aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/initializers/checker-after-init.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts
index e542a5395..f0f16d9bd 100644
--- a/server/initializers/checker-after-init.ts
+++ b/server/initializers/checker-after-init.ts
@@ -78,10 +78,14 @@ async function applicationExist () {
78 78
79async function checkFFmpegVersion () { 79async function checkFFmpegVersion () {
80 const version = await getFFmpegVersion() 80 const version = await getFFmpegVersion()
81 const { major, minor } = parseSemVersion(version) 81 const { major, minor, patch } = parseSemVersion(version)
82 82
83 if (major < 4 || (major === 4 && minor < 1)) { 83 if (major < 4 || (major === 4 && minor < 1)) {
84 logger.warn('Your ffmpeg version (%s) is outdated. PeerTube supports ffmpeg >= 4.1. Please upgrade.', version) 84 logger.warn('Your ffmpeg version (%s) is outdated. PeerTube supports ffmpeg >= 4.1. Please upgrade ffmpeg.', version)
85 }
86
87 if (major === 4 && minor === 4 && patch === 0) {
88 logger.warn('There is a bug in ffmpeg 4.4.0 with HLS videos. Please upgrade ffmpeg.')
85 } 89 }
86} 90}
87 91