Archive for May 22nd, 2009

Movie Module Progress

May 22nd, 2009 | Category: Open-source,python

Okay, so its near the end of the first week of development. Its been an exciting week, learning the ins and outs of python module development.

First, I have code that compiles, links, and can be successfully imported. However, no movie objects are created, there’s a bug somewhere that causes it to return a None object to me. All the code is in svn.

To successfully compile the code, one needs the ffmpeg-0.5 package of source code. In there, follow this process:

  1. ./configure –enable-shared –prefix=”/usr”
  2. make
  3. make install
  4. cd libswscale/
  5. make
  6. make install

This will install the libraries and headers into the /usr directory if you are on Linux.

Then(assuming you have all the other dependencies, see here):

  1. download the branch of source-code, at svn://seul.org/svn/pygame/branches/tylerthemovie
  2. ./configure
  3. python setup.py build
  4. python setup.py install

And thats it! Of course, like I said, it is not yet really operational yet. I will be fixing this bug.

In addition, I will be spending some time over the weekend and up to Wednesday helping out with the local AI/CG/CRV conference hosted by UBC-Okanagan.

2 comments