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