skywind3000 / skywind3000/PyStand
如何打包ffmpeg
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
请教一下如何将ffmpeg打包到exe中。参照pyinstaller的打包方法,是通过--add-binary安装ffmpeg。
已尝试过:将ffmpeg安装包bin目录下的ffmpeg.exe放在.int同级目录下,并在int文件中添加如下配置
os.environ['PATH'] = r'.\ffmpeg\bin\ffmpeg.exe’
未能生效。
请问该如何设置?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the reported PyInstaller --add-binary approach, the .int sibling directory, and the configuration added to the int file. Reproduce the packaging attempt and trace why the bundled ffmpeg.exe is not found; the issue is done when the generated exe can use the packaged ffmpeg successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100