{"id":236,"date":"2012-02-18T22:26:15","date_gmt":"2012-02-18T22:26:15","guid":{"rendered":"https:\/\/loreleipepi.com\/news\/?p=236"},"modified":"2012-02-18T22:39:09","modified_gmt":"2012-02-18T22:39:09","slug":"solution-for-flash-cs5s-quicktime-export-maladies","status":"publish","type":"post","link":"http:\/\/loreleipepi.com\/news\/solution-for-flash-cs5s-quicktime-export-maladies\/","title":{"rendered":"Solution for Flash CS5&#8217;s Quicktime Export Maladies"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>I&#8217;ve been wanting to use Adobe&#8217;s Flash CS software for animating my film, but I haven&#8217;t because Adobe made all Flash QuickTime movie exports completely unstable. The frame rate is all cock-eyed and unpredictable. Even if you did PNG sequence exports, something embedded in the PNGs makes them just as unreliable if you re-import\/re-export. This just isn&#8217;t acceptable when you&#8217;re a filmmaker! So, I&#8217;ve been animating in Flash 8 instead, which is the last version (Macromedia) that did QuickTime exports just fine.<\/p>\n<p>But, the Flash CS5.5 interface has it&#8217;s bonuses, and I&#8217;m stubborn as anything&#8230; so, I worked at it, and I now have a reasonable solution for being able to use Flash CS5.5 on a Mac, and to get useable QuickTime movies with an established frame rate and compression codec that I determine.<\/p>\n<p>The resulting file will NOT have audio in it, just your animation. This is fine with me, since it&#8217;s all going into an NLE anyway.<\/p>\n<p>I don&#8217;t know much about coding on my own. This was a LOT of testing, copying\/pasting from many sources online, and eventually I pulled it together enough to work, and to work well.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-241\" title=\"file conversion icons\" src=\"https:\/\/loreleipepi.com\/news\/wp-content\/uploads\/2012\/02\/Screen-shot-2012-02-18-at-5.13.47-PM.png\" alt=\"\" width=\"182\" height=\"201\" \/><br \/>\n<strong>MAIN IDEAS:<\/strong><\/p>\n<p>&#8211; I am using a Mac Intel,\u00a0 OS 10.6.8 (Snow Leopard), and Quicktime Player 7 Pro<\/p>\n<p>-Two receiving folders on your desktop\u00a0 (1 for the exported PNG sequence, 1 for the new movie and Quicktime Export Settings file) (I put visual icons onto my folders so I can quickly identify them.)<\/p>\n<p>-Writing and Applying AppleScripts and Folder Actions<\/p>\n<p>&#8211; Using Quicktime Player 7 Pro, NOT Quicktime X (garbage)<\/p>\n<p>-Creating a Quicktime Export Settings file<\/p>\n<p>-Exporting a PNG Sequence from Adobe Flash CS5.5<\/p>\n<p>-AppleScript Folder Action will run a Quicktime routine that will convert your PNG sequence into a Quicktime movie that you can use.<\/p>\n<p><strong>HOW TO DO IT:<\/strong><\/p>\n<p>1) Create two folders on your desktop. Name them (simple names). One is for the exported PNG sequence from Flash. One is for the new movie and Quicktime Export Settings file. Have them next to each other, because this process involves DRAG &amp; DROP of one into the other to activate the folder action script.<\/p>\n<p>&nbsp;<\/p>\n<p>2) Export a PNG sequence from your Flash CS5 animation file into\u00a0 folder 1 (png seq).<\/p>\n<p>&nbsp;<\/p>\n<p>3) This AppleScript\u00a0 will be saved as a SCRIPT, and attached to your &#8220;movie&#8221; folder as a folder action. OPEN AppleScript Editor, copy and paste this in, and modify it with your own paths and file names where indicated. When done, COMPILE, RUN and SAVE it in your User\/Library\/Scripts\/FolderActions folder.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;<\/p>\n<p><span style=\"color: #3366ff;\">on adding folder items to thisFolder after receiving droppedFolders<\/span><br \/>\n<span style=\"color: #3366ff;\"> repeat with aFolder in droppedFolders<\/span><\/p>\n<p><span style=\"color: #3366ff;\">tell application &#8220;Finder&#8221;<\/span><br \/>\n<span style=\"color: #3366ff;\"> set theFolder to aFolder as alias<\/span><br \/>\n<span style=\"color: #3366ff;\"> set thePath to container of theFolder as string<\/span><br \/>\n<span style=\"color: #3366ff;\"> set theName to name of first file of theFolder<\/span><br \/>\n<span style=\"color: #3366ff;\"> if length of theName &gt; 17 then<\/span><br \/>\n<span style=\"color: #3366ff;\"> set theName to text 1 thru 17 of theName<\/span><br \/>\n<span style=\"color: #3366ff;\"> end if<\/span><br \/>\n<span style=\"color: #3366ff;\"> set theSequence to (get first file of theFolder as alias)<\/span><br \/>\n<span style=\"color: #3366ff;\"> end tell<\/span><\/p>\n<p><span style=\"color: #3366ff;\">tell application &#8220;QuickTime Player 7&#8221;<\/span><br \/>\n<span style=\"color: #3366ff;\"> activate<\/span><br \/>\n<span style=\"color: #3366ff;\"> open image sequence theSequence frames per second 30<\/span><\/p>\n<p><span style=\"color: #3366ff;\">set imageSequence to thePath &amp; theName &amp; &#8220;.mov&#8221;<\/span><\/p>\n<p><span style=\"color: #3366ff;\">tell document 1<\/span><br \/>\n<span style=\"color: #3366ff;\"> with timeout of 50 seconds<\/span><br \/>\n<span style=\"color: #3366ff;\"> export to imageSequence as QuickTime movie using settings (&#8220;Users:youruseraccount:Desktop:yourmoviefolder:QuicktimeExportSettings.qtes&#8221;)<\/span><br \/>\n<span style=\"color: #3366ff;\"> end timeout<\/span><\/p>\n<p><span style=\"color: #3366ff;\">close saving no<\/span><\/p>\n<p><span style=\"color: #3366ff;\">end tell<\/span><br \/>\n<span style=\"color: #3366ff;\"> end tell<\/span><\/p>\n<p><span style=\"color: #3366ff;\">end repeat<\/span><br \/>\n<span style=\"color: #3366ff;\"> end adding folder items to<\/span><\/p>\n<p>&#8212;&#8212;&#8212;-<\/p>\n<p>AppleScript looks like this when in the editor:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-large wp-image-257\" title=\"Screen shot 2012-02-18 at 5.31.10 PM\" src=\"https:\/\/loreleipepi.com\/news\/wp-content\/uploads\/2012\/02\/Screen-shot-2012-02-18-at-5.31.10-PM-600x475.png\" alt=\"\" width=\"600\" height=\"475\" srcset=\"http:\/\/loreleipepi.com\/news\/wp-content\/uploads\/2012\/02\/Screen-shot-2012-02-18-at-5.31.10-PM-600x475.png 600w, http:\/\/loreleipepi.com\/news\/wp-content\/uploads\/2012\/02\/Screen-shot-2012-02-18-at-5.31.10-PM-300x237.png 300w, http:\/\/loreleipepi.com\/news\/wp-content\/uploads\/2012\/02\/Screen-shot-2012-02-18-at-5.31.10-PM.png 714w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>4) RT+Click the movie FOLDER on the desktop , select &gt; Folder Actions SetUp<br \/>\nThe pop up window shows you the list of available actions. Select yours from the list.<br \/>\nOKAY.<\/p>\n<p>&nbsp;<\/p>\n<p>5) Now you will make an AppleScript that will generate a Quicktime Export Settings file, which will govern how your movies are made.<\/p>\n<p>Copy this following AppleScript and paste it into a new AppleScript file. Save this in your User\/Library\/Scripts folder.<\/p>\n<p>Leave the AppleScript OPEN for now.<\/p>\n<p>&#8212;&#8212;&#8211;<\/p>\n<p><span style=\"color: #3366ff;\">set file2save to (choose file name default location (path to desktop) default name &#8220;QuicktimeExportSettings.qtes&#8221;)<\/span><\/p>\n<p><span style=\"color: #3366ff;\">tell application &#8220;QuickTime Player 7&#8221;<\/span><br \/>\n<span style=\"color: #3366ff;\"> tell first document<\/span><br \/>\n<span style=\"color: #3366ff;\"> save export settings for QuickTime movie to file2save<\/span><br \/>\n<span style=\"color: #3366ff;\"> end tell<\/span><br \/>\n<span style=\"color: #3366ff;\"> end tell<\/span><\/p>\n<p>&#8212;&#8212;&#8211;<\/p>\n<p>6) Now, you need to use QuickTime to establish your preferred export settings. WARNING: &#8220;Animation&#8221; codec is NOT STEADY for establishing frame rates in this situation. If you&#8217;re looking for a hi-rez intermediate codec, try Apple Intermediate or Apple Pro Res 422 (bigger file size.)<\/p>\n<p>a) Open QuickTime Player 7<br \/>\nb) File &gt; Open Image Sequence<br \/>\nc) navigate to your folder and select the first file from your Flash PNG sequence<br \/>\nd) select your frame rate in the pop up<br \/>\ne) Select &#8220;QuickTime Movie&#8221; in the menu pull-down<br \/>\nf) Click OPTIONS<br \/>\ng) Setting &gt; Apple Intermediate Codec \/ select Frame Rate \/ Other &gt; OKAY<br \/>\nh) Size&gt; change if needed<br \/>\nOKAY<br \/>\nOKAY (exports)<\/p>\n<p>LEAVE THIS QUICKTIME FILE OPEN for right now.<\/p>\n<p>&nbsp;<\/p>\n<p>7) Go to your AppleScript for QuickTime Export settings<\/p>\n<p>a) Click RUN.<br \/>\nb) select the movie folder on your desktop<br \/>\nOKAY<br \/>\nThe &#8220;QuicktimeExportSettings.qtes&#8221; file is now located in your movie folder. The folder action on the folder is targeting it, and it will guide the export process.<\/p>\n<p>&nbsp;<\/p>\n<p>8.) Close your QuickTime image sequence movie file<br \/>\nDon&#8217;t Save.<\/p>\n<p>So, you&#8217;ve done all of the set up for your process!<\/p>\n<p>&nbsp;<\/p>\n<p>9) You can now DRAG &amp; DROP the PNG sequence folder INTO the movie folder.<\/p>\n<p>Your image sequence is loaded into a Quicktime movie, exported with your determined settings, and then closed without saving.<br \/>\nYour movie uses the name of the first file in your PNG sequence as it&#8217;s title.<br \/>\nI put a restriction of 17 characters on any title. You can find that in the script and remove\/change it, of course.<\/p>\n<p>You&#8217;ll also need to empty out your &#8220;png sequence&#8221; folder before you export a new shot into it!<\/p>\n<p>&nbsp;<\/p>\n<p>I hope it works for anyone that tries it. The result of this for me is that I can now use Flash CS5.5 to animate and receive quality QuickTime results!<\/p>\n<p>\ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; I&#8217;ve been wanting to use Adobe&#8217;s Flash CS software for animating my film, but I haven&#8217;t because Adobe made all Flash QuickTime movie exports completely unstable. The frame rate is all cock-eyed and unpredictable. Even if you did PNG sequence exports, something embedded in the PNGs makes them just as unreliable if you re-import\/re-export. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ngg_post_thumbnail":0,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/comments?post=236"}],"version-history":[{"count":24,"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":262,"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/posts\/236\/revisions\/262"}],"wp:attachment":[{"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/media?parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/categories?post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/loreleipepi.com\/news\/wp-json\/wp\/v2\/tags?post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}