[visionegg] Re: quicktime

Hi Mason,

Finally I've had a chance to look at my build system -- it appears that
I have C:\Program Files\QuickTime\QTSystem\QTMLClient.dll version
7.4.1.14. I also have QuickTime player 7.4.1 and Apple QuickTime SDK
7.3.0.70 sitting on my Desktop, so I assume those are the versions I
used to build with.

Anyhow, this is actually a VMWare machine on a linux desktop. Given that
many of the examples aren't working in this environment due to the
emulation, it's pretty clear that I need to find a real Windows
installation to test this on. I shall endeavor to rustle something up.
(I've actually been trying to install Windows but my CD drive appears
broken at the moment.) Anyhow, stay tuned, sorry for the delay!

-Andrew

Andrew Straw wrote:
> Hi Mason,
>
> If I remember correctly, I initially developed this against QT 6, but I
> have since found it exceeding difficult to locate older versions of
> software on Apple's website (which was particularly irksome since I had
> purchased QT 6 Pro). Anyhow, this 1.1 release candidate I made on a
> freshly installed copy of Windows, so I must have downloaded that file
> from somewhere recently. I'll have to boot that machine again and try to
> sort through what I did and where the files came from...
>
> -Andrew
>
> Smith, Mason wrote:
>   
>> From Apple's website I downloaded Quicktime 7.3 SDK for Windows, and
>> QTMLClient.dll wasn't in the download.
>>
>> From googling QTMLClient.dll it seems like it may have been included in
>> earlier versions (e.g. Quicktime 5 SDK).  I found a couple different
>> places where I could download different versions of QTMLClient.dll.  For
>> both versions, I placed it in the path where VisionEgg was trying to
>> find it, ran quicktime.py, and got the following error:
>>
>> 2008-04-15 19:50:33,980 (3160) CRITICAL: Traceback (most recent call
>> last):
>>   File "C:\Documents and Settings\masonrs\Desktop\video
>> test\demo\quicktime.py", line 14, in <module>
>>     from VisionEgg.QuickTime import new_movie_from_filename,
>> MovieTexture
>>   File "C:\Python25\lib\site-packages\VisionEgg\QuickTime.py", line 17,
>> in <module>
>>     import VisionEgg.qtmovie as qtmovie
>>   File "C:\Python25\Lib\site-packages\VisionEgg\qtmovie.py", line 2, in
>> <module>
>>     import qtlowlevel
>>   File "C:\Python25\Lib\site-packages\VisionEgg\qtlowlevel.py", line
>> 117, in <module>
>>     NewMovieFromProperties = QTMLClient.NewMovieFromProperties
>>   File "C:\Python25\lib\ctypes\__init__.py", line 362, in __getattr__
>>     func = self.__getitem__(name)
>>   File "C:\Python25\lib\ctypes\__init__.py", line 367, in __getitem__
>>     func = self._FuncPtr((name_or_ordinal, self))
>> AttributeError: function 'NewMovieFromProperties' not found
>>
>> Perhaps both the versions of QTMLClient.dll that I found are different
>> from yours?
>>
>> -----Original Message-----
>> From: visionegg-bounce@xxxxxxxxxxxxx
>> [mailto:visionegg-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Straw
>> Sent: Tuesday, April 15, 2008 1:42 AM
>> To: visionegg@xxxxxxxxxxxxx
>> Subject: [visionegg] Re: quicktime
>>
>> Hi Mason,
>>
>> I'll have to re-trace my steps w.r.t the Windows installation of 
>> QuickTime and see where those files came from. My guess is that if 
>> they're not with Apple's QuickTime download, they must be with the 
>> QuickTime SDK. Anyhow, I've been quite busy lately (sorry for the delay 
>> responding) and it will most likely be another few days before I can get
>>
>> to this. I suspect that downloading and installing the SDK will 
>> hopefully solve the problem. Clearly this is something I need to sort 
>> out before the 1.1 release, so thanks for testing.
>>
>> -Andrew
>>
>> Smith, Mason wrote:
>>   
>>     
>>> Thanks Andrew.
>>> multi_stim.py worked fine.
>>> quicktime.py failed with the attached error message.
>>>
>>> I inserted a statement in ctypes\__init__.py just before the error
>>> occurs, to print out self._name, which it tries to load.  It's
>>> C:\Program Files\QuickTime\QTSystem\QTMLClient.dll.  Indeed, this file
>>> is absent on my computer; the QTSystem folder doesn't exist and
>>> QTMLClient.dll isn't anywhere else.  I updated to the latest version
>>>     
>>>       
>> of
>>   
>>     
>>> Quicktime, and no difference.
>>>
>>> Side note:  I needed to install numpy before multi_stim.py would run.
>>> You should add numpy to the list of necessary packages in the download
>>> instructions.  
>>>
>>> -----Original Message-----
>>> From: visionegg-bounce@xxxxxxxxxxxxx
>>> [mailto:visionegg-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Straw
>>> Sent: Monday, April 07, 2008 5:54 PM
>>> To: visionegg@xxxxxxxxxxxxx
>>> Subject: [visionegg] Re: quicktime
>>>
>>> Hi Mason,
>>>
>>> I have a 1.1 release candidate compiled and waiting for testing on
>>> Windows. Seeing as I've had this compiled and ready to test for some
>>> weeks (since my "1.1 imminent" email) but haven't actually found the
>>> time/willpower to fire up a Windows installation and test, you're now
>>> volunteered as the tester. I have uploaded this release to
>>>
>>>
>>>     
>>>       
>> http://visionegg.org/Intro%20and%20Overview?action=AttachFile&do=view&ta
>>   
>>     
>>> rget=visionegg-11win32-py25.exe
>>>
>>>
>>> Note that I really can't advertise this release too much because it's
>>> labelled as "1.1" even though it should really be "1.1rc1". In other
>>> words, the real 1.1 will supercede this. (This will obviously only be
>>>     
>>>       
>> a
>>   
>>     
>>> problem if this does not become the real 1.1.)
>>>
>>> Anyhow, I did my best to ensure that quicktime is working with this
>>> release, so it should hopefully resolve your issue. Also, you should
>>>     
>>>       
>> not
>>   
>>     
>>> need to use a C compiler to use this.
>>>
>>> This includes just the Vision Egg python modules -- none of the demo
>>> scripts. If you could simply get them from
>>> http://visionegg.org/svn/trunk/visionegg/demo/ and test, that would be
>>> best.
>>>
>>> If you test these demos successfully (in particular multi_stim.py and
>>> quicktime.py), I'll go ahead and make this the 1.1 release.
>>>
>>> FWIW, I had to use Visual Studio 2003 to get this to compile -- now
>>> quite hard to get, I think.
>>>
>>> Thanks,
>>> Andrew
>>>
>>> Smith, Mason wrote:
>>>   
>>>     
>>>       
>>>> Hi,
>>>>
>>>> I'm trying to play Quicktime movies in VisionEgg, on a Windows XP
>>>> machine.  From earlier posts it looks like I need to install the
>>>> bleeding edge.  I tried to install it using MinGW as the compiler
>>>> (before trying MinGW I was getting "error: The .NET Framework SDK
>>>>     
>>>>       
>>>>         
>>> needs
>>>   
>>>     
>>>       
>>>> to be installed before building extensions for Python" even though
>>>>     
>>>>       
>>>>         
>>> .NET
>>>   
>>>     
>>>       
>>>> was installed).  I got the attached messages indicating that _gl_qt
>>>> failed to compile.  Then when I try to run quicktime.py I get
>>>> "ImportError:  No module named _gl_qt".  I get the same ImportError
>>>>       
>>>>         
>> if
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> I
>>>   
>>>     
>>>       
>>>> try to install VisionEgg with skip_c_compilation set to True.  Do you
>>>> know what's going on here?
>>>>
>>>> Thanks,
>>>>
>>>> Mason Smith
>>>>
>>>>     
>>>>       
>>>>         
>>> ======================================
>>> The Vision Egg mailing list
>>> Archives: http://www.freelists.org/archives/visionegg
>>> Website: http://www.visionegg.org/mailinglist.html
>>>   
>>>     
>>>       
>> ======================================
>> The Vision Egg mailing list
>> Archives: http://www.freelists.org/archives/visionegg
>> Website: http://www.visionegg.org/mailinglist.html
>> ====================================
>> The Vision Egg mailing list
>> Archives: http://www.freelists.org/archives/visionegg
>> Website: http://www.visionegg.org/mailinglist.html
>>   
>>     
>
> ======================================
> The Vision Egg mailing list
> Archives: http://www.freelists.org/archives/visionegg
> Website: http://www.visionegg.org/mailinglist.html
>   

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: