what's the [current] status of squeak and video support? - input, output, display, etc .... r there future plans for squeak and video?
On Wed, 28 Dec 2005 00:12:10 -0500, polishook@optonline.net wrote:
what's the [current] status of squeak and video support? - input, output, display, etc .... r there future plans for squeak and video?
I recently hooked Squeak up to Framecap (http://www.robin-hewitt.com/framecap/) using FFI, and can pull frames from my webcam into Squeak... The code to do it is pretty simple, although to translate from their image format to Form would probably be better done in a PlugIn...
I've attached the class, which is just a basic interface to the DLL from Framecap, and a helper method to extract the frame and do the conversion.
Later, Jon
-------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
On 12/28/05, Jon Hylands jon@huv.com wrote:
I recently hooked Squeak up to Framecap (http://www.robin-hewitt.com/framecap/) using FFI, and can pull frames from my webcam into Squeak... The code to do it is pretty simple, although to translate from their image format to Form would probably be better done in a PlugIn...
Jon, i threw the capture along with a Form displayOn: Display in a simple while loop and it's really slow. Do you think the FFI is the responsible, and the performance hit could be avoided by converting it to a plugin? -- Ragnar
On Fri, 24 Feb 2006 12:54:53 +0100, "Ragnar Hojland Espinosa" ragnar@ragnar-hojland.com wrote:
Jon, i threw the capture along with a Form displayOn: Display in a simple while loop and it's really slow. Do you think the FFI is the responsible, and the performance hit could be avoided by converting it to a plugin?
No, the performance hit is converting their pixel format into our pixel format, which could also be fixed by switching this to a plugin and doing that part in C.
If you end up doing a plugin for this, I'd be very interested in getting it...
Later, Jon -------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
You might take a look at:
http://kilana.unibe.ch:8888/@PuLuRbiuiJNjEKax/hdhVQRCY
From the site: " Project Description This is a library for reading, analyzing and writing audio and video data. At the moment this includes avi container, mpeg audio and mpeg4 video. It is not an encoder or decoder for audio or video streams. "
polishook@optonline.net wrote: what's the [current] status of squeak and video support? - input, output, display, etc .... r there future plans for squeak and video?
--------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Il giorno mer, 28/12/2005 alle 17.51 -0800, Squeak List ha scritto:
You might take a look at:
Also reachable at http://www.squeaksource.com/avilib.html .
Giovanni
Am Thursday, 29. December 2005 10:05 schrieb Giovanni Corriga:
Il giorno mer, 28/12/2005 alle 17.51 -0800, Squeak List ha scritto:
You might take a look at:
Also reachable at http://www.squeaksource.com/avilib.html .
Giovanni
And a new release is due in a couple of days.
Martin
Hi martin
Do you think that the state is good enough to have it in the Full 3.9?
Stef
On 29 déc. 05, at 19:15, Martin Kuball wrote:
Am Thursday, 29. December 2005 10:05 schrieb Giovanni Corriga:
Il giorno mer, 28/12/2005 alle 17.51 -0800, Squeak List ha scritto:
You might take a look at:
Also reachable at http://www.squeaksource.com/avilib.html .
Giovanni
And a new release is due in a couple of days.
Martin
Am Thursday, 29. December 2005 22:58 schrieb stéphane ducasse:
Hi martin
Do you think that the state is good enough to have it in the Full 3.9?
Well, from my point of view it's still very experimental. Altough usable for certain tasks. The next release will come with some code examples. So you can see more easyly what it's good for. And I think about making a Squeak Map version. So it will be more accessable for people and hopefully I will get more feedback.
Martin
Stef
On 29 déc. 05, at 19:15, Martin Kuball wrote:
Am Thursday, 29. December 2005 10:05 schrieb Giovanni Corriga:
Il giorno mer, 28/12/2005 alle 17.51 -0800, Squeak List ha
scritto:
You might take a look at:
Also reachable at http://www.squeaksource.com/avilib.html .
Giovanni
And a new release is due in a couple of days.
Martin
Does such a thing exist yet?
Thanks,
Jerry
On 31-Dec-05, at 6:44 AM, Jerry Bell wrote:
Does such a thing exist yet?
Not to my knowledge; the original work was done on RISC OS and OSX, with some progress made on Windows that I've heard of.
The VM work is relatively simple (deliberately) and the real task is getting someone with real morphic skills to integrate morphic with the idea of multiple (ie any number from 0 up) windows. John also did work on a mac menubar extension.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Quality assurance: A way to ensure you never deliver shoddy goods accidentally.
Tim, that would be a *fun* project, however tweak was easy because it's project world is an instance and referring to the display or to the eventsensor queue leads to an instance variable, versus a global. So with Areithfa Ffenestri we could set to the Areithfa Ffenestri window display, and dispatch events from the VM to the window keyed eventsensor for a tweak project. Plus of course the coordinate systems was 0,0 in a project and asking for the cooridnates involved tweak mapping the eventsensor values to tweak values which works just fine when dealing with tweak in the main window or a window containing a tweak project, mapping is different but that just means a different subclass of the tweak project class.
With morphic you refer directly to the eventsensor and display without any concept of a window so there is not even at times anywhere to ask/go/find what window you are getting events from or should be rendering too. In my sophie image there is 435 usages of Display, 269 of Sensor, nontrivial issue.
On 31-Dec-05, at 10:50 AM, tim Rowledge wrote:
On 31-Dec-05, at 6:44 AM, Jerry Bell wrote:
Does such a thing exist yet?
Not to my knowledge; the original work was done on RISC OS and OSX, with some progress made on Windows that I've heard of.
The VM work is relatively simple (deliberately) and the real task is getting someone with real morphic skills to integrate morphic with the idea of multiple (ie any number from 0 up) windows. John also did work on a mac menubar extension.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Quality assurance: A way to ensure you never deliver shoddy goods accidentally.
-- ======================================================================== === John M. McIntosh johnmci@smalltalkconsulting.com 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===
squeak-dev@lists.squeakfoundation.org