Closed noelje closed 3 years ago
Hi @noel-emmanuel, you should not put the executable from ffmpeg.org in the root directory of this repo, as that is not how the system searches for programs.
Perhaps you can use brew
or other OSX installer to install ffmpeg?
A quick way to test is run
$ ffmpeg
to see whether your terminal was able to execute the command.
The ffmpeg
executable is indeed in the root directory of this repo as I have previously mentioned. This means that if I do ./ffmpeg
I can see this:
ffmpeg version N-103457-g9abf0e0419-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay libavutil 57. 4.101 / 57. 4.101 libavcodec 59. 6.100 / 59. 6.100 libavformat 59. 4.102 / 59. 4.102 libavdevice 59. 0.101 / 59. 0.101 libavfilter 8. 7.100 / 8. 7.100 libswscale 6. 0.100 / 6. 0.100 libswresample 4. 0.100 / 4. 0.100 libpostproc 56. 0.100 / 56. 0.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
But I am not sure, since this project is unable to find or locate this executable. Brew is not supported for my OS anymore. Is there any line of code which looks like:
ff = ffmpy.FFmpeg(executable='C:\\ffmpeg\\bin\\ffmpeg.exe', inputs={path+'/Stage1Rap.wav': None}, outputs={path+'/FinalRap.mp3': ["-filter:a", "atempo=0.5"]})
You should NOT put it in the root of this repo. That's not how the system searches for programs.
You should install ffmpeg system-wise, rather than downloading only the binary. For example, you can follow this guide.
I mentioned that you should run
$ ffmpeg
not
$ ./ffmpeg
as the ./
prefix is running local binary, but not system-searchable binaries.
The stackoverflow guide you had linked is for windows (as shown by the C:\....
path)
As a side question, I am unfamiliar with mac but why wouldn't homebrew support OSX 10?
Device: 2011 Macbook Pro (8,1) OS: 64bit Mac OS X 10.13.6 17G14042 Kernel: x86_64 Darwin 17.7.0 Intel Core i5-2435M @ 2.40GHz
Tested on QUT's Echo system. Here are the steps that I did:
Ran:
Encountered:
Possible guesses: Even though I downloaded the ffmpeg it may not be placed in the right directory. https://stackoverflow.com/a/60561710/14368392