From 1d192e35e158d3de7f86753a727753871845624d Mon Sep 17 00:00:00 2001 From: Chneemann Date: Sat, 17 Aug 2024 18:54:24 +0200 Subject: [PATCH] update ffmpeg path --- backend/videoflix/content/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/videoflix/content/tasks.py b/backend/videoflix/content/tasks.py index abf751c..c1909f4 100644 --- a/backend/videoflix/content/tasks.py +++ b/backend/videoflix/content/tasks.py @@ -13,7 +13,8 @@ def convert_video_to_hls(source, resolution, model_id): base_filename = os.path.basename(source).split(".")[0] target = os.path.join(target_dir, f'{base_filename}_{resolution}p') - ffmpeg_path = '/opt/homebrew/bin/ffmpeg' + #ffmpeg_path = '/opt/homebrew/bin/ffmpeg' + ffmpeg_path = '/usr/bin/ffmpeg' cmd = [ ffmpeg_path, '-i', source,