大きな.avisから.movsの束をエクスポート/圧縮する必要があります。AppleScript to QuickTimeからのエクスポート:.mp4の代わりに.movとしてエクスポートすることができません
これを実行するには、以下のアクションスクリプト(http://ldopa.net/2008/05/23/batch-export-for-quicktime-pro/から取得)が見つかりました。
デスクトップ上の「入力」というフォルダからビデオを取り込み、デスクトップ上の「書き出し」というフォルダに書き出します。
問題があるだけですが、Quicktimeで使用した「最近の設定で」エクスポートしていません。さらに、.movではなく.mp4としてエクスポートします。
注:オリジナルのスクリプトは言いました:
export front document to output_file as MPEG-4
しかし、私はそれを変更:
export front document to output_file as QuickTime movie
そして、それはまだ、MPEG-4として輸出しています。
全スクリプト:
with timeout of 86400 seconds
display dialog "Before beginning batch processing, make sure QuickTime Player is set to the desired export settings, and all videos to be processed are in a folder named ‘Input’ on the desktop." with icon note
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 "_export.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"
activate
open the_file
export front document to output_file as QuickTime movie using most recent settings with replacing
close front document
end tell
end repeat
on error
display dialog "This script requires a folder named ‘" & input_folder_name & "‘ located on the desktop." with icon stop
end try
beep
end timeout
MPEG4コンテナ*は* QuickTimeムービーです。これは単なる標準化された現代のQuickTimeムービーです。ファイル拡張子が「.mp4」のファイルがある場合は、「.mov」に変更するだけで動作します。しかし、それを行う理由はありません。 「.mp4」には「QuickTime movie +」と書かれています。「私はQuickTimeムービーだけではなく、標準化された最新のQuickTimeムービーです」と言います。あなたが気にするべき主なものはムービーコンテナではなく、コンテナ内のビデオトラックのつまり、廃止されたAVIコーデックビデオトラックを現代のH.264コーデックビデオトラックにトランスコードすることです。 –