RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

Runtime Error Asking for FFMPEG EXE

Open M4ttiG opened this issue 4 years ago • 6 comments

Here's all the message it gives me, I'm not sure what im doing wrong. Im using a M1 MacBook if that makes any difference?

Traceback (most recent call last): File "/Users/me/Downloads/Safari/RedditVideoMakerBot-master-2/main.py", line 5, in from video_creation.background import download_background, chop_background_video File "/Users/me/Downloads/Safari/RedditVideoMakerBot-master-2/video_creation/background.py", line 6, in from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_tools.py", line 7, in from moviepy.config import get_setting File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/moviepy/config.py", line 36, in FFMPEG_BINARY = get_exe() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/imageio/plugins/ffmpeg.py", line 159, in get_exe return imageio_ffmpeg.get_ffmpeg_exe() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/imageio_ffmpeg/_utils.py", line 49, in get_ffmpeg_exe raise RuntimeError( RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.

M4ttiG avatar Jun 02 '22 23:06 M4ttiG

Getting the same error, also on M1 Macbook Air

benf2004 avatar Jun 03 '22 00:06 benf2004

I solved this error by typing

brew install ffmpeg

now i’m getting a new error

“ModuleNotFoundError: No module named sox”

On 3 Jun 2022, at 01:04, benf2004 @.***> wrote:

 Getting the same errror

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

M4ttiG avatar Jun 03 '22 00:06 M4ttiG

Thank you! Brew coming in clutch. I did not get the sox error.

benf2004 avatar Jun 03 '22 01:06 benf2004

I solved this error by typing brew install ffmpeg now i’m getting a new error “ModuleNotFoundError: No module named sox” … On 3 Jun 2022, at 01:04, benf2004 @.***> wrote:  Getting the same errror — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

Did you run 'playwright install' and 'playwright install-deps' ?

D3FUZED avatar Jun 03 '22 16:06 D3FUZED

i did mate and confirmed it

On 3 Jun 2022, at 17:09, Thomas @.***> wrote:

 I solved this error by typing brew install ffmpeg now i’m getting a new error “ModuleNotFoundError: No module named sox” … On 3 Jun 2022, at 01:04, benf2004 @.***> wrote:  Getting the same errror — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

Did you run 'playwright install' and 'playwright install-deps' ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

M4ttiG avatar Jun 03 '22 19:06 M4ttiG

Hi @M4ttiG,

Sox is not used in the master branch so this issue will not be solved, as it's not part of the code.

I hope you were able to resolve your issue as there has not been activity in this Issue, I will be closing this for the time being. Feel free to re-open the issue if it has not been solved!!

Happy Coding!

FreebieII avatar Jun 06 '22 19:06 FreebieII