Answer the question
In order to leave comments, you need to log in
How to use ffmpeg moviepy on hosting?
I have code:
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
url = 'url'
ffmpeg_extract_subclip(url, 20, 30, targetname="audio.mp4")
"No ffmpeg exe could be found. Install ffmpeg on your system, "
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
import os
os.environ["FFMPEG_BINARY"] = '/var/www/u000000/data/project/bin/f2py3' #Вместо u000000 мой айди, так что проблема не в этом
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
url = 'url'
ffmpeg_extract_subclip(url, 20, 30, targetname="audio.mp4")
chardetect
f2py
f2py3
f2py3.7
imageio_download_bin
imageio_remove_bin
tqdm
Answer the question
In order to leave comments, you need to log in
do as requested
Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question