-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
ope: FFmpeg/avconv not found after upgrading from 2.6.0 to 2.7+ #1020
Comments
Hmm, nothing changed around ffmpeg handling between versions (v2.6.0...v2.7.1) so I'm not sure what's going on. It sounds like setting the |
New update though nothing new, since my small server got php's CVE-2024 hacked these days so dropped old system...lol Might test in free weekends recently otz |
What's happening?
Firstly many thanks for this bot that it's a really great bot I'm currently using. But there's some problem that I can only use old version now, and not sure why.
I'm first use this since 2.5.0, and even 2.6.0 works like a charm; but after tried updating from 2.6.0 to 2.7.1, FFMPEG_PATH broke with unknown reason, and revert to 2.6.0 works, detailed below.
Currently I have add extra environment variable in
.env
file to prevent Windows not find FFMPEG issue:FFMPEG_PATH=D:/ffmpeg/bin/ffmpeg.exe
And it works normally when in 2.6.0, but after upgrade to 2.7.1, then tried
npm i
andnpm run start
, all looks fine, but got response🚫 ope: FFmpeg/avconv not found!
in Discord channel when trying to play something, and seems no error appear in console (or will log appear in somewhere that I've not noticed?)Since that, I've tried stuffs below, but all of them does not work:
Use System (or User - the same result) Environment Variable in
"System" -> "Related Settings" -> "Advanced system settings" -> "Environment Variables..."
, instead of.env
file, but still the same error.Cleared whole git clone and re-clone again from git here; same error
Cleared bot database and cache, then re-clone again also, to perform fresh run; same error
Upgraded ffmpeg (7.0 in current release) as I guess it's too old issue; same error
So I finally revert to muse 2.6.0 with ffmpeg 4.2.3, with
.env
's (or System/User Environment Variable's)FFMPEG_PATH
, all works very well whether fresh or downgrade.Can't figure out why cause this happen, but might be something broken in nodes lib or else...?
I like this great bot project, just wanna know if can be solved or not. though won't affect if using old version.
Many thanks.
Logs
Runtime
I'm running Muse:
Versions
The text was updated successfully, but these errors were encountered: