MCPcopy Index your code
hub / github.com/elebumm/RedditVideoMakerBot / ffmpeg_install_linux

Function ffmpeg_install_linux

utils/ffmpeg_install.py:69–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68
69def ffmpeg_install_linux():
70 try:
71 subprocess.run(
72 "sudo apt install ffmpeg",
73 shell=True,
74 stdout=subprocess.PIPE,
75 stderr=subprocess.PIPE,
76 )
77 except Exception as e:
78 print(
79 "An error occurred while trying to install FFmpeg. Please try again. Otherwise, please install FFmpeg manually and try again."
80 )
81 print(e)
82 exit()
83 print("FFmpeg installed successfully! Please re-run the program.")
84 exit()
85
86
87def ffmpeg_install_mac():

Callers 1

ffmpeg_installFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected