videoconcat


Namevideoconcat JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/videoconcat
SummaryConcatenates videos
upload_time2022-12-28 20:23:58
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords videos concatenate
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<h2>Concatenates videos</h2>





```python



# needs ffmpeg 

$pip install videoconcat

from videoconcat import concatenate_video



vi = [

    r"C:\Users\Gamer\Videos\tesseract.mp4",

    r"C:\Users\Gamer\Videos\dfbs4.mp4",

    r"C:\Users\Gamer\Videos\yolov5.mp4",

]



concatenate_video(

    video_clip_paths=vi,

    output_path=r"f:\newvi\newvidxx1.mp4",  # if folder doesn't exist, it will be created

    newsize_w=720,

    newsize_h=1080,

    method="reduce",  # resizes all videos

)



concatenate_video(

    video_clip_paths=vi,

    output_path=r"f:\newvi\newvidxx2.mp4",  # if folder doesn't exist, it will be created

    newsize_w=720,

    newsize_h=1080,

    method="compose",  # does not resize videos (black background)

)





```








            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/videoconcat",
    "name": "videoconcat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "videos,concatenate",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/69/9b/b495b891da7f32fc6fe67e18349712a5500d9d4eabeba67aef0752059de0/videoconcat-0.11.tar.gz",
    "platform": null,
    "description": "\n<h2>Concatenates videos</h2>\n\n\n\n\n\n```python\n\n\n\n# needs ffmpeg \n\n$pip install videoconcat\n\nfrom videoconcat import concatenate_video\n\n\n\nvi = [\n\n    r\"C:\\Users\\Gamer\\Videos\\tesseract.mp4\",\n\n    r\"C:\\Users\\Gamer\\Videos\\dfbs4.mp4\",\n\n    r\"C:\\Users\\Gamer\\Videos\\yolov5.mp4\",\n\n]\n\n\n\nconcatenate_video(\n\n    video_clip_paths=vi,\n\n    output_path=r\"f:\\newvi\\newvidxx1.mp4\",  # if folder doesn't exist, it will be created\n\n    newsize_w=720,\n\n    newsize_h=1080,\n\n    method=\"reduce\",  # resizes all videos\n\n)\n\n\n\nconcatenate_video(\n\n    video_clip_paths=vi,\n\n    output_path=r\"f:\\newvi\\newvidxx2.mp4\",  # if folder doesn't exist, it will be created\n\n    newsize_w=720,\n\n    newsize_h=1080,\n\n    method=\"compose\",  # does not resize videos (black background)\n\n)\n\n\n\n\n\n```\n\n\n\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Concatenates videos",
    "version": "0.11",
    "split_keywords": [
        "videos",
        "concatenate"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "924a3431ea8288ff5c4dac19433b3bc1",
                "sha256": "1cf7763b1a9f5cb9fdb74980b9e511711acabb7c69c791be91613836ca8d870e"
            },
            "downloads": -1,
            "filename": "videoconcat-0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "924a3431ea8288ff5c4dac19433b3bc1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4639,
            "upload_time": "2022-12-28T20:23:57",
            "upload_time_iso_8601": "2022-12-28T20:23:57.313459Z",
            "url": "https://files.pythonhosted.org/packages/36/dd/073f325661d06e043808e661be60935d1ffa165e3d55213697c0a173c4dc/videoconcat-0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c375f3b9e36f345762c06b7a3bd20689",
                "sha256": "ab28a177483699cd98e62827c7e6cae7e4de23ba5816ae9a8d844c8d29ab737e"
            },
            "downloads": -1,
            "filename": "videoconcat-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "c375f3b9e36f345762c06b7a3bd20689",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3369,
            "upload_time": "2022-12-28T20:23:58",
            "upload_time_iso_8601": "2022-12-28T20:23:58.606027Z",
            "url": "https://files.pythonhosted.org/packages/69/9b/b495b891da7f32fc6fe67e18349712a5500d9d4eabeba67aef0752059de0/videoconcat-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-28 20:23:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "videoconcat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "videoconcat"
}
        
Elapsed time: 0.12033s