jitter video scratch

Feb 11, 2008 at 2:34am

jitter video scratch

hi,

i’m new to the forum, and also new to max/msp/jitter, as i didn’t work with it for the last 3 years.
so everything is a bit gone, and now i’m just trying to get back on it, as i always loved it.

about my problem,
i build this little patch, to play videos and scratch through them, but i’m realizing that the video scratches through the whole timeline, not only the looped/selected part.
the second thing is, that if i scratch, its still kind of playing back, and i would like it to stop as soon as i start scratching, and start playing back when i stop. basically, how do i set a mouse event, thats stopping the playback when i click in the slider and starts when i release the slider?

i’m trying to build a little basic application which allows me to select 4 videos and play around with them, its for a theater projection.

thanx a lot!!

here’s the patch

max v2;
#N vpatcher 1036 29 1911 794;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 87 390 27 9109513 start;
#P message 30 389 27 9109513 stop;
#P newex 592 305 60 9109513 mousefilter;
#P message 592 280 45 9109513 set 1 $1;
#P message 605 418 43 9109513 time $1;
#P message 660 306 81 9109513 setminmax 0 $1;
#P user multiSlider 592 355 191 37 0. 1896. 1 2664 47 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P objectname loc;
#P comment 234 528 39 9109513 looper;
#B frgb 5 9 12;
#P user jit.fpsgui 66 642 60 9109513 0;
#P newex 206 547 69 9109513 prepend set 0;
#P message 226 628 52 9109513 0 1896;
#P newex 226 602 20 9109513 t b;
#P message 226 577 34 9109513 sel. all;
#N vpatcher 98 441 401 665;
#P origin 0 374;
#P window setfont “Sans Serif” 9.;
#P message 62 130 52 9109513 set $1 $2;
#N comlet loop points;
#P inlet 62 44 15 0;
#N comlet to range selector;
#P outlet 73 173 15 0;
#N comlet mov duration;
#P inlet 12 43 15 0;
#N comlet select out;
#P inlet 164 43 15 0;
#N comlet select in;
#P inlet 135 43 15 0;
#N comlet to qtmoview;
#P outlet 135 172 15 0;
#P newex 135 95 60 9109513 mousefilter;
#P message 135 144 76 9109513 looppoints $1 $2;
#P newex 135 116 45 9109513 pack 0 0;
#P message 12 97 41 9109513 size $1;
#P connect 7 0 0 0;
#P connect 9 0 10 0;
#P connect 10 0 8 0;
#P connect 0 0 8 0;
#P connect 5 0 3 0;
#P connect 3 0 1 0;
#P connect 9 0 2 0;
#P connect 1 0 2 0;
#P connect 2 0 4 0;
#P connect 6 0 1 1;
#P pop;
#P newobj 306 642 66 9109513 p selector;
#P user rslider 306 615 107 17 1896 1 0 0 0;
#P objectname loopsel;
#P toggle 10 158 15 0;
#P newex 10 183 51 9109513 qmetro 5;
#P user jit.pwindow 65 551 82 62 0 1 0 0 1 0;
#P newex 66 470 63 9109513 jit.qt.movie;
#P newex 66 166 68 9109513 prepend read;
#P window linecount 2;
#P newex 206 203 481 9109513 route duration timescale fps framecount looppoints time rate vol dim srcrect dstrect loop usesrcrect usedstrect interp autostart vrpan vrtilt vrfov vrnode vrnodelist movie_name movie_dim;
#P window linecount 1;
#P comment 29 60 87 9109513 drop movie folder;
#P user ubumenu 21 138 100 9109513 0 1 1 0;
#X add AR_ARROW_1.mov;
#X add AR_ARROW_3.mov;
#X add AR_ARROW_4.mov;
#X add AR_BALLS_1.mov;
#X add AR_BALLS_2.mov;
#X add AR_BALLS_3.mov;
#X add AR_BLUE_1.mov;
#X add AR_BLUE_2.mov;
#X add AR_BLUE_3.mov;
#X add AR_BLUE_4.mov;
#X add AR_CILINDER_1.mov;
#X add AR_CITY_CHINA_1.mov;
#X add AR_CITY_CHINA_2.mov;
#X add AR_COLOUR_1.mov;
#X add AR_COLOUR_2.mov;
#X add AR_COLOUR_3.mov;
#X add AR_COLOUR_4.mov;
#X add AR_COLOUR_5.mov;
#X add AR_FIRE_1.mov;
#X add AR_FXCOOL_1.mov;
#X add AR_FXCOOL_2.mov;
#X add AR_FXCOOL_3.mov;
#X add AR_FXCOOL_4.mov;
#X add AR_FXCOOL_5.mov;
#X add AR_FXCOOL_6.mov;
#X add AR_FXCOOL_7.mov;
#X add AR_FXCOOL_8.mov;
#X add AR_FXCOOL_9.mov;
#X add AR_GRAFX_GLO_1.mov;
#X add AR_GRAFX_GLO_2.mov;
#X add AR_GRAFX_GLO_3.mov;
#X add AR_GRAFX_GLO_4.mov;
#X add AR_GRAFX_GLO_5.mov;
#X add AR_GRAFX_GLO_6.mov;
#X add AR_GRAFX_GLO_7.mov;
#X add AR_GRAFX_KNOBS.mov;
#X add AR_GRAFX_PURPLE_1.mov;
#X add AR_GRAFX_PURPLE_2.mov;
#X add AR_GRAFX_PURPLE_3.mov;
#X add AR_GRAFX_PURPLE_4.mov;
#X add AR_GRAFX_TUN_1.mov;
#X add AR_GRAFX_TUN_2.mov;
#X add AR_GRUNGE_GUITARS.mov;
#X add AR_GRUNGE_MATRIXX.mov;
#X add AR_GRUNGE_PILOT.mov;
#X add AR_GRUNGE_REDDANCE.mov;
#X add AR_GRUNGE_SMPTESUN.mov;
#X add AR_GRUNGE_TV.mov;
#X add AR_HAL_ROUND.mov;
#X add AR_HEART_1.mov;
#X add AR_HEART_2.mov;
#X add AR_INCONTROL.mov;
#X add AR_KALEI_1.mov;
#X add AR_KALEI_2.mov;
#X add AR_LINES_1.mov;
#X add AR_LOGO_GLO.mov;
#X add AR_LOGO_SMPTE.mov;
#X add AR_LOGO_TEEP.mov;
#X add AR_RED_BLUE.mov;
#X add AR_ROBOT_FIRE_1.mov;
#X add AR_ROBOT_FIRE_2.mov;
#X add AR_ROBOT_FIRE_3.mov;
#X add AR_ROBOT_FIRE_4.mov;
#X add AR_ROBOT_MASCOT.mov;
#X add AR_ROBOT_RADIAL.mov;
#X add AR_SL1200.mov;
#X add AR_SL1200_SCRATCH.mov;
#X add AR_SPEEDCAR.mov;
#X add AR_STARS.mov;
#X add AR_STARS_ROBOT.mov;
#X add AR_WORD_BELIEVE.mov;
#X add AR_WORD_CLUB.mov;
#X add AR_WORD_FEELMUSIC.mov;
#X add AR_WORD_LOVEDDANCE.mov;
#X add AR_WORD_LOVEMUSIC.mov;
#X add AR_WORD_MIX.mov;
#X add AR_WORD_YOUFEEL.mov;
#X add AR_WORDFEELDANCE.mov;
#X add AR_XPLO_CUBE.mov;
#X prefix_set 0 1 “H:/experimental/79 Loops/79 free loops mov/” 0;
#P newex 21 112 76 9109513 prepend prefix;
#P user panel 21 39 103 67;
#X brgb 95 228 52;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user dropfile 21 39 124 105 0;
#P user panel 201 522 87 134;
#X brgb 28 93 204;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 201 612 216 63;
#X brgb 28 93 204;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 585 271 226 194;
#X brgb 246 228 182;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 13 0 12 0;
#P connect 3 0 5 0;
#P connect 5 0 6 0;
#P connect 6 1 9 0;
#P connect 9 0 10 0;
#P fasten 12 0 10 0 15 206 71 206;
#P fasten 15 1 10 0 367 668 71 668;
#P fasten 24 0 10 0 610 453 71 453;
#P fasten 27 0 10 0 35 438 71 438;
#P fasten 28 0 10 0 92 438 71 438;
#P fasten 10 0 11 0 71 525 71 525;
#P connect 11 0 20 0;
#P fasten 10 1 8 0 124 190 211 190;
#P connect 8 0 19 0;
#P connect 16 0 17 0;
#P fasten 19 0 18 0 211 625 231 625;
#P connect 8 1 18 0;
#P connect 17 0 18 0;
#P fasten 8 5 14 0 311 311 311 311;
#P connect 15 0 14 0;
#P fasten 18 0 15 1 231 652 329 652;
#P fasten 14 0 15 2 311 652 347 652;
#P fasten 22 0 15 3 597 636 365 636;
#P fasten 14 1 15 3 408 656 365 656;
#P connect 25 0 26 0;
#P connect 26 0 22 0;
#P fasten 23 0 22 0 665 332 597 332;
#P fasten 22 0 24 0 597 405 610 405;
#P fasten 8 0 23 0 211 267 665 267;
#P pop;

