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

Windows中下载完成后合并文件时出错 #1310

Closed
GitCourser opened this issue Jan 27, 2024 · 1 comment
Closed

Windows中下载完成后合并文件时出错 #1310

GitCourser opened this issue Jan 27, 2024 · 1 comment

Comments

@GitCourser
Copy link

GitCourser commented Jan 27, 2024

出错提示

exec: "ffmpeg": cannot run executable found relative to current directory

github.com/iawia002/lux/utils.runMergeCmd
        /home/runner/work/lux/lux/utils/ffmpeg.go:17
github.com/iawia002/lux/utils.MergeToMP4
        /home/runner/work/lux/lux/utils/ffmpeg.go:58
github.com/iawia002/lux/downloader.(*Downloader).Download
        /home/runner/work/lux/lux/downloader/downloader.go:675
github.com/iawia002/lux/app.download
        /home/runner/work/lux/lux/app/app.go:325
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:247
github.com/urfave/cli/v2.(*App).RunContext
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/proc.go:267
runtime.goexit
        /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/asm_amd64.s:1650
@GitCourser GitCourser changed the title [bug]下载完成后合并文件时出错(附正确合并命令) Windows中下载完成后合并文件时出错 Apr 11, 2024
@GitCourser
Copy link
Author

找到原因了,是go升级到1.20之后出现的问题,已经有大佬解决并且pr了, #1322
可以等作者发布新版本或者在Actions里下载 #1322 之后的自动编译版

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

No branches or pull requests

1 participant