If you are new to moviepy, you should follow these steps.
Installation (in your virtualenv):
pip install --trusted-host pypi.python.org moviepy python import imageio imageio.plugins.ffmpeg.download()
After these commands, you have the minimum software requirements.
using
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip # ffmpeg_extract_subclip("full.mp4", start_seconds, end_seconds, targetname="cut.mp4") ffmpeg_extract_subclip("full.mp4", 60, 300, targetname="cut.mp4")
jedema
source share