#### Installation
```bash
pip install crop_video
```
#### Use by CLI
```bash
# video_path start_time end_time save_path
$ crop_video 1.mp4 00:00:00 00:00:20 result.mp4
```
#### Use by python
```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")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/SWHL/CutVideo",
"name": "crop-video",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6,<3.12",
"maintainer_email": "",
"keywords": "moviepy,crop_video",
"author": "SWHL",
"author_email": "liekkaskono@163.com",
"download_url": "",
"platform": "Any",
"description": "#### Installation\n```bash\npip install crop_video\n```\n\n#### Use by CLI\n```bash\n# video_path start_time end_time save_path\n$ crop_video 1.mp4 00:00:00 00:00:20 result.mp4\n```\n\n#### Use by python\n```python\nfrom crop_video import CropVideo\n\ncutter = CropVideo()\n\nvideo_path = \"tests/test_files/1.mp4\"\ncutter(video_path, \"00:00:00\", \"00:00:10\", \"output/2.mp4\")\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Cut video based on moviepy",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/SWHL/CutVideo"
},
"split_keywords": [
"moviepy",
"crop_video"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4c641d02d5974b7e9152607bd83e95da3927c59f847a0e7d6085696e8d9b8a21",
"md5": "09dee849f779198c86c1b6e0bf6207ca",
"sha256": "f808d9a588fd569f1ff0a732306e8f431c45b3a69cc1b94a8e572e2f7879deab"
},
"downloads": -1,
"filename": "crop_video-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "09dee849f779198c86c1b6e0bf6207ca",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,<3.12",
"size": 3521,
"upload_time": "2023-12-16T06:40:53",
"upload_time_iso_8601": "2023-12-16T06:40:53.005932Z",
"url": "https://files.pythonhosted.org/packages/4c/64/1d02d5974b7e9152607bd83e95da3927c59f847a0e7d6085696e8d9b8a21/crop_video-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-16 06:40:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SWHL",
"github_project": "CutVideo",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "crop-video"
}