← Commit history
Keep all six R11 review clips clean; deliver captions through the Wiki player
14 files changed
+153−15
docs/compact-r11/video-review.md+4tools/prepare_r11_clearance_clip.py+13tools/prepare_r11_current_clip.py+1−1tools/prepare_r11_sidefan_clip.py+11tools/prepare_r11_storyboard.py+1−1tools/prepare_r11_thermal_clip.py+1−1videos/compact-r11/chapter/01-board-review.mp4videos/compact-r11/chapter/02-fan-review.mp4videos/compact-r11/chapter/03-thermal-review.mp4videos/compact-r11/chapter/04-clearance-review.mp4videos/compact-r11/chapter/05-sidefan-review.mp4videos/compact-r11/chapter/06-current-review.mp4videos/compact-r11/chapter/publication-review.json+24−12videos/compact-r11/chapter/review-report.json+98docs/compact-r11/video-review.md+4@@ -61,3 +61,7 @@ Actual live Fields net selection, 1.59x. Explicit current-only presentation; inv Computed current screen, not measurement or thermal acceptance. Temporary UI note and crop isolate current results; saved solver data is unchanged. [MP4](../../videos/compact-r11/chapter/06-current-review.mp4) · [WebVTT](../../videos/compact-r11/chapter/06-current.vtt) · [SRT](../../videos/compact-r11/chapter/06-current.srt)++## Reusable video and captions++All six R11 MP4 clips contain clean picture and narration, with no burned-in subtitles. Use the Wiki player CC control for captions. The synchronized VTT/SRT sidecars remain available for later edits; remap their timing when assembling a longer film.
tools/prepare_r11_clearance_clip.pyadded+13@@ -0,0 +1,13 @@+from pathlib import Path+import json,subprocess+R=Path(__file__).resolve().parents[1];O=R/'videos/compact-r11/chapter'+cues=[(0,1.8,'The bare board cleared the probes,'),(2.07,3.96,'but adding the cooler exposed a bug:'),(4.27,6.29,'the checker was skipping large objects.'),(6.72,10.89,'After fixing it, the replay found real collisions\nand wire snags.'),(11.32,13.56,'That sends this design back to placement,'),(13.92,18.44,'where we move the probe ground and the five-volt\ntest point into the access corridor.')]+def t(s):m=round(s*1000);return f'00:00:{m//1000:02}.{m%1000:03}'+(O/'04-clearance.vtt').write_text('WEBVTT\n\n'+''.join(f'{t(a)} --> {t(b)}\n{c}\n\n'for a,b,c in cues))+(O/'04-clearance.srt').write_text('\n'.join(f"{i+1}\n{t(a).replace('.',',')} --> {t(b).replace('.',',')}\n{c}\n"for i,(a,b,c)in enumerate(cues)))+n=json.loads((O/'04-clearance.json').read_text())['text'];(O/'04-clearance.txt').write_text(n+'\n')+vf=f"[0:v]trim=end=14.1,setpts=(PTS-STARTPTS)/{14.1/11.32},crop=2560:1396:0:132,scale=1280:698,pad=1280:720:0:0,fps=30,setsar=1[v0];[1:v]scale=-2:720,pad=1280:720:(ow-iw)/2:0,trim=duration=7.24,setpts=PTS-STARTPTS,fps=30,setsar=1[v1];[v0][v1]concat=n=2:v=1:a=0,pad=1280:810:0:0:color=0x101820[v];[2:a]atrim=end=18.56,loudnorm=I=-16:TP=-1.5:LRA=7[a]"+out=O/'04-clearance-review.mp4';subprocess.run(['ffmpeg','-y','-loglevel','error','-i',str(R/'videos/compact-r11/window-3147662-20261014-020304.mp4'),'-loop','1','-i',str(R/'revisions/compact-r11/kicad/probe-routed-review.png'),'-i',str(O/'04-clearance.mp3'),'-filter_complex',vf,'-map','[v]','-map','[a]','-t','18.56','-c:v','libx264','-preset','fast','-crf','23','-pix_fmt','yuv420p','-c:a','aac','-movflags','+faststart',str(out)],check=True)+q=subprocess.run(['ffmpeg','-hide_banner','-i',str(out),'-af','silencedetect=noise=-40dB:d=0.7','-f','null','-'],capture_output=True,text=True,check=True);(O/'04-clearance-silence.log').write_text(q.stderr);assert 'silence_start'not in q.stderr+subprocess.run(['adom-video-post','manifest','add',str(O/'storyboard.json'),'--id','04-clearance','--title','Probe checker repair sends the board back to placement','--description','Actual Pup saved-result review at 1.25x, followed by a native render of the DRC-clean relocation candidate. Cooler geometry is provisional; replay acceptance pending.','--raw',str(out),'--narration',n,'--warning','Saved-result review, not live solver footage. Revised cooler assembly is not qualified.'],check=True)+print('Fourth review clip prepared; final assembly still awaits per-clip review.')
tools/prepare_r11_current_clip.py+1−1@@ -9,7 +9,7 @@ def t(s): (O/'06-current.vtt').write_text('WEBVTT\n\n'+''.join(f'{t(a)} --> {t(b)}\n{c}\n\n'for a,b,c in cues)) (O/'06-current.srt').write_text('\n'.join(f"{i+1}\n{t(a).replace('.',',')} --> {t(b).replace('.',',')}\n{c}\n"for i,(a,b,c)in enumerate(cues))) out=O/'06-current-review.mp4'-f=f"[0:v]trim=end=12,setpts=(PTS-STARTPTS)/{12/7.57},crop=2560:1350:0:132,scale=1280:675,pad=1280:810:0:0:color=0x101820,fps=30,subtitles={O/'06-current.srt'}:force_style='FontSize=18,MarginV=22,Outline=1'[v];[1:a]atrim=end=7.57,asetpts=PTS-STARTPTS,loudnorm=I=-16:TP=-1.5:LRA=7[a]"+f=f"[0:v]trim=end=12,setpts=(PTS-STARTPTS)/{12/7.57},crop=2560:1350:0:132,scale=1280:675,pad=1280:810:0:0:color=0x101820,fps=30[v];[1:a]atrim=end=7.57,asetpts=PTS-STARTPTS,loudnorm=I=-16:TP=-1.5:LRA=7[a]" subprocess.run(['ffmpeg','-y','-loglevel','error','-i',str(R/'videos/compact-r11/window-3147662-20261014-030237.mp4'),'-i',str(O/'06-current.mp3'),'-filter_complex',f,'-map','[v]','-map','[a]','-t','7.57','-c:v','libx264','-preset','fast','-crf','23','-pix_fmt','yuv420p','-c:a','aac','-b:a','96k','-movflags','+faststart',str(out)],check=True) q=subprocess.run(['ffmpeg','-hide_banner','-i',str(out),'-af','silencedetect=noise=-40dB:d=0.7','-f','null','-'],capture_output=True,text=True,check=True);(O/'06-current-silence.log').write_text(q.stderr);assert 'silence_start' not in q.stderr subprocess.run(['adom-video-post','manifest','add',str(O/'storyboard.json'),'--id','06-current','--title','Fresh v5 current screen','--description','Actual live Fields net selection, 1.59x. Explicit current-only presentation; invalid assembly thermal inference excluded.','--raw',str(out),'--narration',n,'--warning','Computed current screen, not measurement or thermal acceptance. Temporary UI note and crop isolate current results; saved solver data is unchanged.'],check=True)
tools/prepare_r11_sidefan_clip.pyadded+11@@ -0,0 +1,11 @@+from pathlib import Path+import json,subprocess+R=Path(__file__).resolve().parents[1];O=R/'videos/compact-r11/chapter'+cues=[(0,2.211,'We turned the fan toward the side of the board,'),(2.574,5.075,'and rotated the molecule to suit the probe head.'),(5.489,8.388,'A new ground contact position keeps the tether clear.'),(8.832,11.437,'The revised board passes native rule checks,'),(11.765,14.387,'and the replay clears these cooling envelopes.'),(14.828,18.170,'The mounting hardware and fan harness\nstill need their own review.')]+def t(s):m=round(s*1000);return f'00:00:{m//1000:02}.{m%1000:03}'+(O/'05-sidefan.vtt').write_text('WEBVTT\n\n'+''.join(f'{t(a)} --> {t(b)}\n{c}\n\n'for a,b,c in cues));(O/'05-sidefan.srt').write_text('\n'.join(f"{i+1}\n{t(a).replace('.',',')} --> {t(b).replace('.',',')}\n{c}\n"for i,(a,b,c)in enumerate(cues)))+n=(O/'05-sidefan.txt').read_text().strip();vf=f"[0:v]trim=end=14.1,setpts=(PTS-STARTPTS)/{14.1/11.32},crop=2560:1396:0:132,scale=1280:698,pad=1280:720:0:0,fps=30,setsar=1[v0];[1:v]scale=-2:720,pad=1280:720:(ow-iw)/2:0,trim=duration=6.96,setpts=PTS-STARTPTS,fps=30,setsar=1[v1];[v0][v1]concat=n=2:v=1:a=0,pad=1280:810:0:0:color=0x101820[v];[2:a]atrim=end=18.28,loudnorm=I=-16:TP=-1.5:LRA=7[a]"+out=O/'05-sidefan-review.mp4';subprocess.run(['ffmpeg','-y','-loglevel','error','-i',str(R/'videos/compact-r11/window-3147662-20261014-023902.mp4'),'-loop','1','-i',str(R/'revisions/compact-r11/kicad/sidefan-v5-review.png'),'-i',str(O/'05-sidefan.mp3'),'-filter_complex',vf,'-map','[v]','-map','[a]','-t','18.28','-c:v','libx264','-preset','fast','-crf','23','-pix_fmt','yuv420p','-c:a','aac','-movflags','+faststart',str(out)],check=True)+r=subprocess.run(['ffmpeg','-hide_banner','-i',str(out),'-af','silencedetect=noise=-40dB:d=0.7','-f','null','-'],capture_output=True,text=True,check=True);(O/'05-sidefan-silence.log').write_text(r.stderr);assert 'silence_start'not in r.stderr+subprocess.run(['adom-video-post','manifest','add',str(O/'storyboard.json'),'--id','05-sidefan','--title','Side-fan layout clears the nominal probe replay','--description','Actual saved-model review at 1.25x and native v5 render. The 90-degree workcell orientation and relocated ground clear the main cooling envelopes; mount and harness are still missing.','--raw',str(out),'--narration',n,'--warning','Geometry-only STEP review omits copper and silk; native still includes them. Cooling bodies are envelopes, not a complete qualified assembly.'],check=True)+print('Fifth narrated/captioned review scene prepared; user review required before assembly.')
tools/prepare_r11_storyboard.py+1−1@@ -22,7 +22,7 @@ for s in scenes: (O/(s['id']+'.vtt')).write_text(vtt) srt='\n'.join(f"{i+1}\n{stamp(a/s['tempo']).replace('.',',')} --> {stamp(b/s['tempo']).replace('.',',')}\n{text}\n" for i,(a,b,text) in enumerate(s['cues'])) (O/(s['id']+'.srt')).write_text(srt)- vf=f"[0:v]trim=start={s['start']}:end={s['end']},setpts=(PTS-STARTPTS)/{speed},crop=2560:1396:0:132,scale=1280:698,pad=1280:720:0:0,fps=30,subtitles={O/(s['id']+'.srt')}:force_style='FontSize=19,Outline=1,MarginV=20'[v];[1:a]atrim=end={s['audioEnd']},asetpts=PTS-STARTPTS,atempo={s['tempo']},loudnorm=I=-16:TP=-1.5:LRA=7[a]"+ vf=f"[0:v]trim=start={s['start']}:end={s['end']},setpts=(PTS-STARTPTS)/{speed},crop=2560:1396:0:132,scale=1280:698,pad=1280:720:0:0,fps=30[v];[1:a]atrim=end={s['audioEnd']},asetpts=PTS-STARTPTS,atempo={s['tempo']},loudnorm=I=-16:TP=-1.5:LRA=7[a]" out=O/(s['id']+'-review.mp4') run(['ffmpeg','-y','-loglevel','error','-i',str(R/'videos/compact-r11'/s['raw']),'-i',str(O/(s['id']+'.mp3')),'-filter_complex',vf,'-map','[v]','-map','[a]','-c:v','libx264','-preset','fast','-crf','23','-g','30','-pix_fmt','yuv420p','-c:a','aac','-b:a','96k','-movflags','+faststart','-t',str(duration),str(out)]) check=subprocess.run(['ffmpeg','-hide_banner','-i',str(out),'-af','silencedetect=noise=-40dB:d=0.7','-f','null','-'],capture_output=True,text=True,check=True)
tools/prepare_r11_thermal_clip.py+1−1@@ -9,7 +9,7 @@ def t(s): (O/'03-thermal.srt').write_text('\n'.join(f"{i+1}\n{t(a).replace('.',',')} --> {t(b).replace('.',',')}\n{c}\n"for i,(a,b,c)in enumerate(cues))) n=json.loads((O/'03-thermal.json').read_text())['text'];(O/'03-thermal.txt').write_text(n+'\n') out=O/'03-thermal-review.mp4'-subprocess.run(['ffmpeg','-y','-loglevel','error','-loop','1','-i',str(R/'revisions/compact-r11/evidence/v5-package-path-scenario.png'),'-i',str(O/'03-thermal.mp3'),'-vf',f"scale=1920:1080,zoompan=z=1+0.012*on/543:x=iw/2-iw/zoom/2:y=ih/2-ih/zoom/2:d=1:s=1280x720:fps=30,pad=1280:810:0:0:color=0x101820,subtitles={O/'03-thermal.srt'}:force_style='FontSize=19,MarginV=14,Outline=1'",'-af','atrim=end=18.12,loudnorm=I=-16:TP=-1.5:LRA=7','-t','18.12','-r','30','-c:v','libx264','-preset','fast','-crf','23','-pix_fmt','yuv420p','-c:a','aac','-b:a','96k','-movflags','+faststart',str(out)],check=True)+subprocess.run(['ffmpeg','-y','-loglevel','error','-loop','1','-i',str(R/'revisions/compact-r11/evidence/v5-package-path-scenario.png'),'-i',str(O/'03-thermal.mp3'),'-vf',f"scale=1920:1080,zoompan=z=1+0.012*on/543:x=iw/2-iw/zoom/2:y=ih/2-ih/zoom/2:d=1:s=1280x720:fps=30,pad=1280:810:0:0:color=0x101820",'-af','atrim=end=18.12,loudnorm=I=-16:TP=-1.5:LRA=7','-t','18.12','-r','30','-c:v','libx264','-preset','fast','-crf','23','-pix_fmt','yuv420p','-c:a','aac','-b:a','96k','-movflags','+faststart',str(out)],check=True) q=subprocess.run(['ffmpeg','-hide_banner','-i',str(out),'-af','silencedetect=noise=-40dB:d=0.7','-f','null','-'],capture_output=True,text=True,check=True);(O/'03-thermal-silence.log').write_text(q.stderr);assert 'silence_start' not in q.stderr subprocess.run(['adom-video-post','manifest','add',str(O/'storyboard.json'),'--id','03-thermal','--title','Q1 external heat path: assumptions versus qualification','--description','Authored chart of the actual exploratory network solve, not a screen recording or resolved fin-temperature map.','--raw',str(out),'--narration',n,'--warning','Hypothetical airflow and interface values; no thermal pass or higher power rating.'],check=True) print('Thermal explanatory review clip prepared; user approval remains pending.')
videos/compact-r11/chapter/01-board-review.mp4⋯ 1 unchanged line ⋯
videos/compact-r11/chapter/02-fan-review.mp4⋯ 1 unchanged line ⋯
videos/compact-r11/chapter/03-thermal-review.mp4⋯ 1 unchanged line ⋯
videos/compact-r11/chapter/04-clearance-review.mp4⋯ 1 unchanged line ⋯
videos/compact-r11/chapter/05-sidefan-review.mp4⋯ 1 unchanged line ⋯
videos/compact-r11/chapter/06-current-review.mp4⋯ 1 unchanged line ⋯
videos/compact-r11/chapter/publication-review.json+24−12@@ -2,49 +2,61 @@ { "id": "01-board", "durationSeconds": 15.6,- "sha256": "e6767d6a56e9f731b91139853e24aea17dc2db6dfba91c10b2e36cd0e3316c91",+ "sha256": "daa503039a15323d461d220c694e16120c9a848e2eb77cbedbaebf463771cf66", "captionsWithinMedia": true, "silenceAtLeast700ms": false,- "userApproved": false+ "userApproved": false,+ "burnedCaptions": false,+ "captionDelivery": "Wiki player plus VTT/SRT sidecars" }, { "id": "02-fan", "durationSeconds": 18.24,- "sha256": "6524856f23975244a5747c066c0a94835305d6adfd68c8add275660417fd6ee5",+ "sha256": "c0dd57e76517bceff8720a85a1f82558c113030f529210e53fc833c4be2a6461", "captionsWithinMedia": true, "silenceAtLeast700ms": false,- "userApproved": false+ "userApproved": false,+ "burnedCaptions": false,+ "captionDelivery": "Wiki player plus VTT/SRT sidecars" }, { "id": "03-thermal", "durationSeconds": 18.133333,- "sha256": "31bd9568b319131c139a56d4d94c20d28e4cf5dc8d9712c687df8d30a6d7dc7a",+ "sha256": "7eaa9936200c3d758ab2969d13fa304749761b764e3e0f0974d5aae7c28535e4", "captionsWithinMedia": true, "silenceAtLeast700ms": false,- "userApproved": false+ "userApproved": false,+ "burnedCaptions": false,+ "captionDelivery": "Wiki player plus VTT/SRT sidecars" }, { "id": "04-clearance", "durationSeconds": 18.566667,- "sha256": "f353b073805c1975ac41bff68d30740e54219f173d635e1ef8f13dc6f7a39a1e",+ "sha256": "b09f1064a465218efe2b8deb38efa39ea1370d620c83c1e15962a201dbaf9ddc", "captionsWithinMedia": true, "silenceAtLeast700ms": false,- "userApproved": false+ "userApproved": false,+ "burnedCaptions": false,+ "captionDelivery": "Wiki player plus VTT/SRT sidecars" }, { "id": "05-sidefan", "durationSeconds": 18.3,- "sha256": "65192edd1b3647fbc708c8af03836c57a4e688766de57f7dae5815e0c6999567",+ "sha256": "957ba2e8a813ddff728f97caf9bc9ff9d2489f1f2e18f33241a4314cd928bd81", "captionsWithinMedia": true, "silenceAtLeast700ms": false,- "userApproved": false+ "userApproved": false,+ "burnedCaptions": false,+ "captionDelivery": "Wiki player plus VTT/SRT sidecars" }, { "id": "06-current", "durationSeconds": 7.57,- "sha256": "4b88f83aa2042acedbe709a377dbe919b620739195753411b76486bb0b49cd00",+ "sha256": "5402cf578d68bffa23a61904d94a615884836d6b417ce0b346e5bca3f166988b", "captionsWithinMedia": true, "silenceAtLeast700ms": false,- "userApproved": false+ "userApproved": false,+ "burnedCaptions": false,+ "captionDelivery": "Wiki player plus VTT/SRT sidecars" } ]
videos/compact-r11/chapter/review-report.jsonadded+98@@ -0,0 +1,98 @@+[+ {+ "id": "01-board",+ "title": "Compact PCB revision",+ "raw": "window-3147662-20261014-004758.mp4",+ "start": 0,+ "end": 16.16,+ "audioEnd": 16.85,+ "tempo": 1.08,+ "description": "Actual compact-board geometry orbit. Copper and silk are omitted by the STEP view; cooler not fitted.",+ "cues": [+ [+ 0,+ 3.274,+ "The compact revision is 72 millimeters square."+ ],+ [+ 3.711,+ 6.066,+ "Large corner pins stay on the scaffold grid,"+ ],+ [+ 6.405,+ 8.395,+ "and USB-C sits at the edge."+ ],+ [+ 8.832,+ 12.425,+ "The four-wire fan connector and its control circuit\nare now routed."+ ],+ [+ 12.863,+ 14.38,+ "This is a geometry review;"+ ],+ [+ 14.799,+ 16.735,+ "cooling qualification is still open."+ ]+ ],+ "videoSpeed": 1.035774480712166,+ "durationSeconds": 15.601851851851853,+ "file": "videos/compact-r11/chapter/01-board-review.mp4",+ "sha256": "daa503039a15323d461d220c694e16120c9a848e2eb77cbedbaebf463771cf66",+ "captions": "Phrase boundaries from source audio silence intervals, transformed to final audio timing; human audiovisual review pending.",+ "silenceAtLeast700ms": false+ },+ {+ "id": "02-fan",+ "title": "RPM-controlled fan digital twin (simulated)",+ "raw": "window-3147662-20261014-001710.mp4",+ "start": 8,+ "end": 30,+ "audioEnd": 18.24,+ "tempo": 1,+ "description": "Recorded simulated fan state ramp with fixed housing and wires. Visual slow motion, no hardware measurement.",+ "cues": [+ [+ 0,+ 3.973,+ "The new fan has separate speed feedback\nand PWM control wires."+ ],+ [+ 4.418,+ 8.591,+ "Its digital twin keeps the housing and wires fixed\nwhile the rotor turns."+ ],+ [+ 9.04504,+ 11.7106,+ "The simulated cycle gently varies the speed"+ ],+ [+ 11.9933,+ 13.0531,+ "and returns to rest."+ ],+ [+ 13.5084,+ 15.4349,+ "The animation runs in slow motion;"+ ],+ [+ 15.7612,+ 18.131,+ "measured cooling still needs an actual test."+ ]+ ],+ "videoSpeed": 1.206140350877193,+ "durationSeconds": 18.24,+ "file": "videos/compact-r11/chapter/02-fan-review.mp4",+ "sha256": "c0dd57e76517bceff8720a85a1f82558c113030f529210e53fc833c4be2a6461",+ "captions": "Phrase boundaries from source audio silence intervals, transformed to final audio timing; human audiovisual review pending.",+ "silenceAtLeast700ms": false+ }+]