I am trying to run
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
However I am continuously getting the followng error :
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
I have installed ffmpeg in my system and have added it in path. Also in cmd,
ffmpeg
gives proper output.
So anything I am doing wrong here ?
try this before importing moviepy:
import os
os.environ["IMAGEIO_FFMPEG_EXE"] = "/usr/bin/ffmpeg"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With