did you try pdpv4l2?
From: pd-list-bounces@iem.at [pd-list-bounces@iem.at] On Behalf Of Bart Koppe [bk@a-bort.org] Sent: Sunday, December 27, 2009 6:05 PM To: PD list Subject: [PD] How to use /dev/video2 virtual video device in GEM
Hi,
I use /dev/video2 to get a mjpeg live stream into PD. With pix_video I can open my webcam, but when I open the virtual video device (/dev/video2) i get an error, i guess todo with the fact that it's not a real webcam:
error: Cannot open '/dev/video2': 25, Inappropriate ioctl for device GL: invalid enumerant--
Is there other ways to get it fixed in GEM?
With pdp_v4l i can open the virtual device, but I want to try it in GEM, mostly because GEM is better documented, I need to add several jpeg/png pictures on both sides of that stream.
Thanks..
Bart
#N canvas 527 149 328 354 12; #X obj 55 78 gemhead; #X obj 55 222 rectangle 4 3; #X obj 55 188 pix_texture; #X obj 55 152 pix_video; #N canvas 340 107 682 322 gemwin 0; #X obj 102 122 tgl 15 0 $0-gemstart $0-gemstart empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 102 161 r $0-gemstart; #X obj 102 182 select 1 0; #X msg 102 214 create , 1; #X msg 177 215 destroy; #X obj 102 239 t a; #X obj 318 54 inlet; #X obj 318 255 gemwin; #X obj 318 100 t a a; #X obj 318 287 outlet; #X obj 350 128 route create destroy; #X obj 350 150 t b; #X msg 350 172 1; #X obj 390 150 t b; #X msg 390 172 0; #X obj 350 195 t f; #X msg 350 219 set $1; #X text 118 122 rendering; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 1 4 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 5 0 8 0; #X connect 6 0 8 0; #X connect 7 0 9 0; #X connect 8 0 7 0; #X connect 8 1 10 0; #X connect 10 0 11 0; #X connect 10 1 13 0; #X connect 11 0 12 0; #X connect 12 0 15 0; #X connect 13 0 14 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X coords 0 -1 1 1 85 40 1 100 100; #X restore 56 254 pd gemwin; #X msg 139 114 device 2; #X msg 69 114 device 0; #X connect 0 0 3 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 3 0; #X connect 6 0 3 0;
-----//////----- Bart Koppe bk at a-bort dot org http://a-bort.org -----//////-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list