Skip to content

reelreader v0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 19:21
5f59340

A user's two batch reviews of 0.2.4 (R-111..R-123). Two changes can break a caller: a
reelreader.config.json found in the working folder no longer loads its settingsMap (pass
--config; ChromaGlass's npm run watch must become reelreader --config reelreader.config.json
when it bumps to this version), and --batch reads every clip at 4 samples a second unless --rate
is given. Every other change adds fields; nothing in stats.tsv, shots.csv, design.json or
summary.md was renamed or dropped.

  • Cut finding that does not change with the sampling rate (PLAN R-121, from a user's review):
    the hard-cut finder's windows are in seconds, so long videos (read at two samples a second)
    no longer lose cuts that short ones find; at ten a second it picks the same samples as
    before. design.json gains rate and motionPerSec ({ median, p90, max }), and the run's
    result motionPerSec. --batch now watches every clip at 4 samples a second unless
    --rate is given. New exports hardCuts, motionPerSec, WIN_S, SAME_S, BLEND
    (watchcuts.mjs) and BATCH_RATE (watchbatch.mjs).
  • Voice, music and silence from the sound alone (PLAN R-122, from a user's v0.3.0 brief):
    design.json gains audio (speechBandRatio, spectralFlatness, zcr, speechActiveShare,
    firstSpeechSec, loudnessRangeDb, silenceShare, clippingShare; null with no sound) and
    summary.md a "voice and music" line. New module scripts/watchaudio.mjs exports audioRead,
    audioLines and fft. stats.tsv is unchanged.
  • Repetition and loops (PLAN R-123, from a user's v0.3.0 spec, item 5): design.json gains
    repetition { frames, uniqueFrameShare, loopScore, loopSimilarity, loopPeriod, loopAt,
    staticHoldShare }, read from the 32x18 thumbnails the dissolve read already made, before they
    are dropped. A slideshow, a looped clip and footage that never returns separate on all three
    (scripts/watchrepeattest.mjs). New module scripts/watchrepeat.mjs, export repetitionRead
    and REPEAT; watchVideo's result gains repetition.
  • Long videos refine their cut times from a window around each cut, not a decode of every
    frame (PLAN R-120, from a user's batch): a 5-minute 720p clip with 40 cuts went from 8.2 s to
    1.6 s for the same times. shots.refined says windows or whole. New flags:
    --no-frame-exact (cut times to the sample) and --metrics-only (stats.tsv, shots.csv,
    design.json and summary.md; no sheets, timeline, palette, story sheets, report or best moment),
    both passed on by --batch, which writes no rate clip under --metrics-only. shotList takes
    frameExact, file, ps, seekable and refine; new exports cutWindows, SEEK_COST_S,
    WINDOWS_FROM_S.
  • Long videos no longer lose the shot scale read or the story sheets on ffmpeg 7.1 and later
    (PLAN R-119, from a user's batch): the select filters summed one term per frame in a chain
    ffmpeg now refuses past 100 levels ("Cannot allocate memory"); they are bracketed, still one
    decode. A failure inside the scale read now costs only its line. design.json's scale gains
    opening (a face in the first three seconds: hasFace, faceCount, maxFaceHeight). New
    exports: anyOf, exprDepth, EXPR_DEPTH (watchffmpeg.mjs), framesAt, openingTimes,
    openingFrom (watchscale.mjs); scaleSummary(list, opening) takes an optional second argument.
  • The skill and the story brief ask for a morph check on generated clips (each shot's first,
    middle and last frame) and for the why, the cost and the kind of claim behind each change a
    critique suggests (PLAN R-118, from a user's review). CRITIQUE_SECTIONS asks changed.
  • A still stretch broken by a jump inside one shot (PLAN R-115, from a user's review): each shot
    gains lurch (still from, to, the jump's time and size, the pace before), named in the
    summary, the story brief's camera column and its Look closer times. New exports shotLurch,
    lurchWords and the LURCH_* bars.
  • --before/--after compares the sound (PLAN R-114, from a user's review): loudness, dynamic
    spread, tempo, cuts on the beat and motion-loudness sync join diff.md, which says when only
    the sound changed. compareReads returns soundOnly; its changes may have the area sound.
  • Changed (a minor break): a reelreader.config.json found in the folder a command runs in
    no longer loads its settingsMap, which is code: name the config with --config or
    $REELREADER_CONFIG to keep it (the run says so). Watching a clip inside a downloaded folder
    could otherwise run that folder's module (PLAN R-113, from a user's review). The config beside
    the scripts still loads its map. settingsMapFor(cfg, warn) takes an optional second argument;
    the config gains settingsMapSkipped. The fetch line now quotes every configured path; the
    story brief flattens the video's title and captions and marks them as data (untrusted, new);
    a cmd.exe line refuses ", % and line breaks (cmdLine, new).
  • --batch passes --no-faces to each clip (it was dropped, so an offline batch fetched the face
    model), and --no-rate-clip skips the per-clip rate.mp4 (PLAN R-111).
  • summary.md says "transitions a minute (N hard cuts and M dissolves)" when a clip has dissolves,
    where it called them all cuts (PLAN R-112; cutRateWords, new).
  • The known-answer reel (scripts/watchknown.mjs, PLAN R-82; notes in docs/known-answers.md).
    18 clips made here with a planned answer each (camera moves at set rates, cuts at set times, a
    dissolve, a freeze, two depths, a focus pull, an exposure ramp, a flicker, a hue, a click track
    at 120 bpm, a silent track), encoded with libx264 and read end to end. watchknowntest.mjs
    grades 41 answers: 36 right, five known misses planned as R-73, R-85, R-86 and 47q-3, each
    failing the test the day it starts to read right. New exports (makeKnownReel, makeClip,
    gradeKnown, knownTable, knownTexture, boxBlur3, KNOWN_CLIPS), none changed.
  • Graded against reference tools (scripts/watchagree.mjs, PLAN R-78; numbers in
    docs/agreement.md). reelreader agree cuts scores cuts against a key or another tool's read
    (precision, recall and F1, matched one-to-one within 0.25 s, a dissolve matched anywhere in its
    span), reading reelreader's design.json, PySceneDetect's CSV and TransNet V2's CSV or
    .scenes.txt; agree scores sets every numeric column of a table against a target (Spearman's
    rho, within groups when given, a bootstrap 95% interval, a shuffled p, Kendall's tau-b,
    Pearson's r); agree run runs the reference tools the user has installed on a clip (VMAF
    against --ref). None of the tools ships. First numbers: on two made reels exact to the frame
    (33 cuts, 13 dissolves) cuts F1 0.85 (PySceneDetect 0.88 to 0.89, TransNet V2 0.99); on 36
    YouTube-UGC clips blockiness follows the opinion scores at rho -0.55 (DOVER 0.64); on 84 encodes of 12 of them,
    blur ranks each source's encodes as VMAF does (rho -1.00 within every source).
    scripts/watchagreetest.mjs, 21 checks. New exports, none changed.
  • Where each claim comes from (scripts/watchsource.mjs, PLAN R-79; why in
    docs/provenance.md). The report said counts, published bands, our own thresholds, a face
    detector's finds and the agent's critique in one voice. Every section of report.html now
    opens with a line naming the kinds of claim in it (measured, published, fitted, model, rule of
    thumb, agent) and what each rests on, with the trust the run knows (the face detector's bar,
    the refit's agreement on clips it did not see, the critique check's result), and the page ends
    with a key to the kinds it uses. Before: 0 of 11 sections labelled; after: 11 of 11 on the
    test film, and --critique relabels the story section the agent's and adds it to the key.
    scripts/watchreporttest.mjs (i) fails on a section the table does not label. New exports
    (sectionSources, sourceLine, sourceKey, KINDS); writeReport takes an optional
    sources option; nothing changed shape.

Install or update

  • Command line: npx reelreader@latest …
  • Codex, Antigravity, or skills put in place before: npx reelreader@latest install the first time, npx reelreader@latest update after
  • Claude Code: /plugin marketplace update reelreader; Codex: codex plugin marketplace upgrade reelreader; Antigravity: agy plugin install https://github.com/jstevoh/reelreader
  • Claude apps: add reelreader-skill.zip below under Settings → Capabilities → Skills