Quicktime in Squeak

Josh Gargus schwa at fastmail.us
Wed Jan 18 16:07:50 UTC 2006


On Jan 18, 2006, at 3:23 AM, John M McIntosh wrote:

> 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

Where can I find this version?  http://kilana.unibe.ch:8888/ 
Monticello doesn't seem to have it.  Do Avi's latest versions contain  
this fix?

>
> 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.

Great, thanks.

>
>
> I'll note this quicktime stuff is a moving target,

Understood.

> 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.
>

Thanks again,
Josh


>
> 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: f 
>> ails.  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