* Move back to ffmpeg 6

* Use ffmpeg 6
This commit is contained in:
Nicolas Mowen
2024-09-15 11:42:52 -06:00
committed by GitHub
parent fc145016ea
commit 0c86c77d42
4 changed files with 18 additions and 18 deletions

View File

@@ -110,11 +110,11 @@ else:
path = config.get("ffmpeg", {}).get("path", "default")
if path == "default":
if shutil.which("ffmpeg") is None:
ffmpeg_path = "/usr/lib/ffmpeg/7.0/bin/ffmpeg"
ffmpeg_path = "/usr/lib/ffmpeg/6.0/bin/ffmpeg"
else:
ffmpeg_path = "ffmpeg"
elif path == "7.0":
ffmpeg_path = "/usr/lib/ffmpeg/7.0/bin/ffmpeg"
elif path == "6.0":
ffmpeg_path = "/usr/lib/ffmpeg/6.0/bin/ffmpeg"
elif path == "5.0":
ffmpeg_path = "/usr/lib/ffmpeg/5.0/bin/ffmpeg"
else: