moviepy
auto-editor
moviepy | auto-editor | |
---|---|---|
45 | 24 | |
11,801 | 2,512 | |
- | - | |
2.8 | 9.1 | |
8 days ago | 10 days ago | |
Python | Python | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moviepy
-
Show HN: Revideo – Create Videos with Code
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
-
Video Generation with Python
Python has become a popular programming language for different applications, including data science, artificial intelligence, and web development. But, did you know creating and rendering fully customized videos with Python is also possible? At Stack Builders, we have successfully used Python libraries such as MoviePy, SciPy, and ImageMagick to generate videos with animations, text, and images. In this article, we will look closer at how Python can be used for video generation and explore some of the powerful libraries and tools that make it possible.
-
VideoClip.set_layer functionality not working
VideoClip.set_layer functionality was added in https://github.com/Zulko/moviepy/pull/1176 but when I try to use it I get this error:
- Is there any Python library that can programmatically add text to videos with effects?
-
YouTube Downloader
Moviepy was used to connect video and audio track.
- Video Editor
-
Generate all possible combinations of a set of videos
I'm pretty sure Moviepy can do something like this.
-
bug in 'cutout' transformation
For those of you who will try to figure this out, I have a couple notes. First, this doesn’t appear to be the only bug in cutout. If one tries to cut out X length of video, then the new rendered video will have X length of audio removed from the end. In other words, if I remove 3 seconds of film somewhere in the media, the resulting movie will have 3 seconds of silence at the end, although the video at the end is still intact. Thankfully, this can be fixed by going into the moviepy library, into “decorators”, and on line 43 under “def apply_to_audio(f, clip, *a, **k):”, change it from “newclip.audio = f(newclip.audio, *a, **k)” to “newclip.audio = f(clip.audio, *a, **k)”. By the way, I didn’t come up with this fix, these guys did.
-
lord-of-the-clips (lotc): CLI app to download, trim/clip, and merge videos. Supports lots of sites. Downloads/trims at multiple points. Merges multiple clips.
This app leverages these powerful libraries: - yt-dlp: video downloader - moviepy: video trimmer/merger - click: CLI app creator - rich / rich-click: CLI app styler
-
How to extract an audio file from a video with Python
The pip will be used to install and use Moviepy.
auto-editor
-
How can I decrease my editing time?
A few days ago I discovered a program that automatically trims the pauses from your video. This can decrease my raw footage duration by around 25%. I've used this for editing two videos so far, and this has been such a helpful tool.
-
Error! FFmpeg Error!
Looking at the GitHub of auto-editor , I see it has a options page, and not being familiar with this app, I can see it has a pretty good display options.
- [Video Editing] Auto Silence Remover * gratuit *.
-
Name a program that doesn't get enough love!
auto-editor — removing silent portions from video recordings
-
This Week in Python
auto-editor – Auto-Editor: Effort free video editing
-
I used to love hitflim
Auto-Editor <--Is a command line application.
-
Camgirls recordings storage
auto-editor can edit parts out based on motion and noise thresholds. I haven't found any settings I'm happy with though.
-
Which not so well known Python packages do you like to use on a regular basis and why?
https://github.com/WyattBlue/auto-editor - to automatically remove silent portions of video recordings.
-
Show HN: Recut automatically removes silence from videos. It's built with Tauri
For those of us on Linux, check out https://github.com/WyattBlue/auto-editor: "Auto-Editor is a command line application for automatically editing video and audio by analyzing a variety of methods, most notably audio loudness."
-
Auto silence remover *FREE*.
However I have compiled it into a Windows binary which you can find here.Also a video I posted on using it is here.He also has a website for it here, from which you can also find a GUI version for Windows and Mac for a "donation" of $35 or more.
What are some alternatives?
ffmpeg-python - Python bindings for FFmpeg - with complex filtering support
ffmpeg-normalize - Audio Normalization for Python/ffmpeg
vidgear - A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features :fire:
atbswp - A minimalist macro recorder
scikit-video - Video processing routines for SciPy
WebmGenerator - UI and Automation to cut, filter and join high quality webms, mp4s or gifs.
SaveTube - Youtube-dl GUI Wrapper
unsilence - Console Interface and Library to remove silent parts of a media file 🔈
PyAV - Pythonic bindings for FFmpeg's libraries.
procedural-gl-js - Mobile-first 3D mapping engine with emphasis on user experience
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
WOLOF-ASR-Wav2Vec2 - Audio Preprocessing and finetuning of wav2vec2-large-xlsr model on AI4D Baamtu Datamation - Automatic Speech Recognition in WOLOF Data.