here is an example patch...

thx.
stéfan

2010/3/5 IOhannes m zmölnig <[email protected]>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> stéfan piat wrote:
> > hi!
> >
> > I will record a video stream using two pix_record :
> > when one is closing the .mov files the other begin to record a new one
> and
> > so on...
> >
> > is it possible to do that with one gemhead ?
> > cause when I start recording with one then stop recording, then start
> > recording with the second one, pd crash...
> >
>
> like always it would be nice to have an example patch.
> [pix_record] is very specific about the userinput: you need to provide
> everything (codec, filename,...) and in the correct order!
> once this is guaranteed, i think it is quite stable.
> (else it is not)
>
> fgmadr
> IOhannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkuRScgACgkQkX2Xpv6ydvSHDgCgguRsqrOHxkf6b/7HT8EUO/5F
> rWMAnRtu1ae3/iel2V5jdvoFm0mt9mut
> =gc0M
> -----END PGP SIGNATURE-----
>
#N canvas 12 57 958 685 10;
#X obj 481 -131 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
0 1;
#X obj 537 167 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 482 -108 sel 0 1;
#X msg 453 174 0;
#X msg 544 -12 1;
#X msg 620 12 1;
#X obj 613 154 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 445 127 t b b;
#X obj 689 111 t b b;
#X msg 700 151 0;
#X msg 736 44 stop;
#X msg 492 62 stop;
#X obj 472 -61 t b b;
#X obj 441 104 delay 10000;
#X obj 674 84 delay 10000;
#X obj 156 -126 gemwin;
#X msg 157 -158 create \, 1;
#X msg 231 -164 0 \, destroy;
#X obj 628 40 t f b;
#X obj 516 25 t f b;
#X obj 799 503 pix_record;
#X obj 797 50 pix_video;
#X obj 799 245 pix_texture;
#X obj 799 269 rectangle 4 3;
#X msg 840 385 record 1;
#X obj 832 353 t b b;
#X msg 770 386 record 0;
#X obj 797 20 gemhead;
#X obj 698 254 sel 0 1;
#X obj 520 501 pix_record;
#X msg 561 383 record 1;
#X obj 553 351 t b b;
#X msg 491 384 record 0;
#X obj 490 305 sel 0 1;
#X obj 799 300 separator;
#X obj 572 425 separator;
#X obj 195 146 savepanel;
#X msg 197 175 set \$1;
#X obj 195 105 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 192 292 list append \$1;
#X obj 290 264 loadbang;
#X msg 192 361 file \$1;
#X obj 192 316 list2symbol;
#X msg 286 293 symbol;
#X obj 192 338 makefilename %s.mov;
#X msg 195 202 /home/stefan/Images/test_;
#X obj 257 225 f;
#X obj 293 225 + 1;
#X text 199 81 1;
#X text 480 -154 2;
#X msg 604 475 codec 0;
#X obj 676 427 loadbang;
#X obj 348 163 t b b;
#X connect 0 0 2 0;
#X connect 1 0 33 0;
#X connect 2 0 12 0;
#X connect 2 1 4 0;
#X connect 3 0 1 0;
#X connect 4 0 19 0;
#X connect 5 0 18 0;
#X connect 6 0 28 0;
#X connect 7 0 5 0;
#X connect 7 1 3 0;
#X connect 8 0 4 0;
#X connect 8 1 9 0;
#X connect 9 0 6 0;
#X connect 10 0 14 0;
#X connect 11 0 13 0;
#X connect 12 0 3 0;
#X connect 12 0 9 0;
#X connect 12 1 10 0;
#X connect 12 1 11 0;
#X connect 13 0 7 0;
#X connect 14 0 8 0;
#X connect 16 0 15 0;
#X connect 17 0 15 0;
#X connect 18 0 6 0;
#X connect 18 1 14 0;
#X connect 19 0 1 0;
#X connect 19 1 13 0;
#X connect 21 0 22 0;
#X connect 22 0 23 0;
#X connect 23 0 34 0;
#X connect 23 0 35 0;
#X connect 24 0 20 0;
#X connect 25 0 24 0;
#X connect 25 1 52 0;
#X connect 26 0 20 0;
#X connect 27 0 21 0;
#X connect 28 0 26 0;
#X connect 28 1 25 0;
#X connect 30 0 29 0;
#X connect 31 0 30 0;
#X connect 31 1 52 0;
#X connect 32 0 29 0;
#X connect 33 0 32 0;
#X connect 33 1 31 0;
#X connect 34 0 20 0;
#X connect 35 0 29 0;
#X connect 36 0 37 0;
#X connect 37 0 45 0;
#X connect 38 0 36 0;
#X connect 39 0 42 0;
#X connect 40 0 43 0;
#X connect 41 0 29 0;
#X connect 41 0 20 0;
#X connect 42 0 44 0;
#X connect 43 0 42 1;
#X connect 44 0 41 0;
#X connect 45 0 39 0;
#X connect 46 0 47 0;
#X connect 47 0 46 1;
#X connect 47 0 39 1;
#X connect 50 0 29 0;
#X connect 50 0 20 0;
#X connect 51 0 50 0;
#X connect 52 0 45 0;
#X connect 52 1 46 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to