#35748
Feb 11, 2008 at 9:47pm

Not quite a solution to your patching problems, but an alternative.

http://www.mspinky.com/

The scratching of video or audio can be controlled by time code embedded in the vinyl. It works pretty well actually. I haven’t tried scratching video with anything other than the vinyl, but it comes with max code and patches to use. I’m sure it could be modified to suit your needs.

#122227
Feb 12, 2008 at 4:27am

thanx DonK,

have to take a look at ms.Pinky, but like you said, it’s not really a solution to my problem.
but i’m pretty sure that there is an easy solution to my problem, i just can’t find it right now, but i’ll keep trying.

#122228
Feb 12, 2008 at 5:24am

with regards to pausing normal playback whilst scratching, you can try looking at the mousestate object (i think that’s what it’s called). the logic would go something like:
when the mouse is over the region of the screen occupied by the scrub bar, and the button is down, set the movie rate to 0.
when the mouse button is up, set the movie rate to 1.

your movie is jumping to where you tell it (with the time message). if you only want to scrub based on your loop points, you have send those points as the min and max to the scrub bar (or scale the output of the scrub bar. look at the “scale” object).

-rob

#122229
Feb 13, 2008 at 12:32am

hi rob,

thanks for your answer, but i still can’t get it running.

i’m trying the loop thing first, with the looppoints telling the scrub bar the min and max, but its still playing the whole timeline.

