mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-25 12:13:00 +01:00
Add missing ffmpeg prebuild bin to setup for mac
This commit is contained in:
parent
6ea784ffed
commit
d76d782e72
@ -24,6 +24,7 @@ def download_and_extract(file_base_path, name):
|
||||
print("Delete tmp file: ", path_and_filename)
|
||||
os.remove(path_and_filename)
|
||||
|
||||
def download_prebuild_ffmpeg():
|
||||
ffmpeg_7zip_name = 'ffmpeg-4.4.zip'
|
||||
ffprobe_7zip_name = 'ffprobe-4.4.zip'
|
||||
current_path = os.path.join(os.path.abspath(os.getcwd()),"")
|
||||
@ -34,3 +35,8 @@ if not os.path.exists(extraction_path):
|
||||
|
||||
download_and_extract(current_path, ffmpeg_7zip_name)
|
||||
download_and_extract(current_path, ffprobe_7zip_name)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
download_prebuild_ffmpeg()
|
||||
|
||||
|
@ -2,6 +2,7 @@ import os
|
||||
import sys
|
||||
import argparse
|
||||
from execute_util import execute
|
||||
from download_ffmpeg import download_prebuild_ffmpeg
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(
|
||||
@ -60,6 +61,7 @@ if __name__ == "__main__":
|
||||
execute("./bootstrap-vcpkg.sh", vcpkg_path, False)
|
||||
execute("chmod +x vcpkg", vcpkg_path)
|
||||
vcpkg_triplet = "x64-osx"
|
||||
download_prebuild_ffmpeg()
|
||||
elif sys.platform == "linux":
|
||||
vcpkg_command = "./vcpkg"
|
||||
#vcpkg_packages_list.append("infoware[opengl]")
|
||||
|
Loading…
Reference in New Issue
Block a user