Posts

Showing posts from July, 2024

Convert MKV to MOV or MP4 to MOV

# MKV to MP4     ffmpeg -i movie-file.mkv  -codec copy movie-file.mp4 # MKV to MOV (compressed)     ffmpeg -i movie-file.mkv  -f mov movie-file.mov # MP4 to MOV (compressed)     ffmpeg -i movie-file.mp4  -f mov movie-file.mov # MKV to MOV (raw/uncompressed: warning huge file):     ffmpeg -i movie-file.mkv -c:v prores_ks -profile:v 3 -c:a pcm_s24le movie-file.mov

applescript to bulk convert Pages files to PDF

 Not my script, but it works: paste this into Script Editor, and choose save as app: use scripting additions property valid_kind : {"Pages Document"} property imageBest : false property fileCnt : (0 as integer ) -- property dx_icon : "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/MultipleItemsIcon.icns" on open dropped_items tell application "Pages" to set itsversion to its version considering numeric strings if itsversion > "5.6" then set imageBest to true end considering repeat with anItem in dropped_items try tell application "Finder" if kind of anItem is equal to "Folder" then set docList to ( every item in entire contents of folder anItem ¬ whose kind is in valid_kind ) as alias list repeat with afile in docList my export_file ( afile ) end repeat