# Video Note Extractor — Design Spec ## Purpose Extract timed text transcripts and single-frame screenshots from tutorial video directories, for use in AI-assisted markdown note writing. Targeted at STM32 / embedded tutorial collections, but intentionally collection-agnostic. ## Commands ### `parse` — Extract timed text from subtitle files ``` python tools/extract.py parse [--outdir ] ``` - **input**: path to a single `.mp4` file, or a **directory** containing `.mp4` files (scans recursively). - **outdir**: output root. Default `./transcripts/`. **Output structure** (mirrors input directory layout): ``` / └── transcripts/ └── / └── .txt ``` Each `.txt` file contains lines of: ``` [HH:MM:SS.mmm] ``` ### `frame` — Extract a single frame as JPEG ``` python tools/extract.py frame