Applescript - I want to extract audio from a QT movie and save it

Discussion in 'Mac Programming' started by mattsky, Jan 11, 2007.

  1. macrumors newbie

    Hi all,

    I have only been toying with AS for a day and am very excited about the possibilities. But I don't have a good idea of what functions are available to me. I'm sure I'll figure it out, just need time.

    In the near term, however, I have the following problem. I have a bunch of quicktime .mov files with audio and video. I want to write a script that does the equivalent of manually opening the movie, going to "Show Movie Properties", selecting the sound track, hitting extract and then saving the resulting file.

    I thought I could do this with Automator but all I could get it to do was disable the video and save the results. That's to disk intensive, since I don't want the video preserved at all.

    Thanks in advance.
  2. macrumors 68040


    Tell application "Quicktime Player" to export movie 1 to (choose file name) as wave
  3. macrumors 6502

    ... yeah, what he said.

Share This Page