Alex Rivera | Logout

Best video manipulation library for Python?

Asked 2008-10-21T05:34:41.190
32

I'd like to include some simple video editing functionality for the Python application I'm writing and googling comes up with:

  1. pymedia
  2. pyglet (using the media module)
  3. gst-python

Requirements:

  1. Small footprint. I'm already using wxPython (just because), which bloats up the final EXE file pretty easily so preferably whatever I use to implement this video editing functionality shouldn't add to the bloat significantly.
  2. The library should still be actively maintained.
  3. It shouldn't require proprietary licensing, so FMOD is out of the question.
  4. Minimal dependencies
  5. Not a full-blown video editor. No need for fancy pants stuff. Just the ability to skip to different parts of a video and either grab a frame or put (multiple) markers for start and end of video sections to lop off bits.
  6. Cross platform - should be able to run on Windows, Linux and OS X at the end of the day.

If you've used any of the above video editing libraries listed above or others I have yet to come across in your Python application, I'd like to know the pitfalls for each and how they stack up against each other. If you also know of a Python binding for avbin, I would like to know where to find it.

gst-python (Gstreamer with Python bindings) doesn't seem to be very well documented. It also appears to be tightly coupled with pyGTK, which is also a pretty big toolkit.

Edit
Report

1 Answer

3

I am currently in the same predicament. I have been fortunate to get in touch with the developers of the Ardome Media Library project.

This library is a filter graph based system. It is freely based on the http://www.khronos.org/openml/ I think.

It currently runs on Linux and OS X with pending Windows integration.

answered 2008-11-13T09:05:13.847

Your Answer