what is the timescale of a player?
niggemann at uni-wh.de
Mon Jun 9 06:33:16 CDT 2008
the timescale divided by the frames per second gives you the duration of a
a timescale of 600 in a movie with 25 frames per second makes for a duration
of 24 of a single frame (600/25), of course this assumes that all frames are
of equal duration, which is not necessarily so. Especially when you edit a
movie the first and last frames might be shorter. And you can set the
duration of a frame to whatever you like (via applescript) so the frames per
second is an average for all the frames in a movie.
to step from one frame to the next you could do:
put the currenttime of player "xyz" into tcurrentTime
add 24 to tcurrentTime
set the currenttime of player "xyz" to tcurrentTime
Tiemo Hollmann TB wrote:
> The documentation of 2.9 says to the timescale property of a player:
> "intervals per second of a movie or sound". My first thought was, it would
> be the fps (frames per second), but if I get the timescale of my videos, I
> get "600". Can anybody give me a hint, what this number represents and if
> depends on the movie or if it is always 600?
> Am I right, if I want to step frame by frame through a video clip I have
> divide the duration/current time by 600 and multiply it by 25fps? To get
> current frame? Or can I set the timescale somehow to fps?
> Thanks for any hints
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
View this message in context: http://www.nabble.com/what-is-the-timescale-of-a-player--tp17728811p17730990.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode