Skip to main content

Cut video based on moviepy

Project description

Installation

pip install crop_video

Use by CLI

# video_path start_time end_time save_path
$ crop_video 1.mp4 00:00:00 00:00:20 result.mp4

Use by python

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

crop_video-0.0.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page