该仓库依托于moviepy库实现长视频自定义时间点多段切分
rmvb
格式视频裁剪
pip install crop_video
# 视频路径 开始时间 结束时间 保存裁剪视频路径
$ crop_video 1.mp4 00:00:00 00:00:20 result.mp4
from crop_video import CropVideo
cutter = CropVideo()
video_path = "tests/test_files/1.mp4"
cutter(video_path, "00:00:00", "00:00:10", "output/2.mp4")