Git Product home page Git Product logo

Comments (4)

soraxas avatar soraxas commented on July 17, 2024

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.

from echo360.

noelje avatar noelje commented on July 17, 2024

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"]})

https://stackoverflow.com/a/60561710/14368392

from echo360.

soraxas avatar soraxas commented on July 17, 2024

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?

from echo360.

noelje avatar noelje commented on July 17, 2024
  1. I installed ffmpeg in the virtual environment (python3)

  2. I do not use Brew these days due to build failures and broken packages happening a few times. see here

  3. I am closing this issue because I am going to test this repo on a Linux machine.

Thanks for your help, @soraxas

from echo360.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.