Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-06-14 22:18, Matteo Sisti Sette wrote: On 06/14/2011 08:26 PM, IOhannes m zmoelnig wrote: Unfortunately the latest version from CVS is equally broken. I wrote this after installing it and trying in Gem, but I hadn't tried lqtplay. Now lqtplay doesn't crash any more, it says it can't find libquicktime!! lqtplay: error while loading shared libraries: libquicktime.so.0: cannot open shared object file: No such file or directory you should update the ld cache, by running $ sudo ldconfig after that it might work. (a reboot might have the same effect, but ldconfig is less invasive) fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk34WzwACgkQkX2Xpv6ydvTMhACeL9RnzRyyyrG7YZZc7RO5PBTl FHgAoKs+0U9mXOUhRjbS/v+nTqTuhYQd =qZR4 -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10
On 06/15/2011 09:11 AM, IOhannes m zmoelnig wrote: you should update the ld cache, by running $ sudo ldconfig Oh, thanks! (why doesn't make install do that btw?) after that it might work. Now lqtplay can play those files, but Pd still crashes! :( ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-06-15 09:17, Matteo Sisti Sette wrote: On 06/15/2011 09:11 AM, IOhannes m zmoelnig wrote: you should update the ld cache, by running $ sudo ldconfig Oh, thanks! (why doesn't make install do that btw?) i dunno, but i think that most makefiles for libraries do NOT call ldconfig on their own. (thankfully, most makefiles don't reboot the computer either :-)) after that it might work. Now lqtplay can play those files, but Pd still crashes! :( in this case i think that Gem might still be using the wrong library. you could check which libs Gem is linked against by doing: $ ldd /path/to/my/Gem.pd_linux and watch out for libquicktime; e.g. $ ldd /path/to/my/Gem.pd_linux | grep quick i guess, that Gem is linked against libquicktime.so.1 (provided by /usr/lib/libquicktime.so.1) while lqtplay is linked against libquicktime.so.2 (provided by /usr/local/lib/libquicktime.so.2). the 2 versions might be _binary_ incompatible, which means that you would need to re-compile Gem as well :-( fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk34XjYACgkQkX2Xpv6ydvTnFgCdGYtv+asdd0pLfmUw4HEtiAWw gMoAnjnftTbj29hDFI62O99NrR6+PyDa =LQJF -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pdp: Handling pdp_v4l VS pdp_v4l2 and possibly updating the examples
All the examples in pdp use pdp_v4l. On two of the machines I tested (with different webcams and distros: ubuntu lucid 10.04 i386 and debian wheezy amd64) these only work with v4l2 (and thus [pdp_v4l2]) I wonder now-a-days what the statistics are with v4l and v4l2 devices and which are currently more 'representative' (i.e. is v4l still very widely used?) Anyhow - Maybe the examples for pdp should also exist with pd_v4l2. Or maybe pd_v4l and pd_v4l2 could be encapsulated into, say, an abstraction which enables to chose. Not sure which would mean most work.. What do you think? Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10
Hi, Thank you so much for your help On 06/15/2011 09:24 AM, IOhannes m zmoelnig wrote: in this case i think that Gem might still be using the wrong library. you could check which libs Gem is linked against by doing: $ ldd /path/to/my/Gem.pd_linux | grep quick Indeed that returns /usr/lib/libquicktime.so.1 Instead, lqtplay (whose new working version in /usr/local/bin while the old crashing version still is in /usr/bin) says /usr/local/lib/libquicktime.so.0 the 2 versions might be _binary_ incompatible, which means that you would need to re-compile Gem as well :-( If I do, will it automatically know to link against the correct library? How do I tell him/her? Thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Gem window closing itself
Hi, With Pd 0.42.5, Gem 0.92.3, Ubuntu 10.10, sometimes the gemwin randomly closes itself (without crashing Pd). Has anybody experienced the same? thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] The final question about Arduino
Hi, At the end, in order to figure out all the weridnesses regarding the apparently different behavior of the Arduino on different platforms, I only need to answer a simple question, well two simple questions: 1. Does the StandardFirmata firmware send the firmware name and version every time it accepts a connection on the serial port, or only when it is powered up or reset? 2. Is the action of opening the connection (i.e. the open message you send in Pd to the [arduino] object) supposed/expected to cause the arduino to reset? This is slightly OT but it is relevant for working with [arduino] in Pd. Thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdp: Handling pdp_v4l VS pdp_v4l2 and possibly updating the examples
I would just do it yourself or prepare for the snarky obscure psuedo-political cheese comments. I change all mine to pdp_v4l2 pp On 6/15/11 3:38 AM, Lorenzo Sutton lsut...@libero.it wrote: All the examples in pdp use pdp_v4l. On two of the machines I tested (with different webcams and distros: ubuntu lucid 10.04 i386 and debian wheezy amd64) these only work with v4l2 (and thus [pdp_v4l2]) I wonder now-a-days what the statistics are with v4l and v4l2 devices and which are currently more 'representative' (i.e. is v4l still very widely used?) Anyhow - Maybe the examples for pdp should also exist with pd_v4l2. Or maybe pd_v4l and pd_v4l2 could be encapsulated into, say, an abstraction which enables to chose. Not sure which would mean most work.. What do you think? Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
On 2011-06-15 07:13, Matteo Sisti Sette wrote: Hi, At the end, in order to figure out all the weridnesses regarding the apparently different behavior of the Arduino on different platforms, I only need to answer a simple question, well two simple questions: 1. Does the StandardFirmata firmware send the firmware name and version every time it accepts a connection on the serial port, or only when it is powered up or reset? From looking at the code it only sends the digital pins on startup, not the version. Probably it's the Pd patch that asks for the version. 2. Is the action of opening the connection (i.e. the open message you send in Pd to the [arduino] object) supposed/expected to cause the arduino to reset? that might depend on the driver for the FTDI chip, which is different from a regular USB serial connection. You might want to try a teensy instead of an arduino as it uses standard USB serial protocol. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
On 06/15/2011 03:03 PM, Martin Peach wrote: Probably it's the Pd patch that asks for the version. Oh, that's strange. I've searched in depth inside the [arduino] abstraction and I can't find anything that is possibly doing that! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdp: Handling pdp_v4l VS pdp_v4l2 and possibly updating the examples
Hi, Lorenzo Sutton wrote: I wonder now-a-days what the statistics are with v4l and v4l2 devices and which are currently more 'representative' (i.e. is v4l still very widely used?) Since v4l1 support has been dumped from the kernel, I believe statistics will be in favor of v4l2. cheers, Charlot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
On 06/15/2011 04:02 PM, Matteo Sisti Sette wrote: On 06/15/2011 03:03 PM, Martin Peach wrote: Probably it's the Pd patch that asks for the version. Oh, that's strange. I've searched in depth inside the [arduino] abstraction and I can't find anything that is possibly doing that! Definitely, it is not the patch. I've placed a [print] to print everything that is being sent to [comport] and the only thing that it is being sent to it is the open message. Tha Arduino board is sending the version information when Pd connects to it, whether it is at startup (because of a reset) or at connecting. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
On 06/15/2011 04:25 PM, Matteo Sisti Sette wrote: Tha Arduino board is sending the version information when Pd connects to it, whether it is at startup (because of a reset) or at connecting. I guess it is this, in Firmata.cpp: void FirmataClass::begin(long speed) { #if defined(__AVR_ATmega128__) // Wiring Serial.begin((uint32_t)speed); #else Serial.begin(speed); #endif blinkVersion(); delay(300); printVersion(); // -- this! printFirmwareVersion(); } This function is called at startup. So, if arduino only sends this at startup, and if startup is not guaranteed to (re)happen when connecting to it, what is the correct way to ensure that you send the necessary configuration messages (such as pinMode stuff) just after opening the port? Other than putting an arbitrary delay I mean. If you just send the pinModes immediately after the open messages, you're almost sure they're lost, but there doesn't seem to be any safe way to be informed of when you can send them... Any idea? Or do I have to put a few second delay and hope it is always enough? The open 1 message is only triggered by sending the info message, but then the same problem raises: when do I send the info message? Thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
Matteo Sisti Sette wrote: So, if arduino only sends this at startup, and if startup is not guaranteed to (re)happen when connecting to it, what is the correct way to ensure that you send the necessary configuration messages (such as pinMode stuff) just after opening the port? Other than putting an arbitrary delay I mean. I would remove the (annoying) autoreset feature from the arduino board by cutting the reset-en trace. No more stupid resets. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sort and init objects
It seems to want a list-drip? pp On 6/12/11 2:13 PM, Frank Barknecht f...@footils.org wrote: Hi, On Sun, Jun 12, 2011 at 08:09:37PM +0200, Frank Barknecht wrote: Well, thinking about it, descending order turned out to be dead simple, as it can be realized using a different order when building the final list (append instead of prepend) so attached is a new version, Sorry, last attachment had a spurious list-sort inside, use this one. Ciao -- Frank BarknechtDo You RjDj.me? _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] problem with pdgst
I can play a stream without problem with gstreamer and the command line : $ gst-launch-0.10 gnomevfssrc location=http://... ! qtdemux ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink But using pdgst with : [location http://...( | [gnomevfssrc] | [qtdemux] | [ffdec_h264] | [ffmpegcolorspace] | [pix_gst2pix rgba] It doesn't work. I get in the pd console : verbose( 0):setting property 'location' GEM: Direct Rendering enabled! GEM: GLEW version 1.5.4 GEM: Start rendering info:gst2pix: stream_status 0 gnomevfssrc1 info:gst2pix: stream_status 0 gnomevfssrc1 info:gst2pix: stream_status 1 gnomevfssrc1 info:gst2pix: stream_status 1 gnomevfssrc1 error: [gnomevfssrc]: Impossible d'ouvrir la ressource en lecture. error: [gnomevfssrc]: gstgnomevfssrc.c(868): gst_gnome_vfs_src_start (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc2: No filename given error: [gnomevfssrc]: Impossible d'ouvrir la ressource en lecture. error: [gnomevfssrc]: gstgnomevfssrc.c(868): gst_gnome_vfs_src_start (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc2: No filename given I am sure the filename is given with the [location( message. Here my configuration : Pd 0.42.5 GEM: ver: 0.93.SVN rev3952M GEM: compiled: May 1 2011 pdgst $Revision: 0.0 $ (copyleft) IOhannes m zmoelnig @ IEM / KUG compiled on Jun 15 2011 at 16:58:09 compiled against Pd version 0.42.5. I miss something ? Any help would be appreciated. Thanx. ++ Jack signature.asc Description: This is a digitally signed message part ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
On 06/15/2011 05:08 PM, Charles Goyard wrote: I would remove the (annoying) autoreset feature from the arduino board by cutting the reset-en trace. No more stupid resets. Would that ensure that I could send a pinMode or analogIns message _immediately_ after open and rely on that it would be received by the arduino? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The final question about Arduino
Matteo Sisti Sette wrote: I would remove the (annoying) autoreset feature from the arduino board by cutting the reset-en trace. No more stupid resets. Would that ensure that I could send a pinMode or analogIns message _immediately_ after open and rely on that it would be received by the arduino? That would ensure you're not talking to the Arduino's bootloader. Opening the port reboots the Arduino. From reading the bootloader code, it does not pass the bytes received before its timeout to the application. So you want to avoid the bootloader. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sort and init objects
On Wed, 15 Jun 2011, Pagano, Patrick wrote: It seems to want a list-drip? Get the whole list-abs library. Recent versions (since about two years) include my accelerated [list-drip] (formerly known as [list-drip-quick]). It's not the fastest, but it's the simplest of the fast ones. But if you wanted something real fast, you'd use an external such as [foreach] from GridFlow, which does the same as [list-drip], or [#sort], which is probably the fastest sorter there is in Pd (without really trying : it's a quite simple external just using a libc function). Of course, you can't use those on an iPhone, because of alleged license conflict (GPL vs ...). ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sceneplayer rjdj examples: OT
On Sat, 11 Jun 2011, Pagano, Patrick wrote: Are there any other Xoom pd-ers out there in Pure Data land? I just rooted my Motorola Xoom and overclocked it from 1GHZ to 1.7, I installed a special kernel and got the blessed sdcard to work as well as usb support I feel like it's 1995 all over again, heh. In 1995, the highest clock there was for PCs, was about 100 MHz, perhaps 150. There was also the DEC Alpha running at 233, which was pretty much the max. So, what's the link between 1700 MHz and 1995 ? (not to mention USB support...) ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] (GEM) Getting the z-buffer value of a pixel in a rendered image
On Fri, 10 Jun 2011, Matteo Sisti Sette wrote: Is there a way in GEM to take a snapshot of a rendered scene (such as with pix_snap) and save the z-buffer information, for example saving it as an extra channel? (e.g. have the z value saved as the alpha channel)? I'm interested in getting an image of the scene as it would appear if it was captured by a depth sensor like a Kinect... How many bits do you expect the z-buffer to be, and how can that possibly fit in any GEM pix structure ? AFAIK, only GridFlow, PDP and iemmatrix are equipped to handle that data. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list