Quicktime in Squeak
John M McIntosh
johnmci at smalltalkconsulting.com
Wed Jan 18 09:23:44 UTC 2006
There is a problem with loading FFI api methods via Monticello, you
must ensure you've also loaded this version before you load any code
that creates FFI structured classes.
"Name: Monticello-bf.273
Author: bf
Time: 5 January 2006, 4:33:19 pm
UUID: 2edc365b-9da0-4978-9b14-b53305b4914a
Ancestors: Monticello-bf.272
Fix loading of ExternalStructures. The normal file-out code inserts a
#compileFields send. So we now send #compileFields when #fields was
changed, similar to the #initialize call."
If you've already loaded stuff then you must do a "ExternalStructure
compileAllFields" to fix things.
I'll note this quicktime stuff is a moving target, I did a bit of
work today to provide a plugin that creates a squeak surface object
so that we can copy the form from the surface
into the tweak morphic, and to signal a semaphore when quicktime
signals a frame is completed so we know when to grab the frame for
display.
I haven't published the plugin yet, and tomorrow I need to spend
some time with Steven in cleaning a few things up.
On 17-Jan-06, at 11:37 PM, Josh Gargus wrote:
> I grabbed some of the latest Sophie stuff:
>
> Network-URI-swr.12.mcz
> Files-Locations-JMM.23.mcz
> Sophie-FFI-Mac-JMM.6.mcz
> Sophie-Quicktime-swr.4.mcz
>
> However, I can't make any of the examples work. Both
> SophieQuickTimeMovie>>example and SophieQuickTimeMovie>>example2
> crash the VM.
> The first problem is in
> #callQTNewDataReferenceFromFullPathCFString:style:flags: , where
> the FFI call to
> #apiCFStringCreateWithBytesAllocator:buffer:size:encoding:external:
> fails. I thought this might be because the 'allocator' needed to
> be 0 instead of nil, but that didn't fix things. Any ideas?
>
> Thanks,
> Josh
>
> On Jan 14, 2006, at 2:18 PM, Steven Riggins wrote:
>
>> Right now we've only done the Mac FFI calls.
>>
>> On my last of breed powerbook, the video is hardware accelerated
>> so it plays entirely on top of squeak objects. We don't have the
>> form based stuff working yet.
>>
>>
>> On Jan 14, 2006, at 11:25 AM, Josh Gargus wrote:
>>
>>>
>>> I'd love to see it once it can grab bits into a Squeak form;
>>> please announce when it is finished.
>>>
>>> Will this be a Windows and MacOS solution?
>>>
>>> Thanks,
>>> Josh
>>>
>>
>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|