diff options
author | Travis CI <zmoelnig@travis-ci.umlaeute.mur.at> | 2015-03-14 20:32:26 +0000 |
---|---|---|
committer | Travis CI <zmoelnig@travis-ci.umlaeute.mur.at> | 2015-03-14 20:32:26 +0000 |
commit | c6030846f5c1e34048774d60ca4c15e804bee839 (patch) | |
tree | fb75f89275a78ea383c0fd64e8fe5b3ae57cc898 /Gem/v4l2-videoplugin.pd |
Gem linux/amd64
built '' for linux/amd64
Diffstat (limited to 'Gem/v4l2-videoplugin.pd')
-rw-r--r-- | Gem/v4l2-videoplugin.pd | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/Gem/v4l2-videoplugin.pd b/Gem/v4l2-videoplugin.pd new file mode 100644 index 0000000..45c4cfc --- /dev/null +++ b/Gem/v4l2-videoplugin.pd @@ -0,0 +1,75 @@ +#N canvas 8 49 505 589 10; +#X msg 9 219 device usb-0000:00:04.1-4; +#X msg 9 239 device usb-0000:00:06.0-2; +#X msg 9 259 device usb-0000:00:04.0-1; +#X msg -42 366 get driver; +#X msg 48 366 get card; +#X msg 138 366 get bus_info; +#X text -42 304 contrary to /dev/video* files \, this address is not +related to the plug order of the devices; +#X obj -73 425 cnv 15 150 20 empty \$0-propreadNamev4l2 -- 10 9 0 14 +-203904 -66577 0; +#X obj 86 425 cnv 15 200 20 empty \$0-propreadValuev4l2 -- 10 9 0 14 +-261234 -66577 0; +#X obj -21 282 s \$1-ctl; +#X text -38 176 You can also choose a device by its physical location +on the bus:; +#X obj -21 132 s \$1-ctl; +#X msg 9 69 device /dev/video0; +#X msg 9 89 device /dev/video4; +#X text -44 350 these are some related read-only properties :; +#N canvas 762 178 450 537 getDeviceInfo 0; +#X obj 54 38 inlet; +#X obj 54 66 s \$1-ctl; +#X obj 64 104 r \$1-info; +#X obj 64 369 s \$0-propreadNamev4l2; +#X obj 64 150 route driver card bus_info; +#X msg 64 190 driver; +#X obj 64 170 t b a; +#X obj 64 319 symbol; +#X obj 114 170 t b a; +#X obj 164 170 t b a; +#X msg 114 190 card; +#X msg 164 190 bus_info; +#X obj 141 272 symbol; +#X msg 64 339 label \$1; +#X msg 141 299 label \$1; +#X obj 141 330 s \$0-propreadValuev4l2; +#X obj 64 124 route prop; +#X obj 275 194 loadbang; +#X msg 275 214 --; +#X obj 275 234 t a a; +#X connect 0 0 1 0; +#X connect 2 0 16 0; +#X connect 4 0 6 0; +#X connect 4 1 8 0; +#X connect 4 2 9 0; +#X connect 5 0 7 0; +#X connect 6 0 5 0; +#X connect 6 1 12 0; +#X connect 7 0 13 0; +#X connect 8 0 10 0; +#X connect 8 1 12 0; +#X connect 9 0 11 0; +#X connect 9 1 12 0; +#X connect 10 0 7 0; +#X connect 11 0 7 0; +#X connect 12 0 14 0; +#X connect 13 0 3 0; +#X connect 14 0 15 0; +#X connect 16 0 4 0; +#X connect 17 0 18 0; +#X connect 18 0 19 0; +#X connect 19 0 7 0; +#X connect 19 1 12 0; +#X restore -42 394 pd getDeviceInfo; +#X text -38 26 With V4L2 backend you can choose a device via its device-name: +; +#X connect 0 0 9 0; +#X connect 1 0 9 0; +#X connect 2 0 9 0; +#X connect 3 0 15 0; +#X connect 4 0 15 0; +#X connect 5 0 15 0; +#X connect 12 0 11 0; +#X connect 13 0 11 0; |