def add_paths():
    """Add the ffmpeg executable to the path"""
    ffmpeg, _ = get_or_fetch_platform_executables_else_raise()
    os.environ["PATH"] = os.pathsep.join([str(os.path.dirname(ffmpeg)), os.environ["PATH"]])
Add the ffmpeg executable to the path
airtest/utils/ffmpeg/ffmpeg_setter.py