check for ffprobe
This commit is contained in:
@@ -13,6 +13,10 @@ if shutil.which("ffmpeg") is None:
|
||||
print("ffmpeg is not installed")
|
||||
exit(1)
|
||||
|
||||
if shutil.which("ffprobe") is None:
|
||||
print("ffprobe (part of ffmpeg) is not installed")
|
||||
exit(1)
|
||||
|
||||
|
||||
def parse_srt(srt_file):
|
||||
with open(srt_file, "r", encoding="utf-8") as f:
|
||||
|
||||
Reference in New Issue
Block a user