edit-iphone-timelapse
Installation
SKILL.md
Edit iPhone Timelapses
- Resolve the requested local date. Use the duration explicitly provided in the conversation; if none is provided, ask for it before starting.
- Query every movie in that date window once through background Photos scripting, including ordinary movies recorded instead of Time-lapse. Export the originals together to one temporary directory without opening or activating Photos.
- Order the clips by capture time and use their full contents as recorded. Derive represented time from their QuickTime start and end times, excluding gaps and merging overlaps, then allocate output frames proportionally. Preserve native pixel orientation when QuickTime display-matrix metadata conflicts; for already-horizontal pixels, disable autorotation with
-noautorotate. Keep the work limited to combining and retiming the recordings unless the user asks for editorial changes. - Read
references/music-offsets.tsv, choose a fresh segment of~/Music/Music/Media.localized/Music/Unknown Artist/Unknown Album/Minecraft.mp3, keep it at natural speed, and add a short fade-out. - Render one caption-free MP4 in
~/DownloadsnamediPhone Timelapse - YYYY-MM-DD - REPRESENTED - DURATIONs.mp4. Do not overwrite an existing file. - Produce exactly the requested duration at 1920x1080 and 60 fps, with
duration * 60frames, H.264 High/yuv420p BT.709 video, fast start, and stereo 48 kHz AAC audio. - Check the finished file once with
ffprobeand one full decode. Confirm duration, dimensions, frame rate, frame count, and audio/video streams, then report the output path and the clips used.