update ffmpeg path
This commit is contained in:
parent
9fe80394e6
commit
1d192e35e1
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue