Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once formed a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
On Sat, 2006-10-21 at 01:35 +0200, Bert Freudenberg wrote:
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once formed a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
Yes; not perfectly, if the video formats don't match ours, but if they do, pretty perfectly.
V4l2 is the interface being used (the newer version of the video for Linux interface).
- Bert -
Devel mailing list Devel@laptop.org http://mailman.laptop.org/mailman/listinfo/devel
Hi Folks,
I already hacked a webcam support for Squeak@Linux, it's named "Video4Squeak".
http://minnow.cc.gatech.edu/squeak/3765
It uses Video4Linux, so I think is posible to run it in OLPC.
The camera also support some toys programming features. I also got working the Intel(Play) USB Microscope (except for the ligth, the linux module seems to be broken).
In the screenshot you can see 2 webcams (in fact is one plain webcam and the Intel microscope) capturing at the very same time.
My work assumes the morph will survive the camera disponibility (you can move the squeak image or a .pr to another machine without camera, or if you connect more than one camera the order in USB stack can be different in different boot-processing, etc) and it makes a good job trying to reconnect.
In etoys vocabulary, you can find a "lastFrame" property. This property answer a SketchMorph that you can embed into a container and create an animation. I used to create a project where one (etoys) script capture a frame between time and time (normally 30 seconds) and put the frame into a container. Another script just plays an animation (using the captured frames) and instantly you have an accelerated-video (this type of videos where a flower grows really fast, etc).
The plugin interface is relatively simple, so it's quiet posible to get (the plugin) working in Windoze.
Attached is an screenshot showing the complete etoys-vocabulary.
Let me know if this helps.
Cheers,
-- Diego
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once
formed
a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
Thanks very much Diego!
(Pamela really gets around, and seems not to age ...)
Cheers,
Alan
----------
At 02:48 AM 10/21/2006, Diego Gomez Deck wrote:
Hi Folks,
I already hacked a webcam support for Squeak@Linux, it's named "Video4Squeak".
http://minnow.cc.gatech.edu/squeak/3765
It uses Video4Linux, so I think is posible to run it in OLPC.
The camera also support some toys programming features. I also got working the Intel(Play) USB Microscope (except for the ligth, the linux module seems to be broken).
In the screenshot you can see 2 webcams (in fact is one plain webcam and the Intel microscope) capturing at the very same time.
My work assumes the morph will survive the camera disponibility (you can move the squeak image or a .pr to another machine without camera, or if you connect more than one camera the order in USB stack can be different in different boot-processing, etc) and it makes a good job trying to reconnect.
In etoys vocabulary, you can find a "lastFrame" property. This property answer a SketchMorph that you can embed into a container and create an animation. I used to create a project where one (etoys) script capture a frame between time and time (normally 30 seconds) and put the frame into a container. Another script just plays an animation (using the captured frames) and instantly you have an accelerated-video (this type of videos where a flower grows really fast, etc).
The plugin interface is relatively simple, so it's quiet posible to get (the plugin) working in Windoze.
Attached is an screenshot showing the complete etoys-vocabulary.
Let me know if this helps.
Cheers,
-- Diego
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once
formed
a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
Etoys mailing list Etoys@laptop.org http://mailman.laptop.org/mailman/listinfo/etoys
Oh, that looks great, Diego! We'll definitely will try to get it working :)
- Bert -
Am 21.10.2006 um 11:48 schrieb Diego Gomez Deck:
Hi Folks,
I already hacked a webcam support for Squeak@Linux, it's named "Video4Squeak".
http://minnow.cc.gatech.edu/squeak/3765
It uses Video4Linux, so I think is posible to run it in OLPC.
The camera also support some toys programming features. I also got working the Intel(Play) USB Microscope (except for the ligth, the linux module seems to be broken).
In the screenshot you can see 2 webcams (in fact is one plain webcam and the Intel microscope) capturing at the very same time.
My work assumes the morph will survive the camera disponibility (you can move the squeak image or a .pr to another machine without camera, or if you connect more than one camera the order in USB stack can be different in different boot-processing, etc) and it makes a good job trying to reconnect.
In etoys vocabulary, you can find a "lastFrame" property. This property answer a SketchMorph that you can embed into a container and create an animation. I used to create a project where one (etoys) script capture a frame between time and time (normally 30 seconds) and put the frame into a container. Another script just plays an animation (using the captured frames) and instantly you have an accelerated-video (this type of videos where a flower grows really fast, etc).
The plugin interface is relatively simple, so it's quiet posible to get (the plugin) working in Windoze.
Attached is an screenshot showing the complete etoys-vocabulary.
Let me know if this helps.
Cheers,
-- Diego
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once
formed
a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
<Video4Squeak.jpeg>
Etoys mailing list Etoys@laptop.org http://mailman.laptop.org/mailman/listinfo/etoys
May need some updating; Jon Corbet implemented the V4Lv2 interface (the newer driver interface for Linux). At this date, implementing the older driver interface was clearly a mistake.
I don't know how different V1 is from v2.
- Jim
On Sat, 2006-10-21 at 11:48 +0200, Diego Gomez Deck wrote:
Hi Folks,
I already hacked a webcam support for Squeak@Linux, it's named "Video4Squeak".
http://minnow.cc.gatech.edu/squeak/3765
It uses Video4Linux, so I think is posible to run it in OLPC.
The camera also support some toys programming features. I also got working the Intel(Play) USB Microscope (except for the ligth, the linux module seems to be broken).
In the screenshot you can see 2 webcams (in fact is one plain webcam and the Intel microscope) capturing at the very same time.
My work assumes the morph will survive the camera disponibility (you can move the squeak image or a .pr to another machine without camera, or if you connect more than one camera the order in USB stack can be different in different boot-processing, etc) and it makes a good job trying to reconnect.
In etoys vocabulary, you can find a "lastFrame" property. This property answer a SketchMorph that you can embed into a container and create an animation. I used to create a project where one (etoys) script capture a frame between time and time (normally 30 seconds) and put the frame into a container. Another script just plays an animation (using the captured frames) and instantly you have an accelerated-video (this type of videos where a flower grows really fast, etc).
The plugin interface is relatively simple, so it's quiet posible to get (the plugin) working in Windoze.
Attached is an screenshot showing the complete etoys-vocabulary.
Let me know if this helps.
Cheers,
-- Diego
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once
formed
a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
Devel mailing list Devel@laptop.org http://mailman.laptop.org/mailman/listinfo/devel
Jim Gettys jg@laptop.org wrote:
I don't know how different V1 is from v2.
They are different, but there is a compatibility layer which does an almost complete job if impedance matching between the two. The biggest exception is in the streaming I/O area (V4L1 expects buffers to be adjacent to each other in memory); if the need arises, this can be worked around in the driver.
jon
Hi Jim,
Any good V4L implementation has to consider both cases (V4L1 and V4L2) because there are still too many V4L1 drivers living around.
The squeak-plugin I implemented try to used V4L2 and fallback to V4L1 when needed.
Does the OLPC simulator support V4L? In this case, I can try to migrate the plugin for myself.
Another question: What palettes are used in OLPC?
Currently the plugin supports:
- RGB24 - 24bit RGB - RGB32 - 32bit RGB - YUV420 - YUV420P - YUV 4:2:0 Planar
But it's quiet easy to add support for another palette format.
Cheers,
-- Diego
May need some updating; Jon Corbet implemented the V4Lv2 interface (the newer driver interface for Linux). At this date, implementing the older driver interface was clearly a mistake.
I don't know how different V1 is from v2.
- Jim
On Sat, 2006-10-21 at 11:48 +0200, Diego Gomez Deck wrote:
Hi Folks,
I already hacked a webcam support for Squeak@Linux, it's named "Video4Squeak".
http://minnow.cc.gatech.edu/squeak/3765
It uses Video4Linux, so I think is posible to run it in OLPC.
The camera also support some toys programming features. I also got working the Intel(Play) USB Microscope (except for the ligth, the linux module seems to be broken).
In the screenshot you can see 2 webcams (in fact is one plain webcam and the Intel microscope) capturing at the very same time.
My work assumes the morph will survive the camera disponibility (you can move the squeak image or a .pr to another machine without camera, or if you connect more than one camera the order in USB stack can be different in different boot-processing, etc) and it makes a good job trying to reconnect.
In etoys vocabulary, you can find a "lastFrame" property. This property answer a SketchMorph that you can embed into a container and create an animation. I used to create a project where one (etoys) script capture a frame between time and time (normally 30 seconds) and put the frame into a container. Another script just plays an animation (using the captured frames) and instantly you have an accelerated-video (this type of videos where a flower grows really fast, etc).
The plugin interface is relatively simple, so it's quiet posible to get (the plugin) working in Windoze.
Attached is an screenshot showing the complete etoys-vocabulary.
Let me know if this helps.
Cheers,
-- Diego
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once
formed
a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
Devel mailing list Devel@laptop.org http://mailman.laptop.org/mailman/listinfo/devel
On Sun, 2006-10-22 at 11:46 +0200, Diego Gomez Deck wrote:
Hi Jim,
Any good V4L implementation has to consider both cases (V4L1 and V4L2) because there are still too many V4L1 drivers living around.
The squeak-plugin I implemented try to used V4L2 and fallback to V4L1 when needed.
Good.
Does the OLPC simulator support V4L?
No.
In this case, I can try to migrate the plugin for myself.
The easy way to get close to the hardware until we can get you a sample is to get a USB webcam of somewhat similar characteristics that uses V4L2, and confirm it works on Squeak/etoys under a current Sugar build (the environment can be built and tested on a conventional desktop).
Another question: What palettes are used in OLPC?
Currently the plugin supports:
- RGB24 - 24bit RGB - RGB32 - 32bit RGB - YUV420 - YUV420P - YUV 4:2:0 Planar
But it's quiet easy to add support for another palette format.
Jon Corbet can comment on the formats we support. - Jim
Cheers,
-- Diego
May need some updating; Jon Corbet implemented the V4Lv2 interface (the newer driver interface for Linux). At this date, implementing the older driver interface was clearly a mistake.
I don't know how different V1 is from v2.
- Jim
On Sat, 2006-10-21 at 11:48 +0200, Diego Gomez Deck wrote:
Hi Folks,
I already hacked a webcam support for Squeak@Linux, it's named "Video4Squeak".
http://minnow.cc.gatech.edu/squeak/3765
It uses Video4Linux, so I think is posible to run it in OLPC.
The camera also support some toys programming features. I also got working the Intel(Play) USB Microscope (except for the ligth, the linux module seems to be broken).
In the screenshot you can see 2 webcams (in fact is one plain webcam and the Intel microscope) capturing at the very same time.
My work assumes the morph will survive the camera disponibility (you can move the squeak image or a .pr to another machine without camera, or if you connect more than one camera the order in USB stack can be different in different boot-processing, etc) and it makes a good job trying to reconnect.
In etoys vocabulary, you can find a "lastFrame" property. This property answer a SketchMorph that you can embed into a container and create an animation. I used to create a project where one (etoys) script capture a frame between time and time (normally 30 seconds) and put the frame into a container. Another script just plays an animation (using the captured frames) and instantly you have an accelerated-video (this type of videos where a flower grows really fast, etc).
The plugin interface is relatively simple, so it's quiet posible to get (the plugin) working in Windoze.
Attached is an screenshot showing the complete etoys-vocabulary.
Let me know if this helps.
Cheers,
-- Diego
Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
Comment (by jg):
Really cool.
Does Etoys/squeak have support for cameras? We got that running today...
Well, there is "VideoFlow", which looks interesting, but requires a plugin that might not have been ported to Linux yet:
http://minnow.cc.gatech.edu/squeak/2411
And I just received some old bits from Tim Rowledge which once
formed
a Video4Linux plugin.
How would I access the camera? And until I get a b-test, could this be simulated by a USB camera?
- Bert -
Devel mailing list Devel@laptop.org http://mailman.laptop.org/mailman/listinfo/devel
Diego Gomez Deck DiegoGomezDeck@consultar.com wrote:
Another question: What palettes are used in OLPC?
The driver can currently do YUV422, RGB565, and RGB444, all packed formats. The hardware will support YUV420 planar, so that could be added if there is a need for it. I'll probably also implement raw Bayer output at some point.
jon
Hi folks,
I got Video4Squeak working on Squeak-OLPC image (It's was very straight forward, only UpdatingNumericStringMorph class was absent).
But...
Another question: What palettes are used in OLPC?
The driver can currently do YUV422, RGB565, and RGB444, all packed formats. The hardware will support YUV420 planar, so that could be added if there is a need for it. I'll probably also implement raw Bayer output at some point.
... I have no a webcam with YUV422 format to try.
Is it posible to capture (to a binary file) one YUV422 buffer? Or any idea where I can find a YUV422 file to download?
With any of these I can test my YUV422-to-RGB24 conversion function.
Cheers,
-- Diego
Hi Diego,
did you make progress on this? Is your code available?
- Bert -
Am 24.10.2006 um 12:24 schrieb Diego Gomez Deck:
Hi folks,
I got Video4Squeak working on Squeak-OLPC image (It's was very straight forward, only UpdatingNumericStringMorph class was absent).
But...
Another question: What palettes are used in OLPC?
The driver can currently do YUV422, RGB565, and RGB444, all packed formats. The hardware will support YUV420 planar, so that could be added if there is a need for it. I'll probably also implement raw Bayer output at some point.
... I have no a webcam with YUV422 format to try.
Is it posible to capture (to a binary file) one YUV422 buffer? Or any idea where I can find a YUV422 file to download?
With any of these I can test my YUV422-to-RGB24 conversion function.
Cheers,
-- Diego
--
Diego Gomez Deck
http://www.consultar.com/DiegoGomezDeck/ http://diegogomezdeck.blogspot.com/ http://smalltalk.consultar.com/ ==========================================
Etoys mailing list Etoys@laptop.org http://mailman.laptop.org/mailman/listinfo/etoys
Hi Bert,
I sent the code to Yoshiki.
Cheers,
-- Diego
Ah, thanks!
Yoshiki, did you forward the VM bits to Ian so they eventually will be in the SVN tree for us to use?
- Bert -
Am 06.11.2006 um 10:19 schrieb Diego Gomez Deck:
Hi Bert,
I sent the code to Yoshiki.
Cheers,
-- Diego
Etoys mailing list Etoys@laptop.org http://mailman.laptop.org/mailman/listinfo/etoys
etoys-dev@lists.squeakfoundation.org