destreamer
destreamer copied to clipboard
ffmpeg not being picked up from current working directory
hello, I have the error that he cannot find the ffmpeg file on macos. I have already copied them to every conceivable place, unfortunately none. Unfortunately, the same error message always appears.
I use Macos 10.15.4 latest ffmpeg version.
FFmpeg is missing! Destreamer requires a fairly recent release of FFmpeg to download videos
Copy to destreamer/
directory and make sure it's executable (chmod +x ffmpeg)
Hmm, that should have worked, i need to take a look at our code and check why it doesn't pick up ffmpeg binaries from project root. Meanwhile try to symlink to /usr/local/bin/ffmpeg
or any other location that is in your $PATH. If you type ffmpeg
at your command prompt you should get the ffmpeg usage screen. If that happens then destreamer should run fine.
it works with the simlink thx
Amended title to reflect the underlying problem. New problem definition: we're not trying to run ffmpeg from current working folder. We should try current folder then fall back to $PATH.
This issue is not present on Windows 10 (and I will take a guess and say also the previous Windows, since execSync uses cmd) Can't help anymore, I don't have acces to a macOS system
One workaround I found is to copy the file into one of the folders in $PATH.
For example, sudo cp path_of_ffmpeg_file /usr/local/bin
.
I tried adding the ffmpeg folder into $PATH, but it kept failing for me.
brew install ffmpeg
It's faster but of course you need brew installed.
This bug it's replicable on windows using git-bash
On *nix we could try to search the local folder for the exe and set a flag if so Or do the same both time we need to execute ffmpeg/aria2c
I am experiencing this, Win10. I'm not the greatest with npm so I did not get this resolved.
I simply dropped ffmpeg binary into the folder - - this application worked wonders after that.
Hi @lukaarma , New Here Thanks for the help,
I get different error , tried all suggested actions above, still get the same error, regardless of how I install ffmpeg and of the terminal I use
[FATAL ERROR] The FFmpeg version currently installed is too old! Destreamer requires a fairly recent release of FFmpeg to download videos
Any ideas please?
Put ffmpeg.exe in your PATH, Run -> sysdm.cpl -> Advanced System Settings -> Advanced.
You can check by typing ffmpeg in your terminal from any directory.
Also don't use that MINGW64 terminal host as it's going to bring you trouble. Use cmd.exe or Windows Terminal.