Thanks. Knowing that it's possible I gave it another try with pix_video, but had no better luck. I am also using the webcam driver from http://webcam-osx.sourceforge.net/. Does anyone else on the list know which object gives access to the webcam? Do I need to provide in some way (a message to the object) the driver to be used?
::: sam :::
On Thu, Feb 12, 2004 at 12:13:20PM -0800, Hans-Christoph Steiner wrote:
I don't remeber the exact object either and my mac is in the shop, so I
dont' have an example patch. IIRC, the object was a special version of
pix_video for MacOS X. I am also almost only an audio person..hc
On Feb 13, 2004, at 11:12 AM, Sam Roig wrote:
Thanks. Knowing that it's possible I gave it another try with pix_video, but had no better luck. I am also using the webcam driver from http://webcam-osx.sourceforge.net/. Does anyone else on the list know which object gives access to the webcam? Do I need to provide in some way (a message to the object) the driver to be used?
...which webcam are you using? Is it firewire or usb? I have had no problems using an iBot, which is a firewire camera...also no problems with any other firewire video input devices (ie. dazzle)...you may want to try [pix_videoDarwin], but that should be the same as [pix_video] (due to object inheritance)...
...as far as set up and drivers and such, it's all handled automagically by quicktime, so don't worry about that...
l8r, jamie
I am using a USB webcam. It works perfectly with other applications, therefore I assume the cam is not the cause of the problem. I tried using [pix_videoDarwin] just in case, but it didn't help. What I did notice is that once I load a patch that makes use of pix_video, the webcam becomes unavailable to other apps. The driver is being used then, I assume.
Have you got a simple example patch?
::: sam :::
On Fri, Feb 13, 2004 at 11:39:06AM -0500, James Tittle II wrote:
On Feb 13, 2004, at 11:12 AM, Sam Roig wrote:
Thanks. Knowing that it's possible I gave it another try with pix_video, but had no better luck. I am also using the webcam driver from http://webcam-osx.sourceforge.net/. Does anyone else on the list know which object gives access to the webcam? Do I need to provide in some way (a message to the object) the driver to be used?
...which webcam are you using? Is it firewire or usb? I have had no problems using an iBot, which is a firewire camera...also no problems with any other firewire video input devices (ie. dazzle)...you may want to try [pix_videoDarwin], but that should be the same as [pix_video] (due to object inheritance)...
...as far as set up and drivers and such, it's all handled automagically by quicktime, so don't worry about that...
l8r, jamie
Which version of GEM are you using? All of the ones built in the last 6 months or so would have pix_video aliased to pix_videoDarwin. Does pix_video (or videoDarwin) print any errors to the console? I know that it will print a set of messages when the object is first loaded, these happen if certain processes are successful or fail.
Can you use the webcam in any other apps on OSX?
cgc
On Feb 13, 2004, at 10:12 AM, Sam Roig wrote:
Thanks. Knowing that it's possible I gave it another try with pix_video, but had no better luck. I am also using the webcam driver from http://webcam-osx.sourceforge.net/. Does anyone else on the list know which object gives access to the webcam? Do I need to provide in some way (a message to the object) the driver to be used?
::: sam :::
On Thu, Feb 12, 2004 at 12:13:20PM -0800, Hans-Christoph Steiner wrote:
I don't remeber the exact object either and my mac is in the shop, so I dont' have an example patch. IIRC, the object was a special version of pix_video for MacOS X. I am also almost only an audio person.
.hc
-- ::: sam :::
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Which version of GEM are you using? All of the ones built in the last 6 months or so would have pix_video aliased to pix_videoDarwin. Does pix_video (or videoDarwin) print any errors to the console? I know that it will print a set of messages when the object is first loaded, these happen if certain processes are successful or fail.
GEM: ver: 0.87+cvs
I am compiling the latest version of GEM right now. I hope it will fix the problem.
On Feb 13, 2004, at 12:01 PM, Sam Roig wrote:
Which version of GEM are you using? All of the ones built in the last 6 months or so would have pix_video aliased to pix_videoDarwin. Does pix_video (or videoDarwin) print any errors to the console? I know that it will print a set of messages when the object is first loaded, these happen if certain processes are successful or fail.
GEM: ver: 0.87+cvs
That's ancient, and almost assuredly not a full functional version.
I am compiling the latest version of GEM right now. I hope it will fix the problem.
Compiling it using ProjectBuilder/Xcode?
cgc
-- ::: sam :::
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
I am compiling the latest version of GEM right now. I hope it will fix
the problem.
Compiling it using ProjectBuilder/Xcode?
Compiling gem with the provided ProjectBuilder project would not work. I downloaded the compiled version from http://taproot.dyndns.org/~cgc/) and it still does not work. Below there's what pd spitted out when trying to use the gem video examples.
[19:43][sam:~/bin/pd-0.37-0]$ ./pd -lib Gem
GEM: Graphics Environment for Multimedia GEM: ver: 0.888-pre1 GEM: compiled: Jan 9 2004 GEM: maintained by IOhannes m zmoelnig GEM: Authors : Mark Danks (original version on irix/windows) GEM: Chris Clepper (macOS-X) GEM: Daniel Heckenberg (windows) GEM: James Tittle (macOS-X) GEM: IOhannes m zmoelnig (linux/windows)
MAN::resetState entered pix_videoDarwin: constructor pix_videoDarwin: height 320 width 240 pix_videoDarwin: number of SGcomponents: 1 pix_videoDarwin: opened default component pix_videoDarwin: initialized SG dataref ok
pix_videoDarwin: made new SG channnel pix_videoDarwin: set SG ChannelBounds pix_videoDarwin: set SG ChannelUsage pix_videoDarwin: set SG HighQuality MAN::resetState entered error: pix_videoDarwin: no method for 'device' ... you might be able to track this down from the Find menu. pix_videoDarwin: height 256 width 256 pix_videoDarwin: height 256 width 128 error: pix_videoDarwin: no method for 'enumerate' MAC: createGemWindow() GemMan: create window MAC: createGemWindow() GemwinMac: width - 400 height - 400 MAC: BuildGLonWindow entered MAC: BuildGLonWindow: fDraggable= false MAC: BuildGLonWindow: not draggable on single device MAC: BuildGLonWindow (!pcontextInfo->fDraggable && (numDevices == 1)) MAC: BuildGLonWindow exit createGemWindow() finished hints: actuallyDisplay = 1 hints: border = 1 hints: width = 400 hints: height = 400 hints: real_w = 400 hints: real_h = 400 hints: x_offset = 0 hints: y_offset = 0 hints: fullscreen = 0 hints: border = 1 hints: display = (null) hints: title = GEM hints: shared = 0 hints: fsaa = 0 GEM: Start rendering pix_texture: not using client storage pix_texture: not using client storage
pix_videoDarwin: SGIdle failed
GEM: pix_videoDarwin: no video yet pix_videoDarwin: SGIdle failed
When using the example patch 00.SimpleVideo.pd, it also gives the following errors:
ierror: pix_videoDarwin: no method for 'device' error: pix_videoDarwin: no method for 'enumerate'
On Feb 13, 2004, at 1:01 PM, Sam Roig wrote:
When using the example patch 00.SimpleVideo.pd, it also gives the following errors:
ierror: pix_videoDarwin: no method for 'device' error: pix_videoDarwin: no method for 'enumerate'
These messages have no function on OSX, and that sample patch works fine for me.
pix_videoDarwin: constructor pix_videoDarwin: height 320 width 240 pix_videoDarwin: number of SGcomponents: 1 pix_videoDarwin: opened default component pix_videoDarwin: initialized SG dataref ok
pix_videoDarwin: made new SG channnel pix_videoDarwin: set SG ChannelBounds pix_videoDarwin: set SG ChannelUsage pix_videoDarwin: set SG HighQuality
These all show that the Sequence Grabber was properly initialized.
pix_videoDarwin: SGIdle failed
GEM: pix_videoDarwin: no video yet pix_videoDarwin: SGIdle failed
This is a highly unusual error to see because it means that the device
and it's driver have the correct setup but the component itself is
probably faulty. One thing to try is sending a 'colorspace rgba'
message followed by a 'reset' to the object and see if that works.
It's possible that the camera driver only supports rgb output, and not
the default YUV.
cgc
This is a highly unusual error to see because it means that the device
and it's driver have the correct setup but the component itself is probably faulty. One thing to try is sending a 'colorspace rgba' message followed by a 'reset' to the object and see if that works.
It's possible that the camera driver only supports rgb output, and not the default YUV.
That was it! Now it works. Thanks very much for your help.
Why doesn't pd have a video settings menu, just as with midi and audio? Wouldn't it then be easier to debug this sort of problems?
Thanks again,
::: sam :::
On Feb 13, 2004, at 4:55 PM, Sam Roig wrote:
That was it! Now it works. Thanks very much for your help.
That's good to hear. I suppose I could switch the default back to RGB instead of the current YUV. YUV is much faster, but I guess some webcams only do RGB?
Why doesn't pd have a video settings menu, just as with midi and audio? Wouldn't it then be easier to debug this sort of problems?
There will be a standard QT dialog like other apps have at some point, but a few things have to be worked out first. Most of those are in place now.
cgc
Thanks again,
::: sam :::
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Fri, Feb 13, 2004 at 05:21:33PM -0600, cgc wrote:
That's good to hear. I suppose I could switch the default back to RGB instead of the current YUV. YUV is much faster, but I guess some webcams only do RGB?
It certainly would be handier for me, but I wouldn't dare to ask such a change only for my own personal benefit. Do all YUV cameras support RGB? If so, then maybe RGB is a reasonable default. In any case, the antidote ([colorspace rgba] + [reset]) should appear somewhere in a help file for pix_video (is there one). I can imagine many users running into the same problem.