
Extract Timelapse Video Segments from Procreate Canvas
Source:R/pl-extract-videos.R
pl-extract-videos.RdProcreate records the creation process as multiple MP4 video segments stored inside the .procreate canvas archive. This function extracts those segments and archives them in CDN vault for downstream processing.
Value
NULL invisibly. The function's purpose is the side effect of uploading videos.zip to CDN vault.
Details
These segments are later merged into a continuous timelapse video by [extract_timelapse()]. Preserving the original segments in vault allows re-processing if needed and provides forensic evidence of creation.
## Segment Detection Video segments are identified by: - File extension `.mp4` - Filename starting with "segment" - Non-zero file size
Segments are sorted by their embedded timestamps to maintain creation order.
## CDN Storage The extracted segments are bundled into `videos.zip` and stored at `uploads/<artist>/<artwork>/videos.zip` in art-vault.
Idempotency
If videos.zip already exists in CDN vault, the function skips upload and logs a warning. This prevents duplicate processing.
See also
[extract_timelapse()] for processing segments into final video
Other extraction functions:
extract_creation_window(),
pl-extract-createdate,
pl-extract-evidence,
pl-extract-meta,
pl-extract-signature,
pl-extract-stats,
pl-extract-timelapse