jit.qt.movie support for jump to timecode

    Jan 16 2013 | 12:26 am
    I want to be able to jump to 00:00:10. Is this possible with jit.qt.movie?
    Thanks, Anthony

    • Jan 16 2013 | 1:03 am
      Hey Anthony,
      There is no direct support for setting position via timecode. If the movie file has a timecode track, you can send the message 'timecode' to get the movie's timecode. There are a few other timecode-related messages that you can explore, check the jit.qt.movie reference for more info.
      If you want to set the position with the timecode format, you would just need to do the math by hand.
      Good luck! -Ben
    • Jan 16 2013 | 4:52 am
      Hey Ben, thanks for your response. When ever I send a "timecode" message to jit.qt.movie, i get... jit.qt.movie: doesn't understand "timecode"
    • Jan 16 2013 | 5:36 am
      Sorry, does 'gettimecode' and 'gettimecodeinfo' work for you? Does the .mov have a timecode track?
    • Jan 16 2013 | 6:14 pm
      I don't think the movie I am using has a timecode track. :(
      Another alternative would be able to specify the frame number that corresponds to a time value. To do that I would need frame rate and total time of the movie. But after looking over jit.qt.movie documentation, it looks like this information is not provided.
      Any ideas?
    • Jan 16 2013 | 6:34 pm
      As Ben suggested, you can do the math yourself, and I think it's pretty straightforward. Use the 'getfps' message to jit.qt.movie find out the frame rate of its movie, use that number to convert hh:mm:ss:ff to a number of frames, then use the 'frame ' message to jump to the desired frame.