{
 "slug": "moviepy",
 "name": "MoviePy",
 "author": "Zulko / community",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "MIT Python library for video editing that wraps FFmpeg.",
 "category": {
  "slug": "video-assembly",
  "name": "Video assembly and rendering"
 },
 "tags": [
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/zulko.png",
 "logo_letter": "M",
 "links": {
  "repo": "https://github.com/Zulko/moviepy",
  "website": null,
  "api_docs": "https://zulko.github.io/moviepy/",
  "open_model": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/moviepy/demo.jpg",
  "alt": "Four frames read back from one MP4 that MoviePy wrote, a title over a shifting gradient, then a drawn circle moving right, with a progress bar along the bottom.",
  "caption": "Made by AgentGid with moviepy 2.2.1 (PyPI) with imageio-ffmpeg 0.8.1, Pillow 11.3.0 and numpy 2.5.4, Python 3.12. Made by AgentGid with moviepy 2.2.1 (MIT). All shapes and colors are drawn by our own code; the title uses the default font that comes with Pillow. No outside images or videos are used."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Free and open source.",
   "source": {
    "label": "github.com/Zulko/moviepy",
    "url": "https://github.com/Zulko/moviepy"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT",
   "quote": "MoviePy is open-source software originally written by Zulko and released under the MIT licence.",
   "note": "MIT allows use in paid products and services.",
   "source": {
    "label": "github.com/Zulko/moviepy",
    "url": "https://github.com/Zulko/moviepy"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "quote": null,
   "note": null,
   "source": {
    "label": "github.com/Zulko/moviepy/blob/master/LICENCE.txt",
    "url": "https://github.com/Zulko/moviepy/blob/master/LICENCE.txt"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "Download",
   "status": "info",
   "sub": "Files by hand",
   "quote": null,
   "note": "There is no package or API. Files are downloaded by hand from the official site.",
   "source": {
    "label": "zulko.github.io/moviepy",
    "url": "https://zulko.github.io/moviepy/"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT",
  "url": "https://github.com/Zulko/moviepy/blob/master/LICENCE.txt",
  "summary": "Free to use in personal and paid products and to change and share. Keep the copyright and license notice when you ship copies of the code; the videos you make are yours.",
  "pages_read": 3,
  "rules": [
   "FFmpeg is downloaded automatically by ImageIO on first use; install ffplay only for previews. FFmpeg's licence applies to that component."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "MoviePy is open-source software originally written by Zulko and released under the MIT licence.",
    "source": {
     "label": "github.com/Zulko/moviepy",
     "url": "https://github.com/Zulko/moviepy"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/Zulko/moviepy/master/LICENCE.txt"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "github.com/Zulko/moviepy/blob/master/LICENCE.txt",
     "url": "https://github.com/Zulko/moviepy/blob/master/LICENCE.txt"
    },
    "note": "You may copy and share the code if the MIT notice goes with it."
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-10",
  "commercial_use_page": "https://agentgid.com/assets/moviepy/commercial-use/"
 },
 "overview": {
  "heading": "MoviePy: edit and assemble videos with Python code",
  "body": "MoviePy is a free Python library that edits video with code instead of a video editor. You or your AI assistant can cut clips, join them, put titles on top and save the result as an MP4 or GIF. It suits jobs that repeat, such as making many similar videos on a server."
 },
 "uses": [
  {
   "title": "Many similar videos at once",
   "text": "Make a batch of videos from one template, such as a product clip per item or a weekly recap per customer. The script swaps the text and pictures and saves each file.",
   "idea": false,
   "image": null
  },
  {
   "title": "Titles and captions on a clip",
   "text": "Put a title, a name or a caption over part of a video, for example the first ten seconds of a talk.",
   "idea": false,
   "image": null
  },
  {
   "title": "Join several clips into one",
   "text": "Glue an intro, the main part and an outro into one file, in a fixed order, without opening an editor.",
   "idea": false,
   "image": null
  },
  {
   "title": "Preview pictures for videos",
   "text": "Save one still frame from a video as a picture, to use as the cover image on a page or in a list of videos.",
   "idea": false,
   "image": null
  },
  {
   "title": "Animated GIFs from pictures",
   "text": "Turn a set of screenshots or charts into a short GIF or video, for a help page, a changelog or a social post.",
   "idea": false,
   "image": null
  },
  {
   "title": "Short clips drawn by code",
   "text": "Make a small animation, like a moving shape or a chart that grows, frame by frame from your own drawing code.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "Install moviepy 2.2.1 in a virtual environment and write a script that loads intro.mp4 and main.mp4, joins them with concatenate_videoclips, puts a title over the first 3 seconds and writes out.mp4, using the version 2 names (with_ methods, subclipped, import from moviepy).",
  "install": "pip install moviepy",
  "install_note": "The video tool ffmpeg comes along through ImageIO, so there is usually nothing else to install.",
  "code": [
   {
    "tab": "Step 1",
    "intro": "Import what you need straight from moviepy (version 2 has no moviepy.editor any more), load clips, change them and write the result.",
    "source": "from moviepy import * # Simple and nice, the __all__ is set in moviepy so only useful things will be loaded\nfrom moviepy import VideoFileClip # You can also import only the things you really need"
   },
   {
    "tab": "Step 2",
    "intro": "To check that MoviePy finds ffmpeg, run its built-in check.",
    "source": "from moviepy.config import check\ncheck()"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "from moviepy.editor import *",
   "fix": "from moviepy import VideoFileClip, TextClip, CompositeVideoClip",
   "why": "Version 2 removed the moviepy.editor module, so old tutorials fail on the first line.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "clip.subclip(10, 20).set_position(\"center\").set_duration(5)",
   "fix": "clip.subclipped(10, 20).with_position(\"center\").with_duration(5)",
   "why": "Version 2 renamed the set_ methods to with_, and each returns a changed copy instead of changing the clip in place.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "VideoClip(frame_function).write_videofile(\"out.mp4\")",
   "fix": "VideoClip(frame_function, duration=2).write_videofile(\"out.mp4\", fps=24)",
   "why": "Clips drawn by a function have no length or frame rate until you give them.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "TextClip(text=\"Hello there!\", font_size=56) with no margin",
   "fix": "TextClip(text=\"Hello there!\", font_size=56, margin=(10, 20))",
   "why": "In our demo with MoviePy 2.2.1 the bottom of the letters was cut off until we added a margin; the docs say a margin gives an auto-sized text extra room.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Checking moviepy.__version__ to confirm version 2.2.1",
   "fix": "Check the installed package version with pip (pip show moviepy) or importlib.metadata.version(\"moviepy\")",
   "why": "In our demo the 2.2.1 package from PyPI still reported \"2.1.2\" in moviepy.__version__.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": false,
  "self_serve_text": null,
  "install": null,
  "repo": "https://github.com/Zulko/moviepy",
  "api_docs": "https://zulko.github.io/moviepy/",
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "pip install moviepy",
  "formats": [],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Video made with MoviePy (MIT)",
  "rules_text": "- MoviePy (Video assembly and rendering). MIT Python library for video editing that wraps FFmpeg. Price: free; commercial use OK.\n  Connect: download from https://github.com/Zulko/moviepy (no API).\n  Get files: pip install moviepy.\n  Not allowed: Keep the MIT copyright and permission notice in copies.\n  Rule: FFmpeg is downloaded automatically by ImageIO on first use; install ffplay only for previews. FFmpeg's licence applies to that component.\n  License: https://github.com/Zulko/moviepy/blob/master/LICENCE.txt (checked 2026-11-10; details: https://agentgid.com/assets/moviepy/)",
  "agent_md": "https://agentgid.com/assets/moviepy/agent.md",
  "card_json": "https://agentgid.com/assets/moviepy/card.json"
 },
 "popularity": {
  "gid_score": 38,
  "stars": 15211,
  "downloads_7d": null,
  "downloads_7d_label": null,
  "downloads_change_4w_pct": null,
  "eco": null,
  "package": null,
  "repo": "Zulko/moviepy",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [],
   "stars": [
    [
     "2026-10-13",
     14976
    ],
    [
     "2026-10-20",
     15007
    ],
    [
     "2026-10-21",
     15009
    ],
    [
     "2026-10-22",
     15014
    ],
    [
     "2026-11-07",
     15120
    ],
    [
     "2026-11-08",
     15122
    ],
    [
     "2026-11-09",
     15132
    ],
    [
     "2026-11-10",
     15133
    ],
    [
     "2026-11-11",
     15136
    ],
    [
     "2026-11-12",
     15139
    ],
    [
     "2026-11-13",
     15142
    ],
    [
     "2026-11-14",
     15147
    ],
    [
     "2026-11-15",
     15151
    ],
    [
     "2026-11-16",
     15151
    ],
    [
     "2026-11-17",
     15156
    ],
    [
     "2026-11-18",
     15164
    ],
    [
     "2026-11-19",
     15169
    ],
    [
     "2026-11-20",
     15174
    ],
    [
     "2026-11-21",
     15182
    ],
    [
     "2026-11-22",
     15191
    ],
    [
     "2026-11-23",
     15194
    ],
    [
     "2026-11-24",
     15197
    ],
    [
     "2026-11-25",
     15201
    ],
    [
     "2026-11-26",
     15211
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "moviepy",
   "name": "MoviePy",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "remotion",
   "name": "Remotion",
   "why": "Pick Remotion when you build videos as React components; it is free for individuals and companies of up to 3 employees.",
   "current": false,
   "price": "Free tier",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "Download"
  },
  {
   "slug": "manim",
   "name": "Manim",
   "why": "Pick Manim for explanatory math or diagram animations made in Python.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "PyPI"
  },
  {
   "slug": "hyperframes",
   "name": "HyperFrames",
   "why": "Pick HyperFrames when your scenes are already HTML and CSS and you want them rendered into MP4 the same way every time.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "moneyprinterturbo",
   "name": "MoneyPrinterTurbo",
   "why": "Open-source tool that turns a topic or keywords into a short video with script, stock footage, subtitles and background music.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "API"
  },
  {
   "slug": "openmontage",
   "name": "OpenMontage",
   "why": "Open-source agentic video production system that plans, generates and assembles videos locally using your own AI agent and provider accounts",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Do I need to install ffmpeg myself?",
   "a": "Usually not. ImageIO fetches a matching ffmpeg the first time you use MoviePy. Only the ffplay previewer has to be installed by you, and only if you want previews."
  },
  {
   "q": "Why does my old MoviePy code fail?",
   "a": "Version 2 removed moviepy.editor and renamed the set_ methods to with_ methods; import from moviepy and look for the with_ name."
  },
  {
   "q": "Which Python version do I need?",
   "a": "Python 3.9 or newer, on Windows, Mac or Linux."
  },
  {
   "q": "My video does not play in some players. Why?",
   "a": "A common reason is an odd width or height, such as 720x405, with the default codec. Use even sizes."
  },
  {
   "q": "Can I use it in a paid product?",
   "a": "Yes. It is MIT licensed; keep the license notice with copies of the code."
  }
 ],
 "at_a_glance": {
  "latest_version": "2.2.1",
  "last_release": "2025-05-21",
  "last_commit": "2026-08-26",
  "runtime": "Python 3.9+; ffmpeg via imageio-ffmpeg (installed with it); ffplay only for previews",
  "key_needed": false
 },
 "good_to_know": [
  "Version 2 changed many names, so code written for version 1 or found in old answers often breaks. Version 1 is no longer looked after.",
  "It is slower than calling ffmpeg directly. To only convert a file or turn pictures into a movie, ffmpeg alone is the better tool.",
  "It cannot stream video, such as reading a webcam or rendering live for viewers.",
  "Using very many sources in one video, above about a hundred, can run out of memory.",
  "Everything runs on your own machine or server. No account or key is needed; ffmpeg is fetched by ImageIO when it is first needed."
 ],
 "stack_snippets": [],
 "claims": [],
 "checked": {
  "license_read": "2026-11-10",
  "overview_checked": "2026-11-10",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "github.com/Zulko/moviepy",
    "url": "https://github.com/Zulko/moviepy"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/Zulko/moviepy/blob/master/README.md"
   },
   {
    "label": "github.com/Zulko/moviepy/blob/master/LICENCE.txt",
    "url": "https://github.com/Zulko/moviepy/blob/master/LICENCE.txt"
   },
   {
    "label": "github.com/Zulko/moviepy/blob/master/pyproject.toml",
    "url": "https://github.com/Zulko/moviepy/blob/master/pyproject.toml"
   },
   {
    "label": "pypi.org/pypi/moviepy/json",
    "url": "https://pypi.org/pypi/moviepy/json"
   },
   {
    "label": "zulko.github.io/moviepy",
    "url": "https://zulko.github.io/moviepy/"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/getting_started/install.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/getting_started/quick_presentation.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/getting_started/updating_to_v2.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/getting_started/FAQ.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/user_guide/loading.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/user_guide/compositing.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/user_guide/rendering.html"
   },
   {
    "label": "zulko.github.io",
    "url": "https://zulko.github.io/moviepy/reference/reference/moviepy.video.VideoClip.TextClip.html"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/moviepy/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
