Skip navigation
Currently Being Moderated

Using Lingo To Control Quicktime Movie.

Oct 4, 2010 9:55 AM



Running Director 11.5 under Win XP Pro.


I want to be able to use lingo to control a QT movie such that I can programatically start and stop the movie and move to the next or previous frame, but can't see an easy way to do the frame advance bit using native Director lingo functionality. If someone could point me in the right direction, that'd be dead useful.


Basically the plan is to write a visual movie editor that allows creation and submission of a simple EDL to a third party system (Anystream Agility as it happens). This was trivial to do for MPEG using the MPEGAdvance xtra, but it seems a bit more problematic for QT!




Thanks in advance


  • Currently Being Moderated
    Oct 4, 2010 11:10 AM   in reply to TherionWare

    You can use Mpeg Advance for quicktime movies, so if you have a working solution for Mpegs using that xtra, you should be able to use the exact same thing for quicktime movies.  The QT format is really just MPEG-4 with some custom headers.


    But if you really want to use the QT xtra in Director, you would simply have to find the frame rate (I believe there is a .fps or .framerate property) and use sprite("qtSprite").currentTime to set the playhead to the place where you want it.

    Mark as:
  • Currently Being Moderated
    Jan 7, 2011 10:41 AM   in reply to TherionWare

    put QTSprite.movietime -- the current playhead position in the movie

    QTSprite.movietime = 100 -- sets the playhead position in the movie (AKA the current frame in the movie)


    put QTSprite.movierate -- displays the current play rate of the movie

    QTSprite.movierate = 1 -- playing forward at normal speed

    QTSprite.movierate = 2 -- playing forward at twice normal speed

    QTSprite.movierate = -1 -- playing backwards at normal speed

    QTSprite.movierate = 0 -- stopped

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points