|
Forum List
>
Café LA
>
Topic
Saving Multiple Frames as stillsPosted by Luke Inman
I have had a request to supply a education non-profit with some underwater footage. They wish to make "flick books" for kids of shark movement underwater.
Anyone got any ideas on a quick and automated or program based way of extracting every frame as a still frame on a 5 - 10 secs sequence in FCP with out having to save each one individually? Cheers
Maybe I'll am bit late, but the below may help next time
The easiest way is to write a little Applescript for QT Player, which will save/export a frame of a reference movie at a given time . That's quite easy even without knowing much about AS. I've attached a very simple script. It's hold simple without error handlings to make it easier to understand, in case you're not familiar with AS. But because there is no error handling you have to do some simple steps in advance. First open ScriptEditor and paste the text below and hit the hammer tool to compile (maybe this won't because some of the lines are wrapped): -- script set myDestination to "/sharkFolder/shark" -- this requires a folder named sharkFolder on the root level of your boot drive set myExtension to ".tif" -- or .jpg, .tga or whatever format you choose set frameDuration to 100 -- exporting from FCP will create a movie which will have a frame duration of 100, exporting from other apps may create other frame durations. set mySteps to 150 -- = 5 (seconds)* 30 (fps) set frameNumber to 0 -- assumes we start at frame 0 tell application "QuickTime Player" tell movie 1 rewind set movieDuration to duration repeat while current time < movieDuration set currentTime to current time -- here we add some leading zeros for better compatibility set frameNumber to text -4 thru -1 of ("0000" & frameNumber as text) -- and create a unix path to the file set myFile to myDestination & frameNumber & myExtension as text export to (POSIX file myFile) as picture using most recent settings -- we step further set current time to currentTime + mySteps * frameDuration set frameNumber to frameNumber + 1 end repeat end tell end tell -- end script 1) export your sequence as referenced movie 2) create a folder at the root level of your boot drive named "sharkFolder" 3) open your ref movie in QT Player and make sure it's frontmost (better: close all others) 3) Select "File -> Export" menu. 4) Select "Movie to Picture" in the bottom option view. 5) Click the "Option" button 6) Select a format of your choice* 7) Navigate to a place where you want to save this sample (delete it later) 8) Hit return to save the picture, this way you have created a "most recent setting", which we'll use in the script. 9) hit the "Run" button in ScriptEditor 10) Wait a moment *) the script uses a ".tif" extension, if you choose a different format with the file options, you have to replace this extension. Regards Andreas Some workflow tools for FCP [www.spherico.com] TitleExchange -- juggle titles within FCS, FCPX and many other apps. [www.spherico.com]
Sorry, only registered users may post in this forum.
|
|