i simplified the patch a bit so its easier to follow.

max v2;
#N vpatcher 1002 62 1983 794;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 535 184 39 9109513 min $1;
#P message 581 184 42 9109513 max $1;
#P number 395 479 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 353 479 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 485 531 59 9109513 getduration;
#P message 249 425 37 9109513 size $1;
#P message 233 532 70 9109513 getmoviename;
#P newex 311 564 28 9109513 s jan;
#P newex 41 296 26 9109513 r jan;
#P message 412 532 65 9109513 getlooppoints;
#P newex 126 358 30 9109513 print;
#P newex 311 531 94 9109513 pak looppoints 0 0;
#P message 94 242 27 9109513 start;
#P message 37 241 27 9109513 stop;
#P user multiSlider 535 219 191 37 0. 1896. 1 2664 47 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P objectname loc;
#P user jit.fpsgui 73 494 60 9109513 0;
#P user rslider 338 453 107 17 3360 1 0 0 0;
#P objectname loopsel;
#P toggle 17 165 15 0;
#P newex 17 190 51 9109513 qmetro 5;
#P user jit.pwindow 72 403 82 62 0 1 0 0 1 0;
#P newex 73 322 63 9109513 jit.qt.movie;
#P newex 73 173 68 9109513 prepend read;
#P newex 183 352 277 9109513 route duration timescale fps framecount looppoints time rate vol;
#P comment 36 67 87 9109513 drop movie folder;
#P user ubumenu 28 145 100 9109513 0 1 1 0;
#X add “abfluss auge.AVI”;
#X add abstract1.AVI;
#X add abstract10.AVI;
#X add abstract11.AVI;
#X add abstract12.AVI;
#X add abstract13.AVI;
#X add abstract1_neu.avi.avi;
#X add abstract2.AVI;
#X add abstract3.AVI;
#X add abstract4.AVI;
#X add abstract5.AVI;
#X add abstract6.AVI;
#X add abstract7.AVI;
#X add abstract8.AVI;
#X add abstract9.AVI;
#X add “alter mann seq..AVI”;
#X add “auftauchender kopf.AVI”;
#X add “augen sw.AVI”;
#X add “ausziehende frauen.AVI”;
#X add baerwalk[1].mpeg;
#X add beincollage.AVI;
#X add “blick sw.AVI”;
#X add blume1.AVI;
#X add blume2.AVI;
#X add blume3.AVI;
#X add blume4.AVI;
#X add bocksprung.AVI;
#X add duschkopf.AVI;
#X add duschvorhang.AVI;
#X add einzeller.AVI;
#X add elewalk[1].mpeg;
#X add eselswippe.AVI;
#X add fahrradsequenz.AVI;
#X add “fallende wuerfel maedchen.AVI”;
#X add fechter.AVI;
#X add “fenster ausziehen.AVI”;
#X add “fliegende bett.AVI”;
#X add funnycats.wmv;
#X add “gesicht nah.AVI”;
#X add gesichtcollage.AVI;
#X add gesichtstransformation.AVI;
#X add “jesus am kreuz.AVI”;
#X add “junge ohne beine.AVI”;
#X add kaefer.AVI;
#X add “kaiser tuch.AVI”;
#X add kaisre.AVI;
#X add kamel.AVI;
#X add Katzenvideo.WMV;
#X add “kleines maedel.AVI”;
#X add “kuss kind frau.AVI”;
#X add “kuss zusje.AVI”;
#X add “kuss zusjes bruder.AVI”;
#X add “kutsche sw.AVI”;
#X add laeufer.AVI;
#X add “mann durchreichen.AVI”;
#X add “mann ziehend.AVI”;
#X add microorg.AVI;
#X add pferderennen.AVI;
#X add Picasa.ini;
#X add “psycho dusche.AVI”;
#X add puppe.AVI;
#X add ringe1.AVI;
#X add ringe2.AVI;
#X add ringe3.AVI;
#X add ringe4.AVI;
#X add ringe5.AVI;
#X add ringer.AVI;
#X add roentgen1.AVI;
#X add roentgen2.AVI;
#X add Ronin-Intensity[2].avi;
#X add “salto rueck.AVI”;
#X add sauact[1].mpeg;
#X add “scherbe close.AVI”;
#X add schlittschuhfall.AVI;
#X add “schrei dusche.AVI”;
#X add “schrei sw.AVI”;
#X add “schreiender kommandant.AVI”;
#X add soldatenreihe.AVI;
#X add stilllife1.AVI;
#X add stilllife2.AVI;
#X add stilllife3.AVI;
#X add tanzen.AVI;
#X add “tanzende frau.AVI”;
#X add “tanzendes kind.AVI”;
#X add test3[1].mpeg;
#X add Thumbs.db;
#X add “treppe hoch.AVI”;
#X add “tuch haende.AVI”;
#X add “tuer auf.AVI”;
#X add wackelmaschine.AVI;
#X add “wehendes kleid.AVI”;
#X add wetterhahn.AVI;
#X add zellen.AVI;
#X add “zug antrieb.AVI”;
#X add “zug antrieb2.AVI”;
#X add “zug antrieb3.AVI”;
#X add “zug bauarbeiter.AVI”;
#X add “zug kurve.AVI”;
#X add “zug kurve2.AVI”;
#X add “zug tunnel.AVI”;
#X add zug1.AVI;
#X add zug2.AVI;
#X add “zusje badewanne.AVI”;
#X add “zusje blick.AVI”;
#X add “zusjes bruder.AVI”;
#X add zustechen.AVI;
#X prefix_set 0 1 “H:/experimental/video to vjing/sourcematerial/videos_avi/” 0;
#P newex 28 119 76 9109513 prepend prefix;
#P user panel 28 46 103 67;
#X brgb 95 228 52;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user dropfile 28 46 131 112 0;
#P message 338 425 47 9109513 set $1 $2;
#P message 494 275 43 9109513 time $1;
#P connect 12 0 11 0;
#P connect 2 0 4 0;
#P connect 4 0 5 0;
#P connect 5 1 8 0;
#P fasten 0 0 9 0 499 305 78 305;
#P fasten 21 0 9 0 46 318 78 318;
#P connect 8 0 9 0;
#P fasten 11 0 9 0 22 213 78 213;
#P fasten 16 0 9 0 42 290 78 290;
#P fasten 17 0 9 0 99 290 78 290;
#P fasten 9 0 10 0 78 377 78 377;
#P connect 10 0 14 0;
#P connect 9 1 19 0;
#P fasten 9 1 7 0 131 347 188 347;
#P fasten 7 0 24 0 188 421 254 421;
#P fasten 25 0 22 0 490 556 316 556;
#P fasten 23 0 22 0 238 556 316 556;
#P fasten 20 0 22 0 417 556 316 556;
#P connect 18 0 22 0;
#P connect 1 0 13 0;
#P fasten 24 0 13 0 254 447 343 447;
#P fasten 13 0 26 0 343 476 358 476;
#P connect 26 0 18 1;
#P fasten 13 1 27 0 440 474 400 474;
#P connect 27 0 18 2;
#P fasten 15 0 0 0 540 261 499 261;
#P fasten 26 0 29 0 358 514 757 514 757 157 540 157;
#P fasten 28 0 15 0 586 210 540 210;
#P connect 29 0 15 0;
#P fasten 27 0 28 0 400 507 742 507 742 168 586 168;
#P pop;

