Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Digital Video & Audio Archives > Save Export Settings in Applescript

 
Save Export Settings in Applescript
Thread Tools
Dedicated MacNNer
Join Date: Aug 2000
Location: Harrisonburg, VA USA
Status: Offline
Jun 4, 2004, 09:45 AM
 
So I'm working on creating an online digital archive of our library's video collection. The heavy part of this will be ripping all of the DVDs and VHS tapes to MPEG-4. Handbrake is doing a fantastic job of ripping the DVD, but won't add the hint track for streaming. To get around this, I'm trying to write an Applescript that will add the hint track to the MPEG-4 files and use it as a folder action. The export script hasn't been a problem, but in order to specify the settings distinctly in the file, I have to create an export settings file. This has completely baffled me. The only way to create this file as far as i can tell is to write another Applescript using the Save Export Settings command, but the error I get tells me that the movie I'm using doesn't understand that command. So my questions boil down to...

Is there another way besides Applescript to create this export settings file?

Is there something I need to do to my file to actually run the script?

Also here's the dictionary entry and the script I wrote as a result.

save export settings: Save an exporters settings
save export settings reference -- the movie to save export settings for
for AIFF/AVI/BMP/DV stream/Fast Start QTVR Movie/FLC/hinted movie/image sequence/interframe compressed VR object movie/MuLaw/MPEG2/MPEG4/picture/QuickTime media link/QuickTime movie/QuickTime TeXML/standard MIDI/System 7 sound/text file/ThreeGPP/wave -- the desired file type
to alias -- the destination file
[replacing boolean] -- should the original file be deleted first?


tell application "Quicktime Player"
save export settings "Macintosh HD:Users:xcituser:Documents:Movie.mp4" for MPEG4 to "Macintosh HD:Users:xcituser:Documents:Settings.qtes"

Any help would be wildly helpful. thanks.
-Grover
"Make good fight."
-Mr. Miyagi
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:25 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2