moviepy


Namemoviepy JSON
Version 2.0.0 PyPI version JSON
download
home_pageNone
SummaryVideo editing with Python
upload_time2024-11-20 05:21:14
maintainerNone
docs_urlNone
authorZulko 2024
requires_pythonNone
licenseMIT License
keywords video editing audio compositing ffmpeg
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MoviePy


[![MoviePy page on the Python Package Index](https://badge.fury.io/py/moviepy.svg)](PyPI_) [![Discuss MoviePy on Gitter](https://img.shields.io/gitter/room/movie-py/gitter?color=46BC99&logo=gitter)](Gitter_) [![Build status on gh-actions](https://img.shields.io/github/actions/workflow/status/Zulko/moviepy/test_suite.yml?logo=github)](https://github.com/Zulko/moviepy/actions/workflows/test_suite.yml) [![Code coverage from coveralls.io](https://img.shields.io/coveralls/github/Zulko/moviepy/master?logo=coveralls)](https://coveralls.io/github/Zulko/moviepy?branch=master)

> [!NOTE] 
> MoviePy recently upgraded to v2.0, introducing major
breaking changes, for more info, see [the updating
guide](https://zulko.github.io/moviepy/getting_started/updating_to_v2.html).

MoviePy (full [documentation](https://zulko.github.io/moviepy/)) is a
Python library for video editing: cutting, concatenations, title
insertions, video compositing (a.k.a. non-linear editing), video
processing, and creation of custom effects.

MoviePy can read and write all the most common audio and video formats,
including GIF, and runs on Windows/Mac/Linux, with Python 3.7+.

# Example

In this example we open a video file, select the subclip between 10 and
20 seconds, add a title at the center of the screen, and write the
result to a new file:

``` python
# Import everything needed to edit video clips
from moviepy import *

# Load file example.mp4 and extract only the subclip from 00:00:10 to 00:00:20
clip = VideoFileClip("long_examples/example2.mp4").with_subclip(10, 20)

# Reduce the audio volume to 80% of his original volume
clip = clip.with_multiply_volume(0.8)

# Generate a text clip. You can customize the font, color, etc.
txt_clip = TextClip(font="example.ttf", text="Big Buck Bunny", font_size=70, color='white')

# Say that you want it to appear for 10s at the center of the screen
txt_clip = txt_clip.with_position('center').with_duration(10)

# Overlay the text clip on the first video clip
video = CompositeVideoClip([clip, txt_clip])

# Write the result to a file (many options available!)
video.write_videofile("result.mp4")
```

# Maintainers wanted!

MoviePy is always looking for maintainers, and we'd love to hear about
developers interested in giving a hand and solving some of the issues
(especially the ones that affect you) or reviewing pull requests. Open
an issue or contact us directly if you are interested. Thanks!

# Installation

For standard installation, see
[documentation_install](https://zulko.github.io/moviepy/getting_started/install.html).

For contributors installation, see
[documentation_dev_install](https://zulko.github.io/moviepy/developer_guide/developers_install.rst).

# Documentation

Building the documentation has additional dependencies that require
installation.

``` bash
$ (sudo) pip install moviepy[doc]
```

The documentation can be generated and viewed via:

``` bash
$ python setup.py build_docs
```

You can pass additional arguments to the documentation build, such as
clean build:

``` bash
$ python setup.py build_docs -E
```

More information is available from the
[Sphinx](https://www.sphinx-doc.org/en/master/setuptools.html)
documentation.

# Contribute

MoviePy is open-source software originally written by
[Zulko](https://github.com/Zulko) and released under the MIT licence.
The project is hosted on [GitHub](https://github.com/Zulko/moviepy),
where everyone is welcome to contribute, ask for help or simply give
feedback. Please read our [Contributing
Guidelines](https://github.com/Zulko/moviepy/blob/master/CONTRIBUTING.md)
for more information about how to contribute!

You can also discuss the project on
[Reddit](https://www.reddit.com/r/moviepy/) or
[Gitter](https://gitter.im/movie-py/Lobby). These are preferred over
GitHub issues for usage questions and examples.

# Maintainers

-   [Zulko](https://github.com/Zulko) (owner)
-   [@osaajani](https://github.com/OsaAjani) led the development of v2 ([MR](https://github.com/Zulko/moviepy/pull/2024))
-   [@tburrows13](https://github.com/tburrows13)
-   [@mgaitan](https://github.com/mgaitan)
-   [@earney](https://github.com/earney)
-   [@mbeacom](https://github.com/mbeacom)
-   [@overdrivr](https://github.com/overdrivr)
-   [@keikoro](https://github.com/keikoro)
-   [@ryanfox](https://github.com/ryanfox)
-   [@mondeja](https://github.com/mondeja)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "moviepy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "video, editing, audio, compositing, ffmpeg",
    "author": "Zulko 2024",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/17/a6/3d9c933a55b176d785f747d18222809d96e1194627401093e8ebbbfc8b8f/moviepy-2.0.0.tar.gz",
    "platform": null,
    "description": "# MoviePy\n\n\n[![MoviePy page on the Python Package Index](https://badge.fury.io/py/moviepy.svg)](PyPI_) [![Discuss MoviePy on Gitter](https://img.shields.io/gitter/room/movie-py/gitter?color=46BC99&logo=gitter)](Gitter_) [![Build status on gh-actions](https://img.shields.io/github/actions/workflow/status/Zulko/moviepy/test_suite.yml?logo=github)](https://github.com/Zulko/moviepy/actions/workflows/test_suite.yml) [![Code coverage from coveralls.io](https://img.shields.io/coveralls/github/Zulko/moviepy/master?logo=coveralls)](https://coveralls.io/github/Zulko/moviepy?branch=master)\n\n> [!NOTE] \n> MoviePy recently upgraded to v2.0, introducing major\nbreaking changes, for more info, see [the updating\nguide](https://zulko.github.io/moviepy/getting_started/updating_to_v2.html).\n\nMoviePy (full [documentation](https://zulko.github.io/moviepy/)) is a\nPython library for video editing: cutting, concatenations, title\ninsertions, video compositing (a.k.a. non-linear editing), video\nprocessing, and creation of custom effects.\n\nMoviePy can read and write all the most common audio and video formats,\nincluding GIF, and runs on Windows/Mac/Linux, with Python 3.7+.\n\n# Example\n\nIn this example we open a video file, select the subclip between 10 and\n20 seconds, add a title at the center of the screen, and write the\nresult to a new file:\n\n``` python\n# Import everything needed to edit video clips\nfrom moviepy import *\n\n# Load file example.mp4 and extract only the subclip from 00:00:10 to 00:00:20\nclip = VideoFileClip(\"long_examples/example2.mp4\").with_subclip(10, 20)\n\n# Reduce the audio volume to 80% of his original volume\nclip = clip.with_multiply_volume(0.8)\n\n# Generate a text clip. You can customize the font, color, etc.\ntxt_clip = TextClip(font=\"example.ttf\", text=\"Big Buck Bunny\", font_size=70, color='white')\n\n# Say that you want it to appear for 10s at the center of the screen\ntxt_clip = txt_clip.with_position('center').with_duration(10)\n\n# Overlay the text clip on the first video clip\nvideo = CompositeVideoClip([clip, txt_clip])\n\n# Write the result to a file (many options available!)\nvideo.write_videofile(\"result.mp4\")\n```\n\n# Maintainers wanted!\n\nMoviePy is always looking for maintainers, and we'd love to hear about\ndevelopers interested in giving a hand and solving some of the issues\n(especially the ones that affect you) or reviewing pull requests. Open\nan issue or contact us directly if you are interested. Thanks!\n\n# Installation\n\nFor standard installation, see\n[documentation_install](https://zulko.github.io/moviepy/getting_started/install.html).\n\nFor contributors installation, see\n[documentation_dev_install](https://zulko.github.io/moviepy/developer_guide/developers_install.rst).\n\n# Documentation\n\nBuilding the documentation has additional dependencies that require\ninstallation.\n\n``` bash\n$ (sudo) pip install moviepy[doc]\n```\n\nThe documentation can be generated and viewed via:\n\n``` bash\n$ python setup.py build_docs\n```\n\nYou can pass additional arguments to the documentation build, such as\nclean build:\n\n``` bash\n$ python setup.py build_docs -E\n```\n\nMore information is available from the\n[Sphinx](https://www.sphinx-doc.org/en/master/setuptools.html)\ndocumentation.\n\n# Contribute\n\nMoviePy is open-source software originally written by\n[Zulko](https://github.com/Zulko) and released under the MIT licence.\nThe project is hosted on [GitHub](https://github.com/Zulko/moviepy),\nwhere everyone is welcome to contribute, ask for help or simply give\nfeedback. Please read our [Contributing\nGuidelines](https://github.com/Zulko/moviepy/blob/master/CONTRIBUTING.md)\nfor more information about how to contribute!\n\nYou can also discuss the project on\n[Reddit](https://www.reddit.com/r/moviepy/) or\n[Gitter](https://gitter.im/movie-py/Lobby). These are preferred over\nGitHub issues for usage questions and examples.\n\n# Maintainers\n\n-   [Zulko](https://github.com/Zulko) (owner)\n-   [@osaajani](https://github.com/OsaAjani) led the development of v2 ([MR](https://github.com/Zulko/moviepy/pull/2024))\n-   [@tburrows13](https://github.com/tburrows13)\n-   [@mgaitan](https://github.com/mgaitan)\n-   [@earney](https://github.com/earney)\n-   [@mbeacom](https://github.com/mbeacom)\n-   [@overdrivr](https://github.com/overdrivr)\n-   [@keikoro](https://github.com/keikoro)\n-   [@ryanfox](https://github.com/ryanfox)\n-   [@mondeja](https://github.com/mondeja)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Video editing with Python",
    "version": "2.0.0",
    "project_urls": null,
    "split_keywords": [
        "video",
        " editing",
        " audio",
        " compositing",
        " ffmpeg"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5afb1ac4ed4f88a19dfcad21b210036ae58d274977ac09666f5bd60121817a3",
                "md5": "03d0eef3b40db9da103799a0a746bdaf",
                "sha256": "c38f2db676f46c7beafeeb5b545eae88dcc252021500fb2ab3cd248dffd41ca6"
            },
            "downloads": -1,
            "filename": "moviepy-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03d0eef3b40db9da103799a0a746bdaf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 122966,
            "upload_time": "2024-11-20T05:21:11",
            "upload_time_iso_8601": "2024-11-20T05:21:11.392088Z",
            "url": "https://files.pythonhosted.org/packages/a5/af/b1ac4ed4f88a19dfcad21b210036ae58d274977ac09666f5bd60121817a3/moviepy-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17a63d9c933a55b176d785f747d18222809d96e1194627401093e8ebbbfc8b8f",
                "md5": "138daa2f2c3c5f2d72e4e4a7bf92687f",
                "sha256": "3affb0343626f026c11e7a8e42c9b2fbb5b2253e5c8988cb7930c1bd9b0d7c93"
            },
            "downloads": -1,
            "filename": "moviepy-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "138daa2f2c3c5f2d72e4e4a7bf92687f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 58420021,
            "upload_time": "2024-11-20T05:21:14",
            "upload_time_iso_8601": "2024-11-20T05:21:14.234074Z",
            "url": "https://files.pythonhosted.org/packages/17/a6/3d9c933a55b176d785f747d18222809d96e1194627401093e8ebbbfc8b8f/moviepy-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-20 05:21:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "moviepy"
}
        
Elapsed time: 0.46487s