#122230
Feb 13, 2008 at 12:50am

hey,
found the solution for the stop and plat in the scrub bar, actually it was in the jitter/quicktime examples, “jit.qt.movie-looppointscrub.pat”,
but still no luck with the defined loopoints.

#122231
Feb 13, 2008 at 12:57am

look in your max log.

multislider does not like min/max, it takes a setminmax message, so
use pack or whatever.

:P

On Feb 12, 2008, at 7:50 PM, jan wrote:

>
> hey,
> found the solution for the stop and plat in the scrub bar, actually
> it was in the jitter/quicktime examples, “jit.qt.movie-
> looppointscrub.pat”,
> but still no luck with the defined loopoints.

#122232
Feb 13, 2008 at 1:25am

hi vade, sorry for my stupidity, but when i pack the 2 arguments, my multislider divides into two sliders, and that doesn’t really help, how can i set the sliderrange to the specified loopoints, so that i have one slider with whom i can scratch in between them?
again, sorry for my noobish questions.

#122233
Feb 13, 2008 at 1:32am

[pak setminmax 0 0]

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 425 512 95 196617 pak setminmax 0 0;
#P number 402 486 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 360 486 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 492 538 59 196617 getduration;
#P message 256 432 51 196617 size $1;
#P message 240 539 70 196617 getmoviename;
#P newex 318 571 28 196617 s jan;
#P newex 48 303 40 196617 r jan;
#P message 419 539 65 196617 getlooppoints;
#P newex 133 365 30 196617 print;
#P newex 318 538 94 196617 pak looppoints 0 0;
#P message 101 249 41 196617 start;
#P message 44 248 27 196617 stop;
#P user multiSlider 542 226 191 37 159. 447. 1 2664 47 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P objectname loc;
#P user jit.fpsgui 80 501 60 196617 0;
#P user rslider 345 460 107 17 3360 1 0 0 0;
#P objectname loopsel;
#P toggle 24 172 15 0;
#P newex 24 197 51 196617 qmetro 5;
#P user jit.pwindow 79 410 82 62 0 1 0 0 1 0;
#P newex 80 329 63 196617 jit.qt.movie;
#P newex 80 180 68 196617 prepend read;
#P newex 190 359 306 196617 route duration timescale fps framecount
looppoints time rate vol;
#P comment 43 74 87 196617 drop movie folder;
#P user ubumenu 35 152 100 196617 0 1 1 0;
#X add airline_night1.mov;
#X add airline_safty.mov;
#X add astoria_wires.mov;
#X add buffalo_road1.mov;
#X add buffalo_road2.mov;
#X add lcd_closeup.mov;
#X add neon_close2.mov;
#X add neon_close_up.mov;
#X add stiching_machines1.mov;
#X add subway1.mov;
#X add subway2.mov;
#X add triboro1.mov;
#X add triboro2.mov;
#X prefix_set 0 1 Berlin:/Users/vade/Documents/Media/Cleaned/Personal/
01.15.04/ 0;
#P newex 35 126 76 196617 prepend prefix;
#P user panel 35 53 103 67;
#X brgb 95 228 52;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user dropfile 35 53 138 119 0;
#P message 345 432 61 196617 set $1 $2;
#P message 501 282 43 196617 time $1;
#P connect 27 0 18 2;
#P connect 27 0 28 2;
#P connect 26 0 18 1;
#P connect 26 0 28 1;
#P fasten 28 0 15 0 430 533 866 533 866 174 547 174;
#P fasten 15 0 0 0 547 268 506 268;
#P fasten 13 1 27 0 447 481 407 481;
#P fasten 13 0 26 0 350 483 365 483;
#P fasten 24 0 13 0 261 454 350 454;
#P connect 1 0 13 0;
#P connect 18 0 22 0;
#P fasten 20 0 22 0 424 563 323 563;
#P fasten 23 0 22 0 245 563 323 563;
#P fasten 25 0 22 0 497 563 323 563;
#P fasten 7 0 24 0 195 428 261 428;
#P fasten 9 1 7 0 138 354 195 354;
#P connect 9 1 19 0;
#P connect 10 0 14 0;
#P fasten 9 0 10 0 85 384 85 384;
#P fasten 17 0 9 0 106 297 85 297;
#P fasten 16 0 9 0 49 297 85 297;
#P fasten 11 0 9 0 29 220 85 220;
#P connect 8 0 9 0;
#P fasten 21 0 9 0 53 325 85 325;
#P fasten 0 0 9 0 506 312 85 312;
#P connect 5 1 8 0;
#P connect 4 0 5 0;
#P connect 2 0 4 0;
#P connect 12 0 11 0;
#P window clipboard copycount 29;

