|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For movies only, the elapsed time in seconds corresponding to the current frame, zero otherwise. Movies do not have a well defined number of images. Particular tracks of a movie may have numbers of frames but these may not be a constant time apart and there may be more than one such track in a movie. You specify an image within a movie by giving a number of seconds from the start. When the Time is zero it indicates the start of the movie. At the moment only QuickTime movies support this property. All other formats simply convert the time into a frame number using a constant frame rate. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here we load a Quicktime movie and print out the movie duration. We then save as a png image the first frame of the movie (the beginning) and the frames at 1 and 2 seconds. Note that you must have QuickTime installed to load QuickTime movies. [C#]
[Visual Basic]
|