• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Export Quicktime Pro to multiple mp4 formats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Export Quicktime Pro to multiple mp4 formats


  • Subject: Export Quicktime Pro to multiple mp4 formats
  • From: John Muchow <email@hidden>
  • Date: Sun, 4 Jul 2010 09:30:34 -0500

I need to export over 50 mp4 files to three different formats using
Quicktime Pro (I am running version 7.6.6). Currently I open the mp4,
select the export options, choose filename to "save as" and start the
process. I do this three times (one for each format) for each file.

To automate this process I am using the script below which will export
files (using the existing QT export options) found in a folder name
Input and write to Output. However, the mp4 created is not viewable
(the movie looks like colored static/noise).

If I open QT and export manually, I can verify the current export
setting are working.

Question #1: Any ideas why QT will not properly export a movie with this script?

Question #2: Given I have three setting I need to export to, ideally I
would like to have three settings files and feed those to the script.
Any suggestions on how to get this working?

Thank you very much for your help!

John

~~~~

tell application "Finder"
	set the startup_disk to the name of the startup disk
end tell

set User to do shell script "whoami"
set input_folder_name to "Input"
set input_folder to startup_disk & ":Users:" & User & ":Desktop:" &
input_folder_name & ":"
set user_desktop to startup_disk & ":Users:" & User & ":Desktop:"
set output_folder to startup_disk & ":Users:" & User & ":Desktop:Output:"
set file_extension to "-lo.mp4"

try
	tell application "Finder"
		make new folder at user_desktop with properties {name:"Output"}
	end tell
end try

try
	set the_folder_list to list folder input_folder without invisibles
	repeat with x from 1 to count of the_folder_list
		set the_file to input_folder & item x of the_folder_list
		set output_file to output_folder & item x of the_folder_list & file_extension
		tell application "QuickTime Player 7"
			activate
			open the_file
			export front document to output_file as MPEG4 using most recent
settings with replacing
			close front document
		end tell
	end repeat
end try


fyi: I found the original script here:

http://ldopa.net/2008/05/23/batch-export-for-quicktime-pro/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Export Quicktime Pro to multiple mp4 formats
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: AppleScript's text item delimiters have stopped working
  • Next by Date: Re: Export Quicktime Pro to multiple mp4 formats
  • Previous by thread: Re: AppleScript's text item delimiters have stopped working
  • Next by thread: Re: Export Quicktime Pro to multiple mp4 formats
  • Index(es):
    • Date
    • Thread