On Feb 12, 2008, at 8:25 PM, jan wrote:

>
> hi vade, sorry for my stupidity, but when i pack the 2 arguments, my
> multislider divides into two sliders, and that doesn’t really help,
> how can i set the sliderrange to the specified loopoints, so that i
> have one slider with whom i can scratch in between them?
> again, sorry for my noobish questions.

#122234
Feb 13, 2008 at 1:43am

hey vade,
thanks a lot, its working, and i learned some more.

i have a little problem left, which i thought i figured out, but its somehow not working, and i don’t know why, cause i tried it before and it was working.
i added the mousefilter from the example patch: “jit.qt.movie-looppointscrub.pat”,
i want the scrub bar to stop while scrubbing, but it’s not working somehow, maybe you got any idea how to fix that.

thanks again!

max v2;
#N vpatcher 786 53 1767 785;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 452 503 95 9109513 pak setminmax 0 0;
#P message 93 243 26 9109513 stop;
#P newex 579 287 43 9109513 t 0 stop;
#P newex 579 264 45 9109513 gate 1 1;
#P newex 634 288 50 9109513 t 1 start;
#P newex 634 264 60 9109513 mousefilter;
#P number 395 479 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 353 479 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 485 531 59 9109513 getduration;
#P message 249 425 37 9109513 size $1;
#P message 233 532 70 9109513 getmoviename;
#P newex 311 564 28 9109513 s jan;
#P newex 41 296 26 9109513 r jan;
#P message 412 532 65 9109513 getlooppoints;
#P newex 126 358 30 9109513 print;
#P newex 311 531 94 9109513 pak looppoints 0 0;
#P user multiSlider 494 204 191 37 0. 735. 1 2664 47 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P objectname loc;
#P user jit.fpsgui 73 494 60 9109513 0;
#P user rslider 338 453 107 17 3360 1 0 0 0;
#P objectname loopsel;
#P toggle 17 165 15 0;
#P newex 17 190 51 9109513 qmetro 5;
#P user jit.pwindow 72 403 82 62 0 1 0 0 1 0;
#P newex 73 322 63 9109513 jit.qt.movie;
#P newex 73 173 68 9109513 prepend read;
#P newex 183 352 277 9109513 route duration timescale fps framecount looppoints time rate vol;
#P comment 36 67 87 9109513 drop movie folder;
#P user ubumenu 28 145 100 9109513 0 1 1 0;
#X add “abfluss auge.AVI”;
#X add abstract1.AVI;
#X add abstract10.AVI;
#X add abstract11.AVI;
#X add abstract12.AVI;
#X add abstract13.AVI;
#X add abstract1_neu.avi.avi;
#X add abstract2.AVI;
#X add abstract3.AVI;
#X add abstract4.AVI;
#X add abstract5.AVI;
#X add abstract6.AVI;
#X add abstract7.AVI;
#X add abstract8.AVI;
#X add abstract9.AVI;
#X add “alter mann seq..AVI”;
#X add “auftauchender kopf.AVI”;
#X add “augen sw.AVI”;
#X add “ausziehende frauen.AVI”;
#X add baerwalk[1].mpeg;
#X add beincollage.AVI;
#X add “blick sw.AVI”;
#X add blume1.AVI;
#X add blume2.AVI;
#X add blume3.AVI;
#X add blume4.AVI;
#X add bocksprung.AVI;
#X add duschkopf.AVI;
#X add duschvorhang.AVI;
#X add einzeller.AVI;
#X add elewalk[1].mpeg;
#X add eselswippe.AVI;
#X add fahrradsequenz.AVI;
#X add “fallende wuerfel maedchen.AVI”;
#X add fechter.AVI;
#X add “fenster ausziehen.AVI”;
#X add “fliegende bett.AVI”;
#X add funnycats.wmv;
#X add “gesicht nah.AVI”;
#X add gesichtcollage.AVI;
#X add gesichtstransformation.AVI;
#X add “jesus am kreuz.AVI”;
#X add “junge ohne beine.AVI”;
#X add kaefer.AVI;
#X add “kaiser tuch.AVI”;
#X add kaisre.AVI;
#X add kamel.AVI;
#X add Katzenvideo.WMV;
#X add “kleines maedel.AVI”;
#X add “kuss kind frau.AVI”;
#X add “kuss zusje.AVI”;
#X add “kuss zusjes bruder.AVI”;
#X add “kutsche sw.AVI”;
#X add laeufer.AVI;
#X add “mann durchreichen.AVI”;
#X add “mann ziehend.AVI”;
#X add microorg.AVI;
#X add pferderennen.AVI;
#X add Picasa.ini;
#X add “psycho dusche.AVI”;
#X add puppe.AVI;
#X add ringe1.AVI;
#X add ringe2.AVI;
#X add ringe3.AVI;
#X add ringe4.AVI;
#X add ringe5.AVI;
#X add ringer.AVI;
#X add roentgen1.AVI;
#X add roentgen2.AVI;
#X add Ronin-Intensity[2].avi;
#X add “salto rueck.AVI”;
#X add sauact[1].mpeg;
#X add “scherbe close.AVI”;
#X add schlittschuhfall.AVI;
#X add “schrei dusche.AVI”;
#X add “schrei sw.AVI”;
#X add “schreiender kommandant.AVI”;
#X add soldatenreihe.AVI;
#X add stilllife1.AVI;
#X add stilllife2.AVI;
#X add stilllife3.AVI;
#X add tanzen.AVI;
#X add “tanzende frau.AVI”;
#X add “tanzendes kind.AVI”;
#X add test3[1].mpeg;
#X add Thumbs.db;
#X add “treppe hoch.AVI”;
#X add “tuch haende.AVI”;
#X add “tuer auf.AVI”;
#X add wackelmaschine.AVI;
#X add “wehendes kleid.AVI”;
#X add wetterhahn.AVI;
#X add zellen.AVI;
#X add “zug antrieb.AVI”;
#X add “zug antrieb2.AVI”;
#X add “zug antrieb3.AVI”;
#X add “zug bauarbeiter.AVI”;
#X add “zug kurve.AVI”;
#X add “zug kurve2.AVI”;
#X add “zug tunnel.AVI”;
#X add zug1.AVI;
#X add zug2.AVI;
#X add “zusje badewanne.AVI”;
#X add “zusje blick.AVI”;
#X add “zusjes bruder.AVI”;
#X add zustechen.AVI;
#X prefix_set 0 1 “H:/experimental/video to vjing/sourcematerial/videos_avi/” 0;
#P newex 28 119 76 9109513 prepend prefix;
#P user panel 28 46 103 67;
#X brgb 95 228 52;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user dropfile 28 46 131 112 0;
#P message 338 425 47 9109513 set $1 $2;
#P message 494 275 43 9109513 time $1;
#P message 46 243 27 9109513 start;
#P connect 13 0 12 0;
#P connect 3 0 5 0;
#P connect 5 0 6 0;
#P connect 6 1 9 0;
#P fasten 31 0 10 0 98 290 78 290;
#P fasten 0 0 10 0 51 290 78 290;
#P fasten 28 1 10 0 679 314 78 314;
#P fasten 30 1 10 0 617 314 78 314;
#P fasten 1 0 10 0 499 314 78 314;
#P fasten 20 0 10 0 46 318 78 318;
#P connect 9 0 10 0;
#P fasten 12 0 10 0 22 213 78 213;
#P fasten 10 0 11 0 78 377 78 377;
#P connect 11 0 15 0;
#P connect 10 1 18 0;
#P fasten 10 1 8 0 131 347 188 347;
#P fasten 8 0 23 0 188 421 254 421;
#P fasten 24 0 21 0 490 556 316 556;
#P fasten 22 0 21 0 238 556 316 556;
#P fasten 19 0 21 0 417 556 316 556;
#P connect 17 0 21 0;
#P connect 2 0 14 0;
#P fasten 23 0 14 0 254 447 343 447;
#P fasten 14 0 25 0 343 476 358 476;
#P connect 25 0 17 1;
#P fasten 14 1 26 0 440 474 400 474;
#P connect 26 0 17 2;
#P fasten 32 0 16 0 457 526 720 526 720 186 499 186;
#P fasten 16 0 1 0 499 260 499 260;
#P fasten 25 0 32 1 358 499 499 499;
#P fasten 26 0 32 2 400 499 541 499;
#P fasten 30 0 29 0 584 309 569 309 569 262 584 262;
#P fasten 28 0 29 0 639 309 569 309 569 262 584 262;
#P connect 29 0 30 0;
#P fasten 16 0 27 0 499 252 639 252;
#P connect 27 0 28 0;
#P pop;

#122235
Feb 13, 2008 at 1:48am

sorry, figured out that i forgot to hook the scrubbar to the gate.

solved.

hey vade,
good to know that there are some people out there investing their time even into some noobs, appreciate it a lot!!

#122236

You must be logged in to reply to this topic.