Skip to content
New issue

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

fix: spawn Unknown system error #21

Merged
merged 1 commit into from
Sep 18, 2024
Merged

fix: spawn Unknown system error #21

merged 1 commit into from
Sep 18, 2024

Conversation

gxr404
Copy link
Contributor

@gxr404 gxr404 commented Jul 28, 2024

close: #5 #15

最近刚好遇到这个问题,mac intel 使用ffmpeg-static异常报错 spawn Unknown system error -86

大概原因是 Github Actions 似乎最近将 macos-laster 从 x86 升级到 M1 芯片,因此后安装的 ffmpeg-static为arm64的二进制文件

类似问题:
desktop/dugite#576 (comment)

可以验证
Video-Subtitle-Master_Mac_1.0.14_x64 安装后 查看

ll /Applications/Video\ Subtitle\ Master.app/Contents/Resources/app.asar.unpacked/node_modules/ffmpeg-static
...
43M ... ffmpeg
...

Video.Subtitle.Master-1.0.0.dmg 安装后 查看

ll /Applications/Video\ Subtitle\ Master.app/Contents/Resources/app.asar.unpacked/node_modules/ffmpeg-static
...
75M   ... ffmpeg
...

macos-laster只有arm64

所以使用macos-13单独打包 intel的包

为了测试修改是否正确 fork项目 https:/gxr404/video-subtitle-master-fork/releases

有这个错误的用户可以试试验证下下面的版本是否正常,我自己的 mac intel是正常了
Video-Subtitle-Master_Mac_1.0.20_x64.dmg

@buxuku buxuku merged commit 301e892 into buxuku:main Sep 18, 2024
@buxuku
Copy link
Owner

buxuku commented Sep 18, 2024

非常棒🎉的MR, 手头没有 Intel 的 Mac,一直无法验证该问题。非常感谢👍

@buxuku
Copy link
Owner

buxuku commented Sep 26, 2024

close #23

@buxuku buxuku mentioned this pull request Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: spawn Unknown system error -86: ffmpeg 转码出错!
2 participants