How to playback a folder full of images as a movie, as it is updated?


    Aug 26 2010 | 7:15 pm
    I have an application that records a sequence of images in a folder, over time.
    I'd like to play back these images continuously as a movie, even as images are being added.
    I have found the images2movie and packpicts demo patches, which are useful, but very oriented towards doing a one-shot conversion. I would like to be able to scrub back and forth through the images immediately, and not after a conversion process.
    I suppose I could use a (metro) to refresh a (folder) object at regular intervals, load it into a (umenu) and then index into that, but I have concerns about a) having too many images and b) the time it would take to constantly refresh the (folder) object.
    Is there any way to set up a "watched folder" type scenario, where the patch gets a signal whenever the contents of a folder have changed?
    Is there a better way to handle image sequence playback?

    • Aug 26 2010 | 9:20 pm
      Have a look at this patch. I posted that a while ago to detect when the contents of a folder changes. Haven't looked at it since... but it might put you on the right path. You might also want to think about jit.matrixset for keeping track of your pictures.... search the forum for some good examples.
    • Aug 27 2010 | 12:30 am
      Thanks, that looks very helpful! I did not realize that (filewatch) existed, and that it could monitor changes to a folder!
    • Nov 09 2010 | 4:40 am
      Hi, sorry, but i don't understand why i cant read the patch below.... on my screen there are only number and letter...
      See the exemple :
      ....."Have a look at this patch. I posted that a while ago to detect when the contents of a folder changes. Haven't looked at it since... but it might put you on the right path. You might also want to think about jit.matrixset for keeping track of your pictures.... search the forum for some good examples.
      ----------begin_max5_patcher---------- 1745.3oc0a88aaaCD9Ym+JHLPA1.xLDIE0OFvFPwvJvdaOs8v1vfhEisVsk7 rjPRZw9eej2IY6lRGQEIwpFfXGRIac22c22c7HyGuYwx6JdTVtj78j+frXwG uYwBXJ8DKZFuX49jGWuKoDtskqK1uWlWs7V7ZUxGqf4q1JIkxp5CjxsE06RI pIxIp69PxQod.oPMYw57J0mtjTbOL28pIkGIOjUsEFudaR9FYZ67I4pORc0g 5J3pGRT2ldt7j8x1uhjzT8GHamb0pUjrb8jEGeh7MYUjGJN99R0W1Qh59gGR Q9tmHkEpg+ac152SpjkUY4aTezusUk1kkKWWTmC5UPyjYofVVb2+7cz31679 Bkpj8Ao9RTuUdMSmWuOKemrB.L54IUZR6rs2pRiVuU87+6ix0UnYvmQUeSj. e3MZPf9sPwJOxecwiUi.fD81iYI6Vpuv+cyM5WtcfFR1JMjRRTnTcdpFWIUE WXrVZ.QhlTDQDAX.mFCHhvCdKxYHBcE4NkaI34kJWmkp7k1lsdaqWpBd1Wjm UUbznKDy.fwmT.i5APTCbEoeiEO5vUt7Akt7Yn0G1QNJ2XvKIrO5LynNyttN yi.8T3C9JnR+I9H3WS0SGj3GX4xaU+5FL4vQ4AolKS8pAjIRLb2AZ2PSLRkv r.ZFYXYurrLYizjpyFtWQ2pd.yGXP7CQNUWp6Wwkn7vwr7p6IkOoUExaJeSo oXlXW.OhPLWiG28tFWAdpH2QLAHA9COTwBVDJDjvYqDcgG5LCNjIohPUHimA jQLBkkvuNxD.gNXQIHG6KiKY5DomgG8PGEXI2QnlvG1jl+gQwDOAdyTOGURY 4iGH+o5mGLAOTSvSbe7dDuPbkODWwiD.cL5+D1Y14K+cVfR9gSIJ0TrOOhOy Qoe7GLgM7IMWUa.FO11.L2w4.05qVI.UW5sIxY+dQ9HLhM9ciMTnLmvPqoma +0cPU8GxTvjQLxa39OuPBLNmhNNd1lBqkfdJygUu+NiKolGOs04fqklgKFvv Jpew74egWHIm6hUR5GgDMhY0JI0U2XJ3g64hpa7inyzpaTNKM8Zz.3vhcB3z z5g3YkCy04aY7IkukxCwFOwmS7slAocEIo3S8yQI+Is2LTNtlaDkDLKQIWkF hIlzzPs9HAygzP06k40lvf.iX.ckHVPiB6+pqypj6a1ykkay1r8m1UWppdbU R18Zc6V8KWL+ulovMQshe6vScbOu3kivKeB
    • Nov 09 2010 | 11:13 am
      What you see is the patch in compressed form to enable sharing on the internet.
      Copy the code from the webpage, starting with the "begin_max5_patcher" line and ending with the "end_max5_patcher" line, then paste it into an empty patch in Max. The patch should appear!
      Tim
    • Nov 09 2010 | 10:46 pm
      Thanks.. tha's ok... it does work...
      bye
    • Jun 12 2012 | 11:40 am
      Hello,
      you mentioned the images2movie and packpicts demo patches. Where can I find these? Im trying to get a movie running from an image sequence in the hope it will take less computing power. Could someone direct me to the patches mentioned above or does someone have a better idea to make a patch less heavy. In addition to other operations it simultaneously plays 6 different movies and switches between them. I have a test version now with smaller movies, but the real movie will be about 500mb big (thats why i though od image sequences). Any suggestions? thanks, Rik
    • Oct 14 2012 | 3:09 am
      The image2movie and packpicts patches are in the examples folder that comes with Max. For example, on the Mac, for Max 6, they are in the following locations:
      /Applications/Max6/examples/jitter-examples/demos/image2movie.maxpat /Applications/Max6/examples/jitter-examples/video/quicktime/packpicts.maxpat