video-ditor


Namevideo-ditor JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/donwany/video-ditor.git
SummaryA python package to manipulate videos
upload_time2023-07-10 06:28:43
maintainer
docs_urlNone
authorTheophilus Siameh
requires_python>=3.7
licenseMIT License
keywords video editor editor video manipulator cut videos join videos add watermark to videos
VCS
bugtrack_url
requirements requests loguru moviepy yt_dlp
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Python 3.7, 3.8, 3.9](https://img.shields.io/badge/Python-3.7%2C%203.8%2C%203.9-3776ab.svg?maxAge=2592000)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)

### Video-Ditor
  A simple video editor python package
  Affiliated to [Bank of Ghana Fx Rates](https://pypi.org/project/bank-of-ghana-fx-rates/),
  [GhanaNews-Scraper](https://pypi.org/project/ghananews-scraper/), and
  [GhanaShops-Scraper](https://pypi.org/project/ghanashops-scraper/)

### How to install
```shell
pip install video-ditor
```
### Install using:
```shell
# OR
git clone https://github.com/donwany/Video-Ditor.git
cd Video-Ditor
make pre-release
```

### Download YouTube/Facebook/Twitter Videos
```bash
# Using CLI
ytube -u https://www.youtube.com/watch?v=fqi8cvN1hrI

ytube --url https://twitter.com/kwadwosheldon/status/1673856306136981504

ytube --url https://www.facebook.com/gtvghana/videos/1219922122741862
```

### Join Videos
```bash
python main.py \
-c one.mp4 two.mp4 three.mp4 \ 
-o output.mp4

# Using CLI
concat \
-c one.mp4 two.mp4 three.mp4 \ 
-o output.mp4
```

### Cut Videos
```bash
python main.py \
-i input.mp4 \
-o output.mp4 \
-s "00:00:00" \
-e "00:00:00"

# Using CLI
slice \
-i input.mp4 \
-o output.mp4 \
-s "00:00:00" \
-e "00:00:00"
```

### Watermark Videos
```bash
python main.py -i input.mp4 -w james.png -x 500 -o water_output.mp4

# Using CLI
watermark -i input.mp4 -w james.png -x 500 -p "left,bottom" -o water_output.mp4
```
### Add Background and Overlay Video
```bash
python main.py -b background_video.mp4 -o overlay_video.mp4 -x final1.mp4 -p 150 -v 0.10 -bv 1.0

# Using CLI
background -b background_video.mp4 -o overlay_video.mp4 -x final1.mp4 -p 150 -v 0.10 -bv 1.0
```

### Add Text to Video
  + text position: "left,top" , "left,bottom", "right,bottom"
```shell
add_text -i input.mp4 -o output.mp4 -s "@the_data_prof" -f 50 -t "blue" -p "center,top"
```

BuyMeCoffee
-----------
[![Build](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/theodondrew)

Credits
-------
-  `Theophilus Siameh`
<div>
    <a href="https://twitter.com/tsiameh"><img src="https://img.shields.io/twitter/follow/tsiameh?color=blue&logo=twitter&style=flat" alt="tsiameh twitter"></a>
</div>


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/donwany/video-ditor.git",
    "name": "video-ditor",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "video editor,editor,video manipulator,cut videos,join videos,add watermark to videos",
    "author": "Theophilus Siameh",
    "author_email": "theodondre@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8b/24/f7d74dbf634ac95bd5942f2d6c79a94992010cad7b3d84527c96d932266c/video-ditor-0.0.3.tar.gz",
    "platform": "any",
    "description": "![Python 3.7, 3.8, 3.9](https://img.shields.io/badge/Python-3.7%2C%203.8%2C%203.9-3776ab.svg?maxAge=2592000)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)\n\n### Video-Ditor\n  A simple video editor python package\n  Affiliated to [Bank of Ghana Fx Rates](https://pypi.org/project/bank-of-ghana-fx-rates/),\n  [GhanaNews-Scraper](https://pypi.org/project/ghananews-scraper/), and\n  [GhanaShops-Scraper](https://pypi.org/project/ghanashops-scraper/)\n\n### How to install\n```shell\npip install video-ditor\n```\n### Install using:\n```shell\n# OR\ngit clone https://github.com/donwany/Video-Ditor.git\ncd Video-Ditor\nmake pre-release\n```\n\n### Download YouTube/Facebook/Twitter Videos\n```bash\n# Using CLI\nytube -u https://www.youtube.com/watch?v=fqi8cvN1hrI\n\nytube --url https://twitter.com/kwadwosheldon/status/1673856306136981504\n\nytube --url https://www.facebook.com/gtvghana/videos/1219922122741862\n```\n\n### Join Videos\n```bash\npython main.py \\\n-c one.mp4 two.mp4 three.mp4 \\ \n-o output.mp4\n\n# Using CLI\nconcat \\\n-c one.mp4 two.mp4 three.mp4 \\ \n-o output.mp4\n```\n\n### Cut Videos\n```bash\npython main.py \\\n-i input.mp4 \\\n-o output.mp4 \\\n-s \"00:00:00\" \\\n-e \"00:00:00\"\n\n# Using CLI\nslice \\\n-i input.mp4 \\\n-o output.mp4 \\\n-s \"00:00:00\" \\\n-e \"00:00:00\"\n```\n\n### Watermark Videos\n```bash\npython main.py -i input.mp4 -w james.png -x 500 -o water_output.mp4\n\n# Using CLI\nwatermark -i input.mp4 -w james.png -x 500 -p \"left,bottom\" -o water_output.mp4\n```\n### Add Background and Overlay Video\n```bash\npython main.py -b background_video.mp4 -o overlay_video.mp4 -x final1.mp4 -p 150 -v 0.10 -bv 1.0\n\n# Using CLI\nbackground -b background_video.mp4 -o overlay_video.mp4 -x final1.mp4 -p 150 -v 0.10 -bv 1.0\n```\n\n### Add Text to Video\n  + text position: \"left,top\" , \"left,bottom\", \"right,bottom\"\n```shell\nadd_text -i input.mp4 -o output.mp4 -s \"@the_data_prof\" -f 50 -t \"blue\" -p \"center,top\"\n```\n\nBuyMeCoffee\n-----------\n[![Build](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/theodondrew)\n\nCredits\n-------\n-  `Theophilus Siameh`\n<div>\n    <a href=\"https://twitter.com/tsiameh\"><img src=\"https://img.shields.io/twitter/follow/tsiameh?color=blue&logo=twitter&style=flat\" alt=\"tsiameh twitter\"></a>\n</div>\n\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A python package to manipulate videos",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/donwany/video-ditor.git"
    },
    "split_keywords": [
        "video editor",
        "editor",
        "video manipulator",
        "cut videos",
        "join videos",
        "add watermark to videos"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9045854be318c17b221bcd6186c2a7e1fad687244c66b0b49680cc963196872f",
                "md5": "331ed8eb6a40d26fe35255dde8db40cd",
                "sha256": "2d7fac0c2c549eb79e869f4c4bd09b7718349a3ea89b49601da8a22a018a2bd9"
            },
            "downloads": -1,
            "filename": "video_ditor-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "331ed8eb6a40d26fe35255dde8db40cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 12092,
            "upload_time": "2023-07-10T06:28:42",
            "upload_time_iso_8601": "2023-07-10T06:28:42.393302Z",
            "url": "https://files.pythonhosted.org/packages/90/45/854be318c17b221bcd6186c2a7e1fad687244c66b0b49680cc963196872f/video_ditor-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b24f7d74dbf634ac95bd5942f2d6c79a94992010cad7b3d84527c96d932266c",
                "md5": "539f645a5d8fe6b5cb77c9bf7b042854",
                "sha256": "306c68ef410f8f9ea1013e126fca860fbeab8b10ac6d56bdc32c7c5b4d08c22f"
            },
            "downloads": -1,
            "filename": "video-ditor-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "539f645a5d8fe6b5cb77c9bf7b042854",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9375,
            "upload_time": "2023-07-10T06:28:43",
            "upload_time_iso_8601": "2023-07-10T06:28:43.729319Z",
            "url": "https://files.pythonhosted.org/packages/8b/24/f7d74dbf634ac95bd5942f2d6c79a94992010cad7b3d84527c96d932266c/video-ditor-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-10 06:28:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "donwany",
    "github_project": "video-ditor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "loguru",
            "specs": [
                [
                    "==",
                    "0.7.0"
                ]
            ]
        },
        {
            "name": "moviepy",
            "specs": [
                [
                    "==",
                    "1.0.3"
                ]
            ]
        },
        {
            "name": "yt_dlp",
            "specs": []
        }
    ],
    "lcname": "video-ditor"
}
        
Elapsed time: 0.22246s