recording the output of my patch

Sep 2, 2008 at 4:20pm

recording the output of my patch

Hi
this is probably a relatively routine problem, but
Im trying to record what Im doing in jitter using the
jit.qt.record object and for some reason
1. as I try to perform with my patch the live display slows down.
2. It either only records the 1st minute of my performance or its condensing it all into one minute when it is supposed to be longer
3. The video produced is huge, 1.69GB Which my computer’s having trouble playing back.

here’s my patch

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N vpatcher 317 441 847 691;
#P window setfont “Sans Serif” 9.;
#P hidden newex 90 208 104 196617 bgcolor 192 192 255;
#P message 257 94 45 196617 flatten 0;
#P comment 63 145 334 196617 flatten flags: (can appear in any order , after the initial on/off arg) ; compress – compress the movie resource. ; faststart – places the movie resource before the data in the file ; activeonly – flatten and copy active tracks only ;;
#P toggle 83 40 15 0;
#P newex 34 208 55 196617 s rec_cmd;
#P message 83 59 40 196617 hint $1;
#P message 105 94 52 196617 getflatten;
#P message 162 94 91 196617 flatten 1 faststart;
#P message 34 59 39 196617 gethint;
#P comment 136 30 355 196617 If the hint and/or flatten flags are enabled , jit.qt.record will conclude the recording by hinting/flattening and then resaving the recorded movie to disk.;
#P fasten 4 0 5 0 88 133 39 133;
#P fasten 1 0 5 0 39 141 39 141;
#P fasten 2 0 5 0 167 133 39 133;
#P fasten 3 0 5 0 110 133 39 133;
#P fasten 8 0 5 0 262 133 39 133;
#P connect 6 0 4 0;
#P pop;
#P newobj 173 503 69 196617 p hint_flatten;
#P toggle 103 466 15 0;
#P message 103 496 61 196617 realtime $1;
#P newex 99 602 55 196617 r rec_cmd;
#P message 79 546 160 196617 write GCP.mov 15. raw max 600;
#P message 4 546 27 196617 stop;
#P message 36 546 33 196617 write;
#P toggle 361 626 15 0;
#P message 359 646 71 196617 usedstrect $1;
#P toggle 350 581 15 0;
#P message 350 604 72 196617 usesrcrect $1;
#P toggle 295 580 15 0;
#P message 295 604 50 196617 interp $1;
#P number 259 579 21 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 235 579 21 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 211 579 21 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 187 579 21 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 163 602 108 196617 pak planemap 0 1 2 3;
#P newex 113 676 108 196617 jit.qt.record 960 720;
#P newex 584 80 27 196617 / 7.;
#P newex 521 82 27 196617 / 9.;
#P newex 573 30 45 196617 ctlin 74;
#P newex 517 32 45 196617 ctlin 93;
#P newex 467 83 27 196617 / 3.;
#P newex 653 610 38 196617 sel 49;
#P newex 590 611 45 196617 onebang;
#P user gswitch 467 544 41 32 1 0;
#P newex 702 609 38 196617 sel 48;
#P newex 739 583 27 196617 / 5.;
#P newex 782 33 64 196617 r saturation;
#P newex 753 622 64 196617 s saturation;
#P number 790 594 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 734 546 40 196617 notein;
#P newex 464 33 45 196617 ctlin 91;
#P message 613 545 68 196617 fullscreen $1;
#P toggle 597 544 15 0;
#P newex 640 520 44 196617 sel 102;
#P newex 640 474 40 196617 key;
#P newex 613 589 89 196617 jit.window chrom;
#P message 374 83 28 196617 stop;
#P comment 729 247 168 196617 hsl to rgb color space conversion;
#P comment 729 223 215 196617 supports: 4 plane char , float32 , float64.;
#P flonum 699 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 699 140 49 196617 lscale $1;
#P flonum 754 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 754 140 53 196617 loffset $1;
#P flonum 584 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 584 140 51 196617 sscale $1;
#P flonum 639 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 639 140 55 196617 soffset $1;
#P flonum 467 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 467 140 51 196617 hscale $1;
#P flonum 522 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 522 140 55 196617 hoffset $1;
#P comment 284 229 49 196617 hsl as rgb;
#P comment 615 205 57 196617 lightness;
#P comment 528 205 30 196617 sat;
#P user jit.pwindow 711 275 322 242 0 1 0 0 1 0;
#P newex 290 198 55 196617 jit.hsl2rgb;
#B color 5;
#P user jit.pwindow 818 74 162 122 0 1 0 0 1 0;
#P message 334 228 85 196617 planemap 0 1 2 3;
#P message 615 228 85 196617 planemap 3 3 3 3;
#P message 524 228 85 196617 planemap 2 2 2 2;
#P message 429 228 85 196617 planemap 1 1 1 1;
#P user jit.pwindow 277 268 322 242 0 1 0 0 1 0;
#P newex 278 165 55 196617 jit.rgb2hsl;
#P flonum 406 62 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 406 83 42 196617 rate $1;
#P message 343 83 28 196617 read;
#P flonum 312 62 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 278 62 15 0;
#P newex 278 82 44 196617 metro 2;
#P newex 278 128 105 196617 jit.qt.movie 960 720;
#P comment 434 205 30 196617 hue;
#P connect 1 0 8 0;
#P fasten 1 0 14 0 283 151 456 151 456 171 824 171;
#P fasten 41 0 49 0 707 600 697 610;
#P connect 41 0 46 0;
#P connect 41 0 42 0;
#P connect 29 0 28 0;
#P connect 45 0 43 0;
#P connect 41 1 45 0;
#P fasten 15 0 47 2 295 219 259 219 259 534 502 534;
#P fasten 15 0 16 0 295 223 717 223;
#P connect 31 0 30 0;
#P connect 36 0 37 0;
#P connect 25 0 24 0;
#P fasten 49 0 48 1 658 635 641 635 641 605 630 605;
#P fasten 47 0 55 0 472 673 118 673;
#P fasten 47 0 35 0 472 590 618 590;
#P connect 39 0 35 0;
#P connect 38 0 39 0;
#P fasten 37 0 38 0 645 540 602 540;
#P fasten 46 0 48 0 707 634 643 634 643 609 595 609;
#P connect 27 0 26 0;
#P connect 44 0 27 0;
#P connect 52 0 54 0;
#P connect 21 0 20 0;
#P connect 51 0 53 0;
#P connect 8 0 9 0;
#P fasten 8 0 15 0 283 190 295 190;
#P fasten 8 0 47 1 283 227 268 227 268 525 487 525;
#P fasten 48 0 47 0 595 636 443 636 443 538 472 538;
#P connect 23 0 22 0;
#P connect 50 0 23 0;
#P connect 54 0 23 0;
#P connect 53 0 23 0;
#P connect 40 0 50 0;
#P connect 7 0 6 0;
#P connect 66 0 65 0;
#P connect 64 0 63 0;
#P connect 4 0 2 1;
#P connect 62 0 61 0;
#P fasten 10 0 9 0 434 256 283 256;
#P fasten 11 0 9 0 529 256 283 256;
#P fasten 12 0 9 0 620 256 283 256;
#P fasten 13 0 9 0 339 256 283 256;
#P fasten 28 0 8 0 759 160 283 160;
#P fasten 30 0 8 0 704 160 283 160;
#P fasten 24 0 8 0 644 160 283 160;
#P fasten 26 0 8 0 589 160 283 160;
#P fasten 20 0 8 0 527 160 283 160;
#P fasten 22 0 8 0 472 160 283 160;
#P fasten 34 0 1 0 379 114 283 114;
#P fasten 5 0 1 0 348 114 283 114;
#P fasten 6 0 1 0 411 114 283 114;
#P connect 2 0 1 0;
#P connect 3 0 2 0;
#P connect 60 0 56 4;
#P connect 59 0 56 3;
#P connect 58 0 56 2;
#P connect 57 0 56 1;
#P fasten 68 0 55 0 9 662 118 662;
#P fasten 67 0 55 0 41 646 118 646;
#P fasten 69 0 55 0 84 644 118 644;
#P fasten 56 0 55 0 168 645 118 645;
#P fasten 61 0 55 0 300 650 118 650;
#P fasten 63 0 55 0 355 653 118 653;
#P fasten 65 0 55 0 364 668 118 668;
#P fasten 71 0 55 0 108 525 74 525 74 654 118 654;
#P fasten 70 0 55 0 104 650 118 650;
#P connect 72 0 71 0;
#P window clipboard copycount 74;

