Python video-editing

Open-source Python projects categorized as video-editing

Top 23 Python video-editing Projects

video-editing
  • moviepy

    Video editing with Python

  • Project mention: Show HN: Revideo – Create Videos with Code | news.ycombinator.com | 2024-04-15

    Hey HN! We’re building Revideo (https://github.com/redotvideo/revideo), an open source toolkit that lets you programmatically create and export videos with the animation library Motion Canvas (https://github.com/motion-canvas/motion-canvas). This is useful whenever you want to build apps that automate certain video tasks, which is increasingly possible using AI tools - for instance, one of our first users is building an app that turns code documentation into video tutorials.

    Revideo extends Motion Canvas with features that are essential for creating video, such as the ability to export audio tracks, a nodejs package for headless, parameterized & much faster rendering, and audio components that make audio editing and syncing easier. While Motion Canvas aims to be a standalone editor [1], we want to build a set of libraries that lets developers integrate video editing functionality into their apps. Our goal is to provide an open-source alternative to Remotion (https://github.com/remotion-dev/remotion).

    At the start of this year, we explored a bunch of product ideas in the space of AI-based video creation. For example, we’ve built apps that automatically create educational short videos and have experimented with automatically A/B testing and personalizing video ads.

    While building these products, we were frustrated with the video editing frameworks we used: Moviepy (https://github.com/Zulko/moviepy), which we relied on initially, doesn’t offer a way to preview your videos, so we’d often have to wait minutes for a video to render to test our code changes. Remotion (https://github.com/remotion-dev/remotion), which we switched to later, is really good, but we didn’t want to rely on it as it is not open source (source-available only). That’s why we decided to build Revideo.

    We’d already been following Motion Canvas for some time and really liked using it, so we thought that extending it would get us to something useful much faster than building an animation library from scratch. Initially, we tried to build our features as Motion Canvas plugins, but this did not provide enough flexibility to achieve the desired functionality. Additionally, video-specific features (such as audio support) were generally considered out of scope by the Motion Canvas maintainers, which is why we ultimately ended up creating a fork. We’re unsure if this is the right way to go in the long term, and would prefer to find a way to build Revideo without diverging from Motion Canvas too much - if you have suggestions on how to solve this, we’d love your input.

    Compared to Remotion, which builds on top of React, Motion Canvas uses the HTML Canvas API and makes you define animation flows with generator functions. Its API is more “procedural”, as it makes you define the things that happen in your animation as a sequence of yields, whereas Remotion gives you a frame number and lets you declare how your video should look like at that frame.

    Our current focus is improving the open source project. In the long term, we want to make money by building a rendering service for developers building apps with Revideo. Such a service would offer a pretty similar deployment experience to Vercel, but instead of web apps, we let developers deploy Revideo projects and expose a rendering endpoint for them. Letting us manage the infrastructure will allow us to offer much faster rendering, as we can massively parallelize rendering jobs on our servers (e.g. spinning up 100 headless browsers that render 100 frames each to render a video with 10,000 frames).

    We’d love to hear your feedback and suggestions! You can find our repo at https://github.com/redotvideo/revideo, We’ve also released an example video editing app at https://github.com/redotvideo/revideo-saas-template. Thank you!

    [1] “Motion Canvas is not a normal npm package. It's a standalone tool that happens to be distributed via npm.” - https://github.com/orgs/motion-canvas/discussions/1015

  • backgroundremover

    Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.

  • Project mention: Ask HN: What side projects landed you a job? | news.ycombinator.com | 2023-12-03

    Not a job I took. But when I launched https://github.com/nadermx/backgroundremover I got offered a high level position in a a photo company via my email which at the time was on my GitHub profile.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • openshot-qt

    OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.

  • Project mention: PhotoPea: Advanced Photo Editing Software | news.ycombinator.com | 2024-02-20

    OpenShot is great, FOSS and works well on my 2014 MBP: https://www.openshot.org/

    I used DaVinci Resolve but it was very sluggish on older hardware.

  • Text2Video-Zero

    [ICCV 2023 Oral] Text-to-Image Diffusion Models are Zero-Shot Video Generators

  • auto-editor

    Auto-Editor: Effort free video editing!

  • TokenFlow

    Official Pytorch Implementation for "TokenFlow: Consistent Diffusion Features for Consistent Video Editing" presenting "TokenFlow" (ICLR 2024)

  • Project mention: TokenFlow has been Released | /r/StableDiffusion | 2023-09-07

    Code: https://github.com/omerbt/TokenFlow

  • OpenTimelineIO

    Open Source API and interchange format for editorial timeline information.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • StableVideo

    [ICCV 2023] StableVideo: Text-driven Consistency-aware Diffusion Video Editing

  • Project mention: MagicEdit: High-Fidelity Temporally Coherent Video Editing | news.ycombinator.com | 2023-08-29

    Looks like its building on the same concepts as stable video.

    https://github.com/rese1f/StableVideo

  • Text2LIVE

    Official Pytorch Implementation for "Text2LIVE: Text-Driven Layered Image and Video Editing" (ECCV 2022 Oral)

  • transparent-background

    This is a background removing tool powered by InSPyReNet (ACCV 2022)

  • WebmGenerator

    UI and Automation to cut, filter and join high quality webms, mp4s or gifs.

  • Video-P2P

    Video-P2P: Video Editing with Cross-attention Control

  • movis

    Python library for video editing, presentation video generation, motion graphics, shader art coding, and other video production tasks

  • Project mention: FLaNK Stack Weekly for 20 Nov 2023 | dev.to | 2023-11-20
  • Implicit-Internal-Video-Inpainting

    [ICCV 2021]: IIVI: Internal Video Inpainting by Implicit Long-range Propagation

  • LAMP

    Official implement code of LAMP: Learn a Motion Pattern by Few-Shot Tuning a Text-to-Image Diffusion Model (Few-shot-based text-to-video diffusion)

  • Project mention: List of Stable Diffusion research softwares that I don't think gotten widespread adoption. | /r/StableDiffusion | 2023-12-10
  • RAVE

    RAVE: Randomized Noise Shuffling for Fast and Consistent Video Editing with Diffusion Models - CVPR 2024 - Official Repo (by RehgLab)

  • Project mention: RAVE has been released! | /r/StableDiffusion | 2023-12-08

    New preprint alert! Introducing RAVE - a zero-shot, lightweight, and fast framework for text-guided video editing, supporting videos of any length utilizing text-to-image pretrained diffusion models. Project Webpage: https://rave-video.github.io ArXiv: https://arxiv.org/abs/2312.04524 More Examples: https://rave-video.github.io/supp/supp.html Code: https://github.com/rehg-lab/RAVE Demo: https://github.com/rehg-lab/RAVE/blob/main/demo_notebook.ipynb Abstract:

  • SAFA

    Official Pytorch Implementation of 3DV2021 paper: SAFA: Structure Aware Face Animation.

  • Video-Motion-Customization

    VMC: Video Motion Customization using Temporal Attention Adaption for Text-to-Video Diffusion Models (CVPR 2024)

  • Project mention: Code for video motion customization has been released! | /r/StableDiffusion | 2023-12-08
  • crispy

    Crispy is a machine-learning algorithm to make video-games montages efficiently. It uses a neural network to detect highlights in the video-game frames (by Flowtter)

  • Video-Silence-Remover

    A tool created to automatically remove silence from videos.

  • deblack

    remove black frames from a video. Simple python file to create ffmpeg commands. Originally started in a stackexchange question (https://superuser.com/a/1697654/739491)

  • Project mention: Script to remove black frames from rendered video? | /r/Batch | 2023-11-07

    I found Deblack on GitHub which does exactly that - but I can't it to work unless the video is specifically named input.mp4 (again, I have 100s). Wildcards don't work with FFmpeg I guess.

  • shotstack-sdk-python

    Python SDK for Shotstack, the cloud video editing API

  • python_cli_video_editor

    A CLI video editor written in the Python Language.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python video-editing related posts

  • PhotoPea: Advanced Photo Editing Software

    1 project | news.ycombinator.com | 20 Feb 2024
  • Flowblade: Open-Source Video Editor

    1 project | news.ycombinator.com | 16 Jan 2024
  • Is it possible to install ”windows live essentials“ on win10?

    1 project | /r/Windows10 | 8 Dec 2023
  • Code for video motion customization has been released!

    1 project | /r/StableDiffusion | 8 Dec 2023
  • VMC: Video Motion Customization

    1 project | /r/StableDiffusion | 7 Dec 2023
  • Video editing software won't let me export without paying

    1 project | /r/mildlyinfuriating | 5 Dec 2023
  • Show HN: Movis – A Video Editing Library in Python

    2 projects | news.ycombinator.com | 15 Nov 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 4 Jun 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source video-editing projects in Python? This list will help you:

Project Stars
1 moviepy 11,918
2 backgroundremover 6,352
3 openshot-qt 4,012
4 Text2Video-Zero 3,808
5 auto-editor 2,573
6 TokenFlow 1,486
7 OpenTimelineIO 1,380
8 StableVideo 1,341
9 Text2LIVE 849
10 transparent-background 564
11 WebmGenerator 470
12 Video-P2P 339
13 movis 309
14 Implicit-Internal-Video-Inpainting 239
15 LAMP 227
16 RAVE 224
17 SAFA 171
18 Video-Motion-Customization 131
19 crispy 77
20 Video-Silence-Remover 33
21 deblack 19
22 shotstack-sdk-python 20
23 python_cli_video_editor 16

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com