diff --git a/site/video/update-0.1.5/record/drive.py b/site/video/update-0.1.5/record/drive.py index a123dee..eaf12b9 100644 --- a/site/video/update-0.1.5/record/drive.py +++ b/site/video/update-0.1.5/record/drive.py @@ -1,4 +1,4 @@ -"""Real input, window placement and screen capture for the update video.""" +"""Real input, window placement and capture for the video.""" import ctypes import json import math @@ -94,7 +94,7 @@ class Take: time.sleep(1.5) if self.proc.poll() is not None: raise RuntimeError("the capture stopped at once") - # A square flashes in a corner; a frame diff finds it. + # A corner square flashes; a frame diff finds it. front = user32.GetForegroundWindow() flash = tkinter.Tk() flash.overrideredirect(True) diff --git a/site/video/update-0.1.5/record/prep.py b/site/video/update-0.1.5/record/prep.py index 23d46cf..ffb1e6d 100644 --- a/site/video/update-0.1.5/record/prep.py +++ b/site/video/update-0.1.5/record/prep.py @@ -1,16 +1,11 @@ -"""Copies synced takes into public/footage with events in footage time. - -Usage: prep.py -Writes public/footage/.mp4 and .json: {fps, size, events, menus}. -Event times are footage seconds; positions are footage pixels (2048×1152). -""" +"""Copies synced takes into public/footage: prep.py """ import json import shutil import sys from pathlib import Path TAKES = ["menus", "cells", "doc", "table", "show", "more"] -# Submenu panels as recorded (x0, y0, x1, y1), for the safe triangle. +# Recorded submenu panels (x0, y0, x1, y1) for the triangle. SUBMENUS = { "menus": {"parent": [1100, 610, 1396, 652], "panel": [1394, 576, 1784, 1144]}, "doc": {"parent": [1072, 702, 1370, 742], "panel": [1364, 698, 1660, 874]}, diff --git a/site/video/update-0.1.5/record/sync.py b/site/video/update-0.1.5/record/sync.py index 19a8069..b4ea60c 100644 --- a/site/video/update-0.1.5/record/sync.py +++ b/site/video/update-0.1.5/record/sync.py @@ -1,9 +1,4 @@ -"""Finds each take's sync jump; writes footage time = log time + offset. - -Usage: sync.py ... -Converts each take to constant 60 fps (`.60.mp4`) and writes -`.sync.json` with the offset and the source start time. -""" +"""Syncs takes to their logs: sync.py ...""" import json import subprocess import sys diff --git a/site/video/update-0.1.5/record/takes.py b/site/video/update-0.1.5/record/takes.py index 6a29b8c..9be49c3 100644 --- a/site/video/update-0.1.5/record/takes.py +++ b/site/video/update-0.1.5/record/takes.py @@ -1,4 +1,4 @@ -"""The recorded takes. Usage: takes.py [take ...]""" +"""Records the takes: takes.py [take ...]""" import shutil import subprocess import sys