Best video manipulation library for Python? [closed] Best video manipulation library for Python? [closed] python python

Best video manipulation library for Python? [closed]


I would recommend that you look again at gst-python! It is not coupled with pyGTK. You can use it completely separately, with no dependencies on either the Python bindings or the C libraries of GTK. I've written several command-line utilities that use gst-python and not GTK.

It's true that the gst-python docs are not so great. However, the documentation for the C API and modules is really very extensive, and the mapping from the C API to the Python API is very straightforward. And there is a very active Gstreamer community and I had good luck finding help on the mailing lists and IRC!


I'm working on a project using pyglet right now and I absolutely love it. Their website is going slow right now, but normally the programming guide on their documentation page is an excellent introduction to the library. Their standard API documentation is also very thorough.

I can't really go into the specifics right now of what our project is, but when you say you need

Not a full blown video editor. No needfor fancy pants stuff. Just theability to skip to different parts ofa video and either grab a frame or put(multiple) markers for start and endof video sections to lop off bits.

I can verify that pyglet will make coding this a breeze.

Going through the rest of your list, I can't speak for/against the file size right now, but pyglet is being actively maintained (in fact the devs were quite helpful to me on the bug tracker just two weeks ago), is BSD licensed, depends on nothing (with optional AVBIN support for additional file formats), It works for us on Windows and Linux.

So far the only cross-platform gotcha we have come to is that as far as sound is concerned on Linux, you've got the option of OpenAL which will mix down stereo files to mono and ALSA which will not give you any volume control while a sound is playing. They claim that both of these problems are with upstream and are being worked on.


gst-python isn't coupled with pygtk at all - it just happens to share a common object model (pygobject) and a way to help generate bindings. But you can easily use gst-python without pygtk - take Flumotion as an example.