News for hackers. Stuff that matters.
Re:Ffmpeg-Python: Python bindings for FFmpeg – with complex ... by Felk on Sunday December 29, 2019 @04:33PM (#21908651)
I had to use ffmpeg from within python once and gave ffmpeg-python a shot. It works very nicely for a lot of things, but had some limitations that made me write a very lightweight, somewhat OO wrapper around ffmpeg filters. Using it to e.g. generate a silent colored screen with text on it looks something like this: https://gist.github.com/Felk/975c096083e8434a8b5823173f8b22f...

Are there already existing, more polished wrappers around ffmpeg that include enough escape hatches to be able to fully leverage everything ffmpeg supports? I probably just didn't search and evaluate options long enough.

Re:Ffmpeg-Python: Python bindings for FFmpeg – with complex ... by yardshop on Monday December 30, 2019 @08:05PM (#21918173)
I don't know where it ranks in terms of your question points, but MoviePy is another well liked Python library that seems to wrap ffmpeg, and will also make use of ImageMagick for some functions.

I used MoviePy a few years ago to add subtitles to a short video. It was fairly easy to write a script to place bits of text at specific frames.

I'm interested to learn more about the differences and similarities of ffmpeg-python and MoviePy and will put some energy into that.

https://github.com/Zulko/moviepy