AppleScript for QuickTime export of frames

I would like to get an AppleScript to --
1) Take a folder full of QT movies (slideshows), and for each movie create a new folder with the name of the orig movie (e.g. "nelson.mov" --> "nelson" foldername), and for each movie --
2) export a series of frames from each 30 - 200 second QuickTime narrated slideshow movie (typically 4-8 frames per movie), with each frame saved with name nnnnnn.jpg, where "nnnnn" is the TIME for that frame in the movie, into the folder for that movie
3) export the audio track as a .aif audio file into the folder for that movie
Although I have done some AppleScripting, the above is Way Beyond my expertise...
Can anyone help me ?
Thanks

You don't ask for much, do your Donald?
http://www.apple.com/applescript/quicktime/
Most of these AppleScripts still work with QT 7 and Tiger. Some are "broken" but fixable.
You may also want to look toward Automator (part of Tiger) that can help you write (no real writing) Workflows and Contextual menu apps that you can invoke with a few mouse clicks.

Similar Messages

  • Need some help here on the proper settings for quicktime exporting from imovie that won't degredate the footage from my handycam

    need some help here on the proper setting for quicktime exporting that won't denegrate my footage from handycam canon fs200

    What are the existing settings iMovie?
    Al

  • Cannot change codec settings for Quicktime export?

    I have Quicktime installed, and it shows up as an Export option in Premiere Pro. However the options are extremely limited. Under the Video tab, there is a button for "Codec Settings" but it is greyed out. You can't choose whether you want CBR or VBR. Under the Audio tab, there is also a "Codec Settings" tab, but it too is greyed out. I can't even change the bitrate settings for AAC audio. Actually, it doesn't even tell you what bitrate it's exporting at, let alone let you change it.
    Does anyone know what the problem is?

    Possibly.
    Some codecs have settings and some don't. If you pick one off of the list that has settings, you will have more success at changing parameters.
    First things first. Does your list of codecs look something like this? If so, select the appropriate codec for your needs and see if it has options. None of the Quicktime exports has the option of changing from CBR to VBR as far as I can tell and to be honest I don't know which is being used. You didn't say if you were on a Mac or a PC but if you are on a PC you might consider using an H.264 export instead.

  • 23.976 Quicktime exports one frame short

    Hi,
    I'm having a recurring problem with 23.976 fps exports missing the last frame of any comp. I'm working with prores 4444 files shot at 23.976, comp settings also 23.976, footage interpreted correctly at 23.976. When I export to quicktime in any codec at 23.976 the exported clip is one frame short.
    This isn't a framerate issue as far as I can tell as all previous frames match the original footage, also an image sequence export will produce the correct number of frames. It's just not exporting the last frame. Is anyone else having this problem?
    Obviously the workaround is to extend every comp by a frame before render, or always render an image sequence, but as I'm working on a show with an extremely high number of shots to turnaround and all have to be imported back into the edit at Avid DNX36 offline codec quality, this seems like a much more time consuming (and storage space consuming!) solution to what is an obvious glitch.
    Can anyone help? A solution will save me weeks of time over the coming six months!
    Many thanks in advance for any help.

    It's probably just a counting error.  AE, like many applications that work with video, begins with frame ZERO, not frame one.
    Count the number of digits in the following list: 0,1,2,3,4,5,6,7,8,9.  Even though the highest value is nine, the number of digits is ten.  Thus, in AE, close to one second of 23.976 fps video is contained in frames 00-23, and not 00-24... which would be twenty-FIVE frames.

  • Proper compression for Quicktime Export

    I have FCP 5. I'm currently trying to export a 90 minute project to Quicktime to burn a DVD in IDVD. I am using a dual 1gig G4 with a Lacie 250gig hard drive, that currently has 165 gig available. I am using 65 gig for the project. I initially chose the export quicktime conversion command and chose NONE for compression settings. Timeline stated it would take five hours to complete transfer. With 1 hour left it crashed stating "General Error". Tried this twice over the last two days. FCP manual says to use Quicktime Movie command and current settings. Trying this, but timeline states 11 hours for conversion! Is this right? Is G4 processors too slow for FCP5? Please help!
    ed

    If you completely render your timeline and do an audio mixdown before doing the export, the export should be faster. Seems to me that I've read quite a few posts about trouble with exports if the render hasn't been done first.
    Although I've never had any luck with it, you can also export a non-self contained QT for use in iDVD. It should export much faster as it simply creates a file that "references" the existing clips in the timeline. Might be worth a try.
    rh

  • Applescript for QuickTime help needed.

    I have some mkv files that I would like to re-encapsulate as mov files.
    Through the GUI I would normally open the mkv in quicktime, then Save or Save As with self-contained option selected, and just hit enter. This would save the re-encapsulate the movie with no re-encoding to the same directory with the same filename, but now with the .mov extension. This works with no issues.
    Now, I want to be able to automate this process, but the only thing I can't figure out is how to tell the movie to *save self contained* with the *+same name in the same directory+*.
    Thanks in advance for any help you can offer!

    I don't know what the rest of your script is, but the following snippet will save the front document - no error checking (such as existing files or loaded state of the document) is done:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    tell application "QuickTime Player 7" to tell document 1
    set thePath to it's path & ".mov" -- just add a new extension to the existing file path
    save self contained it in thePath
    -- close
    end tell
    </pre>

  • Applescript for quicktime player 7 in 10.6

    I've been using an applescript that can take a bunch of movie clips and merge them into a single file. (see script below) now with 10.6 and quicktime x. this script no longer works. Can anyone help me to get quicktime player 7 to launch and start doing it's trick. any help most appreciated.
    on open these_items
              tell application "Finder" to set sorted_items ¬
                        to sort these_items by name
              repeat with i from 1 to the count of sorted_items
                        set this_item to (item i of sorted_items)
                        tell application "QuickTime Player 7"
                                  if i is equal to 1 then
      make new document
                                  end if
      open this_item
                                  tell document 1
      rewind
      select all
                                            copy
      select none
                                  end tell
      close document 1 saving no
                                  tell document 1
                                            add
      select none
                                  end tell
                        end tell
              end repeat
    end open

    The scripts below work for me, using Mac OS 10.4.11 and QuickTime Pro v. 7.6.4.
    Note that my version of AppleScript (v. 2.1.1) doesn't recognize application QuickTime Player 7. Hence, application "QuickTime Player" was used throughout. Your needs may vary; if you can or must use the "7" by all means do so.
    The first is based on the script Craig Williams posted in this thread: http://macscripter.net/viewtopic.php?id=31674 (in post #6). I modified the script a bit so that a new file is created on the front end, and the merged file gets written to it once the script finishes:
    set file_name to text returned of (display dialog "A new merged QuickTime file will be created on the desktop. Please choose a name:" default answer "Enter Name")
    tell application "Finder"
      try
      set make_file to make new file at (path to desktop folder as string) with properties {name:file_name & ".mov"}
      set new_file to make_file as alias
      on error
                        display dialog "A file with the name " & "“" & file_name & "”" & " already exists on the desktop. Please try again." buttons {"OK"} default button 1 cancel button 1 with icon stop
      end try
    end tell
    set theCount to 1
    set theFolder to choose folder with prompt "Choose the folder with QuickTime files you want to join together."
    tell application "Finder"
      set theFiles to every file of folder theFolder
      set totalFiles to (count the theFiles)
      repeat with i from 1 to totalFiles --to 1 by -1
      set thisfile to item i of theFiles as alias
                        --QT Pro
      my mergeFilesUsingQT(thisfile, theCount, totalFiles)
      set theCount to theCount + 1
      end repeat
    end tell
    delay 1
    tell application "QuickTime Player"
      tell document 1
      rewind
                        delay 0.5
      save as self contained in new_file
      close
      end tell
    end tell
    on mergeFilesUsingQT(thisfile, theCount, totalFiles)
              tell application "QuickTime Player"
      activate
                        --the first file only gets copied
                        if theCount = 1 then
      open thisfile
                                  delay 0.5
      tell document 1
      select all
                                            copy
      end tell
      close document 1 saving no
      else
                                  --these files get the previous file added to it and
                                  --then it is copied to be added to the next file
      open thisfile
                                  delay 1
      tell document 1
      set x to get duration
      set current time to x
      paste
      select all
                                            copy
      end tell
      end if
      end tell
    end mergeFilesUsingQT
    My own version, below, creates a new file and then opens a temporary QuickTime document to which each file is copied in turn. Once copying is complete, the temporary file is written to the file that was created at the beginning of the script:
    set file_name to text returned of (display dialog "A new merged QuickTime file will be created on the desktop. Please choose a name:" default answer "Enter Name")
    tell application "Finder"
      try
      set make_file to make new file at (path to desktop folder as string) with properties {name:file_name & ".mov"}
      set new_file to make_file as alias
      on error
                        display dialog "A file with the name " & "“" & file_name & "”" & " already exists on the desktop. Please try again." buttons {"OK"} default button 1 cancel button 1 with icon stop
      end try
    end tell
    tell application "QuickTime Player"
      set temp_doc to make new document
    end tell
    set fol to choose folder with prompt "Choose the folder containing QuickTime files to be merged:"
    tell application "Finder"
      set the_files to every file of folder fol
      repeat with i from 1 to count of the_files
      set a_file to item i of the_files
      my merge_files(a_file, temp_doc)
      end repeat
    end tell
    delay 1
    tell application "QuickTime Player"
      tell document 1
      select none
      save as self contained in new_file
      close
      end tell
    end tell
    on merge_files(a_file, temp_doc)
              tell application "QuickTime Player"
      activate
      make new document
      open a_file
      delay 1
      tell document 1
      set t to get duration
      set current time to t
      select all
      copy
      close
      end tell
      activate document temp_doc
      delay 1
      tell document 1
      paste
      end tell
      end tell
    end merge_files
    Hope this helps. Good luck.

  • AppleScript for QuickTime: How to select microphone?

    (I'm new to AppleScript.)
    Using AppleScript, I want to change the selected microphone from "Built-in Microphone: Internal microphone" to another input I have called "Soundflower (2ch)".
    I looked at QuickTime in the AppleScript dictionary, but all I could find was "audio recording device", and I have no idea what to do with that.
    Help? / Write it for me please? =D

    The only normal user (non-admin type) who can mark an answer as helpful or correct is the user who started the discussion.

  • Time code and count down for Quicktime export

    Add timecode and count down to project before exporting as Quicktime?

    Countdown you do manually... Timecode...three options.
    http://library.creativecow.net/ross_shane/visible-timecode/1
    Shane

  • RENDERING a sequence for QUICKTIME EXPORT.

    Dumb question:
    I'm working in FCE and having trouble rendering my 8:00 sequence.
    The timeline shows light blue and light green bars above the video tracks. Should be good, no?
    I select the sequence and hit (apple) R, the render window flashes on and then disappears, indicating to me that everything's rendered.
    But when I export to QT, the red lines above the video appear just before export.
    What's the deal?
    Mark

    I don't know Express, but in regular FCP you need to have the green Preview checked in the Render Selection in the Sequence menu or Command + R won't render it.

  • Quicktime export contains random grey frames

    Lately, doing a straight Quicktime export (not Quicktime conversion) is resulting in movies with random grey frames in them, lasting about 12 frames or so each. This is HD footage, shot on the Panasonic DVX-100. This only seems to happen when exporting certain sequences, but I haven't been able to establish a pattern as to why it's happening on certain exports but not on others. It's all footage shot, ingested, and edited on sequences with the same exact settings.
    It's only been happening since upgrading to QT 7.5, but the other computer in the office also upgraded, and it hasn't encountered this problem, and can export the same sequences I'm having problems with just fine.
    Has anyone else experienced this, or offer a solution?

    for the record this was not my first post, I forgot my account info. I'm normally very nice but studio x was just puffing his chest and belittling a good question
    This is a Final Cut issue. If it were only a drive/scsi issue the errors would also be there in the animation codec as well. The bad frames ONLY occur when doing a quicktime export [DVCPRO HD 720](referenced, render all frames, and self contained). I'm not dismissing the fact that there very well may be a drive causing problems (G-SPEED XL12).
    The bad frames do not occur any other time. I render plenty of things in the exact same codec over the network to the raid from AE and Motion and never ever have a problem.
    One thing I am doing differently now is long form projects. The projects having issues are a one hour show and a two hour+ show. I don't have this problem with commercials or other small packages. It also doesn't matter if it's a random 10 sec section exported or the whole program.
    This is what I'm working with:
    HVX200 and other mixed footage
    FCP and QT last updated in early july (no internet connection)
    G-SPEED XL12
    Fibre channel to one station that also acts as a file server
    gigabit to one station from the file server
    trunked gigabit to another station from the server (seperate NIC)
    All three stations exhibit the same problem including the station connected via Fibre Channel
    Other people are having the same problem as I've found by searching. The earliest report of this specific issue I've found so far was stated around Jan of this year. But there are more reports from this summer.

  • How to export still frame from Quicktime movie?

    Hello folks
    I often need to use a still frame from a quicktime movie as an image file to work with in PhotoShop for windows.
    If I export a frame via the export command and choose "Movie to picture" I end up with a .pct file, that Photoshop will not open.
    I can open the .pct file with the Quicktime PictureViewer and then export it from that app as i.e. a JPEG-file, but I would like to avoid that extra step and just export a usable file straight from QT.
    Anybody know how that can be done?
    Best regards
    Kris

    Same problem here - no matter whether I choose Photo - JPEG or PNG format as the "compressor", QT 7 Pro wants to save with a .pct extension, and changing it to .jpg or .png extension fails to open.
    The two workarounds I've found are:
    1. Save it in Photo - JPEG or PNG format with a .pct extension, open with Photoshop CS4 or below, save to desired format.
    One may be able to accomplish the same using Preview instead of Photoshop, but on my Snow Leopard machine I get the error "The PICT file format is not supported in 64-bit mode. Try selecting "Open in 32 Bit Mode" in the Finder's info window for Preview." and I don't feel like bothering to do this.
    2. Use Grab to take a screenshot, copy into Preview, crop as necessary and save to desired format.
    Which is easier depends on whether you feel like having to do precision cropping or not. Totally agree with above commenters - whither PICT, Apple?
    Message was edited by: Daniel Toman

  • Quicktime Export settings for projected slide presentation

    I'm looking to find the best quicktime export settings to use in order to have a Keynote 3 presentation as a stand alone movie. I will be projecting the movie from a PC onto a large screen at 1024 x 768 resolution. The project is for a photography club public presentation, and needs to be top quality.
    Thanks for your input
    iMac 2.0GHz   Mac OS X (10.4.6)  

    Barbara,
    The 640X480 vs 720X480 dilemma is an interesting subject! DV Video and Video DVDs use 720X480 resolution. TVs do not have square pixels, but computer monitors do have square pixels - so some adjustment is needed, and 640X480 is the square pixel down-converted equivalent for computers to the 720X480 in non square pixels used by TVs......make sense?
    iDVD supports high definition video
    Well what this means is iDVD can read HD video files, and convert them to standard definition Video DVDs. It does NOT mean that iDVD can produce HD DVDs. HD DVDs and HD DVD players are not on the market yet.
    Today's Video DVDs are not high resolution, they are 720X480. The only way to get higher resolution is to avoid the Video DVD standard, and just make a data DVD. This will not be playable on commercial DVD players, only on computers with the right software and codecs. If I needed to make professional presentations on large screen high resolution monitors, I would not use Video DVDs. Bring a new powerbook and use H.264
    If you want to go the DVD route anyway, then 720 X 480 is the best you can get. I'd tell FotoMagico to export in HD (720p). This is a bit of overkill, as iDVD will encode at a lower resolution, but I've gotten good results that way.
    You may have to use the anamorphicizer to get iDVD to realize the movie is Widescreen.
    http://homepage.mac.com/sith33/FileSharing34.html
    hope this helps
    John B

  • Suggested Quicktime settings for HD export

    Hi
    Hoping some one can help? I Would like to retain best possible quality from my High Dev camcorder. I gather the best route is to use export> Quicktime but what I would like to know are the best "settings" to use. I live in the UK so does PAL have a part in it?
    I intend to copy the completed project to my portable HD drive then copy that to the HD drive on My xbox 360 to hopefully watch a higher quality home movie than If i was to burn to DVD.
    Thanks
    Kier

    Sorry for the duplicate reponses. Not sure what happened there.
    I really don't get how pal only does certain settings considering my HV20 is a pal camera and supports 1080i. Why would the compression be different. I am being so thick about this sorry.
    By the way I have just compared 2 projects. 1 using the share to media option and the other with the 720p from quicktime.
    There really isn't that much difference. I am viewing on a 720 pal tv. I did a shorter clip for a friends using the quicktime export and there was a big difference. My project was 20 mins where as the that one was 3 minutes so the compression was obviously less.

  • Exporting HD Sizes for Quicktime and AVI?

    Okay, LOVE the new CS4, but have a problem.
    For tech notes in case it means anything, I'm shooting with a JVC HD-110, editing M2T files. Everything in THAT respect works perfectly - NOW I even have an FS5 drive so it goes even better - dropping all capture time and processes. The Projects are all set up as HDV, 720p at 24p - basically, everything about the Project is set to HD.
    When I choose Quicktime or AVI as the Export format, the only Preset options that come up are DV related. Meaning, SD... And when I have to manually type 1280x720 as the export size (upping the default from 720x480) it even reads "1,280" - not a straight "1280", get it?
    The resulting render looks horrible - completely unusable - unless my goal is to simulate the old Fisher Pricer Pixel Camcorder ;-)
    How do I Export from Premiere's Timeline to an HD format? Or can I download a set or HD Presets to put in the Export Settings (or something) folder for each codec?
    Thank you for your time, and any thoughts-
    -Lew

    Oh yeah - there's a whole huge list for WMV! MAN you have options there!
    No, none of those options are (or seem) available for Quicktime and AVI.
    I bounce files back and forth for clients (and myself) for FX work and edits (they prefer the Quicktime Animation codec at 100% - gotta admit, it's beautiful!), and would like to do final output to HD in the end for a project I'm working on right now.
    -Lew

Maybe you are looking for