Movie Module Progress
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:
- ./configure –enable-shared –prefix=”/usr”
- make
- make install
- cd libswscale/
- make
- 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):
- download the branch of source-code, at svn://seul.org/svn/pygame/branches/tylerthemovie
- ./configure
- python setup.py build
- 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