We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教一下如何将ffmpeg打包到exe中。参照pyinstaller的打包方法,是通过--add-binary安装ffmpeg。 已尝试过:将ffmpeg安装包bin目录下的ffmpeg.exe放在.int同级目录下,并在int文件中添加如下配置 os.environ['PATH'] = r'.\ffmpeg\bin\ffmpeg.exe’ 未能生效。
os.environ['PATH'] = r'.\ffmpeg\bin\ffmpeg.exe’
请问该如何设置?
The text was updated successfully, but these errors were encountered:
放到同级目录下的话,直接在 py 里执行即可,用不着设置 os.environ,再,你的设置方法也是错的,PATH 环境变量设置的是目录,而不是具体文件。
PATH
Sorry, something went wrong.
No branches or pull requests
请教一下如何将ffmpeg打包到exe中。参照pyinstaller的打包方法,是通过--add-binary安装ffmpeg。
已尝试过:将ffmpeg安装包bin目录下的ffmpeg.exe放在.int同级目录下,并在int文件中添加如下配置
os.environ['PATH'] = r'.\ffmpeg\bin\ffmpeg.exe’
未能生效。
请问该如何设置?
The text was updated successfully, but these errors were encountered: