jit.qt.movie behaviour

    Oct 12 2013 | 3:40 am
    tiny question: i just realized that films shown with jit.qt.movie, play the loaded movie in the background, regardlessly if banged (and shown in some window) or not: when i stop banging a jit.qt.movie and then later start banging it again, it does not pick up on the last shown frame but where it would be if it would have been shown continously... how would i prevent this? that is, the movie should only advance a frame frame when explicitely banged...? thanks!! k

    • Oct 12 2013 | 11:02 am
      Here you go.
    • Oct 12 2013 | 11:07 am
      You can control the playback with a [frame] message getting its value from a counter that can be turned on/off to pause the movie.
      The clumsiness for the fps to ms for the metro reflects my mathematical deficits (smile but don't laugh), but the idea should become transparent ...
      ____________________________ edit: ups, there has been someone faster; I keep it up anyway; in the above example you see more parameters to control the playback timing wise ... and can have a good smile on funny fps -> ms calculations ...
    • Oct 12 2013 | 4:12 pm
      awesome! thanks to both of you!!! k
    • Oct 12 2013 | 7:23 pm
      In Andro's solution, you can send a query to jit.qt.movie to get the frame count of the movie when you load it, allowing you to set the counter maximum automatically.