MCPcopy Create free account
hub / github.com/TMElyralab/MuseTalk / fast_check_ffmpeg

Function fast_check_ffmpeg

scripts/preprocess.py:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15import sys
16
17def fast_check_ffmpeg():
18 try:
19 subprocess.run(["ffmpeg", "-version"], capture_output=True, check=True)
20 return True
21 except:
22 return False
23
24ffmpeg_path = "./ffmpeg-4.4-amd64-static/"
25if not fast_check_ffmpeg():

Callers 1

preprocess.pyFile · 0.70

Calls 1

runMethod · 0.80

Tested by

no test coverage detected