[Numpy-discussion] Loading a Quicktime moive (*.mov) as series of arrays

Robert Kern robert.kern at gmail.com
Wed Jan 18 05:36:39 EST 2012

On Wed, Jan 18, 2012 at 10:19, Peter
<numpy-discussion at maubp.freeserve.co.uk> wrote:
> Sending this again (sorry Robert, this will be the second time
> for you) since I sent from a non-subscribed email address the
> first time.
> On Sun, Jan 15, 2012 at 7:12 PM, Robert Kern wrote:
>> On Sun, Jan 15, 2012 at 19:10, Peter wrote:
>>> Hello all,
>>> Is there a recommended (and ideally cross platform)
>>> way to load the frames of a QuickTime movie (*.mov
>>> file) in Python as NumPy arrays? ...
>> I've had luck with pyffmpeg, though I haven't tried
>> QuickTime .mov files:
>>  http://code.google.com/p/pyffmpeg/
> Thanks for the suggestion.
> Sadly right now pyffmpeg won't install on Mac OS X,
> at least not with the version of Cython I have installed:
> http://code.google.com/p/pyffmpeg/issues/detail?id=44
> There doesn't seem to have been any activity on the
> official repository for some time either.

Oh, right, I had to fix those, too. I've attached the patches that I
used. I used MacPorts to install the ffmpeg libraries, so I modified
the paths in the setup.py appropriately.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-fix.diff
Type: application/octet-stream
Size: 1103 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120118/ec5b0211/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cinit-fix.diff
Type: application/octet-stream
Size: 2427 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120118/ec5b0211/attachment-0001.obj>

More information about the NumPy-Discussion mailing list