-
Notifications
You must be signed in to change notification settings - Fork 33
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
sh: mpv: command not found #135
Comments
Ive discovered this the above is true when the output format is set to webm, though if converting to mp4 (h264/AAC) I get:
But I do have it installed:
And for reference:
|
Does setting As for the libx264 codec, it probably has something with the ffmpeg library linked with this mpv build. Running |
Nope, tried putting this in script-opts/webm.conf and still says encode failed with the log message
libx264 is indeed in that list:
Full output here if youre interested. But I guess this is a secondary issue (as this is only when I paste one command into Terminal manually)… not even getting this within mpvs log file yet or anything, its always still "mpv: command not found". Also note this is a fresh install of mpv + the script on a new computer, so Im not sure what could be messing up!? |
Turns out I was wrong about this and didnt test it correctly! Tried making
I think this could be an M1 Mac/ARM64 problem – because Homebrew installs into
EDIT: Nope, nevermind. Reading the mpv docs, it says about the EDIT 2: OK, last update/discovery for now. Everything works fine when I run TL;DRIts an M1 Mac issue. On Intel devices, Homebrew installs stuff (like A workaround for now is just to symlink the |
@frozenpandaman Thank you very much, i have a seem question,through your function,this question can be solved!!! 1 symlink the mpv binary into /usr/local/bin
2 change the encoder sorry my english is bad, and i only can conclusion good person's idea, i really thanks @frozenpandaman. you are the best! |
mpv version and platform
macOS 12.0.1
mpv was installed via
brew install mpv
.Description
Installing this fresh on a new machine, all encodes are failing because for some reason the script cant find
mpv
, even though its installed on the command line. The properCommand line: mpv ...
&run_subprocess_popen: running mpv ...
commands are triggering and successfully being logged, and manually copy-pasting that command into a new Terminal session works, but Im getting the following right after it when its being run via the script in mpv:But if I launch sh (
/bin/sh
) it knows what thempv
command is, which I installed via Homebrew (cask version). To note,/bin
is indeed on my PATH.Hopefully Im just overlooking something simple here! Thanks.
The text was updated successfully, but these errors were encountered: