I've been trying to integrate pyffmpeg with impressive
(http://impressive.sf.net), and I've run into a few problems, that I
fixed with the 3 patches below.
fix-cython-0.14.patch:
- Fixes compilation error with cython 0.14 (__new__ is renamed to
__cinit__)
fix-registration.patch:
- I've had problems with pyffmpeg not calling "av_register_all". It is
supposed to be done at library init time, but wasn't done in my case
(this caused the problem I had here:
http://groups.google.com/group/pyffmpeg/browse_frm/thread/c0e7d3125ca0ebc2).
- I tried to fix the problem in a nice way, with a static variable
"registered", but it doesn't seem to work (that may be a cython bug,
IIRC registered is not set to false by default), so basically, I'm
always calling "av_register_all"
ignore-notfound-track.patch:
- Ignores errors if a track is not found. This is useful for videos
files without an audio track.
Thanks,
Best regards,
Nicolas