Hi,
a good question! it's certainly not obvious with the current
patches, so here's a new one, fs.blend.pd, and example-blending.pd.
the frame rate is just horrible. I'm not sure if it
uses hardware acceleration, as I have none. can you test this?
can you forward this to the pd-list since I can't post from this address..
thanks!
juha
>
> hi!
>
> i`m just trying to realize a simple videomixer within pd/framestein, and
as
> i`m quite new to pd i`m currently stuck on how to do this almost in the
> beginning. could perhaps someone give me some clues on how to bring two
> videosources together (with one output of course!)? no big fx there, just
a
> simple non additive fade over...
>
> thanks in advance for the smallest hint
>
> micha
>
>
>
#N canvas 50 211 1029 512 10;
#X obj 12 52 fs.main;
#X msg 10 23 6001;
#X msg 56 23 reset;
#X obj 21 189 fs.framed example-blending;
#X msg 210 190 597 + 108;
#X msg 64 148 /vid/korisvid.avi;
#X obj 306 187 fs.framed example-blending;
#X msg 495 188 815 + 109;
#X msg 349 146 /vid/korisvid2.avi;
#X obj 151 364 fs.framed example-blending;
#X msg 343 365 705 + 351;
#X floatatom 227 272 4 0 0;
#X obj 150 273 fs.blend;
#X obj 235 38 fps 0;
#X floatatom 193 38 4 0 0;
#X msg 286 96 next \, bang;
#X msg 207 94 next \, bang;
#X obj 228 166 init;
#X obj 503 163 init;
#X obj 353 335 init;
#X text 166 419 note: fs.blend initializes this frame to flip_manual.;
#X text 174 441 in manual mode \, you need to send "flip" to update the display after changing the image. the default mode is "flip_auto".;
#X text 239 246 blend amount \, 0 - 255;
#X text 682 44 drag and drop your videos here;
#X text 748 291 the result;
#X msg 299 290 127;
#X obj 236 65 t b b;
#X text 196 14 frame rate. start with something modest \, like 1;
#X connect 1 0 0 0;
#X connect 1 0 2 0;
#X connect 2 0 0 1;
#X connect 3 0 12 0;
#X connect 3 2 4 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 12 1;
#X connect 6 2 7 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 9 2 10 0;
#X connect 10 0 9 0;
#X connect 11 0 12 2;
#X connect 12 0 9 0;
#X connect 13 0 26 0;
#X connect 14 0 13 0;
#X connect 15 0 6 0;
#X connect 16 0 3 0;
#X connect 17 0 4 0;
#X connect 18 0 7 0;
#X connect 19 0 10 0;
#X connect 19 0 25 0;
#X connect 25 0 11 0;
#X connect 26 0 16 0;
#X connect 26 1 15 0;
#N canvas 0 0 510 350 10;
#X obj 55 42 inlet;
#X obj 159 301 outlet;
#X obj 314 39 inlet;
#X obj 90 143 fs.copy;
#X obj 248 142 fs.copy;
#X obj 267 100 symbol;
#X obj 400 37 inlet;
#X msg 399 93 alpha \$1;
#X msg 359 169 127;
#X msg 356 208 flip_manual;
#X obj 416 167 init;
#X obj 63 91 t b s b;
#X msg 24 134 flip;
#X connect 0 0 11 0;
#X connect 2 0 5 1;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 4 0;
#X connect 6 0 7 0;
#X connect 7 0 3 1;
#X connect 8 0 7 0;
#X connect 9 0 1 0;
#X connect 10 0 8 0;
#X connect 10 0 9 0;
#X connect 11 0 12 0;
#X connect 11 1 3 0;
#X connect 11 2 5 0;
#X connect 12 0 1 0;