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

Uploaded Python 3

File details

Details for the file crop_video-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: crop_video-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for crop_video-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f808d9a588fd569f1ff0a732306e8f431c45b3a69cc1b94a8e572e2f7879deab
MD5 09dee849f779198c86c1b6e0bf6207ca
BLAKE2b-256 4c641d02d5974b7e9152607bd83e95da3927c59f847a0e7d6085696e8d9b8a21

See more details on using hashes here.

Supported by

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