thank you very much for your time

#39529
Sep 3, 2008 at 6:17am

I had a quick look at your patch and noticed a few things which might help.

You are recording using the raw setting, which at 920 x 720 x 4 (plane) x 15
(frame rate) is quite a big number and represents the disk space you are
requiring each second. Try using one of the other codecs to reduce the size
of the file. A favorite of the forum seems to be photojpeg.

On the same tip, you are playing back a movie of the same size. My
computer, which is really old these days, struggles to just play a movie of
these dimensions in Jitter. Maybe you could look at reducing the size? or
alternatively, you could use slabs and playback the movie using the uyvy
colourspace, convert to rgba using the graphics card and do further
processing using slabs which will give your computer processor a bit of
leeway. This means moving to opengl. Searching the forum for example
patches should provide you with plenty of help.

You have three pwindows in your patch which require quite a bit of
processing in themselves, in a performance situation you should cut them out
or reduce their dimensions.

You could also take look at the jit.gl.async patch to use with recording.

hope this helps you a bit.

pelado

On Tue, Sep 2, 2008 at 6:20 PM, Rory Brady wrote:

>
> Hi
> this is probably a relatively routine problem, but
> Im trying to record what Im doing in jitter using the
> jit.qt.record object and for some reason
> 1. as I try to perform with my patch the live display slows down.
> 2. It either only records the 1st minute of my performance or its
> condensing it all into one minute when it is supposed to be longer
> 3. The video produced is huge, 1.69GB Which my computer’s having trouble
> playing back.
>

#139304
Sep 4, 2008 at 1:37am

also consider iShowU, or fraps

#139305

You must be logged in to reply to this topic.