Re: QuickTime Time Lapse
Re: QuickTime Time Lapse
- Subject: Re: QuickTime Time Lapse
- From: Brennan Young <email@hidden>
- Date: Wed, 25 Jul 2001 11:06:06 +0200
- Organization: Magic Lantern
Rich Fortnum <email@hidden> wrote
>
Hi there. I was wondering if anybody knew how to take every 5th frame in a
>
QT and append it to a new file? That way it would progress 5 times as fast.
>
What tools would I need? QT5 Pro? I think I can figure out the scripting,
>
but wanted to know if I needed anything else to do this.
I know Quicktime Pro can do this. I made an applescript which reverses a
Quicktime movie by taking each frame out and pasting it into a new movie
backwards. Your idea is similar, and here's my script which will get you
most of the way:
tell application "QuickTime Player"
set input to movie 1
set output to (make new movie)
tell input
tell track 1
set framecount to (count frames)
end tell
end tell
repeat with f from framecount to 1 by -1
tell input
tell track 1
tell frame f
set selStart to time
set selEnd to (selStart + duration)
end tell
end tell
select at selStart to selEnd
copy
end tell
tell output
paste
end tell
end repeat
beep
display dialog "Done" buttons "OK" giving up after 5
end tell
The main difference is going to be the repeat loop, which will be
'repeat with f from 1 to framecount by 5'
--
_____________
Brennan Young
Artist, Composer and Multimedia programmer
mailto:email@hidden
Someone asked Mulla Nasrudin what his house was like. In reply he brought
this man a brick, saying: 'It is just a collection of these.'