print('FFmpeg is installed on this system! If you are seeing this error for the second time, restart your computer.')
exceptFileNotFoundErrorase:
print('FFmpeg is not installed on this system.')
resp=input("We can try to automatically install it for you. Would you like to do that? (y/n): ")
ifresp.lower()=="y":
print("Installing FFmpeg...")
ifos.name=="nt":
ffmpeg_install_windows()
elifos.name=="posix":
ffmpeg_install_linux()
elifos.name=="mac":
ffmpeg_install_mac()
else:
print("Your OS is not supported. Please install FFmpeg manually and try again.")
exit()
else:
print("Please install FFmpeg manually and try again.")
exit()
exceptExceptionase:
print("Welcome fellow traveler! You're one of the few who have made it this far. We have no idea how you got at this error, but we're glad you're here. Please report this error to the developer, and we'll try to fix it as soon as possible. Thank you for your patience!")