[PD] getting started with webcam/pdp

Atte André Jensen atte.jensen at gmail.com
Tue Jun 24 09:36:17 CEST 2008


I run linux (ubuntu 7.10) and pd-extended installed from 

I have some experience with pd, but none with video. I hooked up my 
phillips webcam and dmesg tels me it's connected to /dev/video0. Skype 
shows video from this device just fine.

However I can't get it going in pd. I tried running the 
examples/pdp/input_output.pd patch, and I briefly see a black window, 
then pd dies with this in the terminal:

atte at ajstrup:~$ pd
tk scaling is 1.18830409357
<init> : Avifile RELEASE-0.7.47-070916-12:47-4.1.3
<init> : Available CPU flags: fpu vme de pse tsc msr mce cx8 sep mtrr
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2
<init> : 1600.00 MHz Intel(R) Pentium(R) M processor 1600MHz detected
X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  143 (GLX)
   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
   Serial number of failed request:  32
   Current serial number in output stream:  32
socket receive error: Connection reset by peer (104)

Am I on the right track? I want to grab some video from the cam, and 
based on "something" in the image send out OSC. I don't know what 
"something" is yet, need to play with it, but I have the idea of the 
audience influence the music (which is running in ChucK). Am I still on 
the right track?

peace, love & harmony

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

More information about the Pd-list mailing list