ha,
which version of Gem do you have ? here is the latest help patch for pix_video,
take a look at [enumerate( with which you will have the list of available devices and driver then [device $1( may help to choose the right one and then [enumProps( to get its properties and [set(, [get( and other [*Props( messages...
you don't need dialog to setup camera, as a proof, there isn't any dialog on Linux and we use camera everyday...
cheers
a
-- do it yourself http://antoine.villeret.free.fr
2013/3/5 Alexandros Drymonitis adrcki@gmail.com
Don't really get it. I'm sending [enumProps( to [pix_video], but if I do that before anything else I get the following error message: [pix_video]: cannot enumerate properties without a valid video-device If I set the desired camera via [dialog( I get nothing... What I wanna do is use a PS3 eye camera for a live performance, but I'd rather use Pd -nogui. The only way though I can choose this camera is to first create and render a [gemwin], destroy it and then send [dialog( to [pix_video], which won't be possible without the gui. So, to put my initial question in other words, how is it possible to set a camera other than the built in, without the gui?
On Tue, Mar 5, 2013 at 11:19 AM, Antoine Villeret < antoine.villeret@gmail.com> wrote:
hi,
All camera settings should be available through [pix_video] it self without dialog. Try sending [enumProps( and [pix_video] should send all readable and writeable properties.
Cheers
a
-- do it yourself http://antoine.villeret.free.fr
2013/3/3 Alexandros Drymonitis adrcki@gmail.com
With midi or audio you can send Pd a message on load which you get either with [get-midi-dialog] and [get-audio-dialog] or by connecting [r pd] to [print], then go to midi/audio settings and press ok. This gives you the message you have to send so you can use these settings immediately (say, if you use pd -nogui). What about using a camera other than the built-in? You can set that by sending [dialog( to [pix_video], but is it possible to set it by sending Pd a message? If so, where do you get this message from?
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list