diff --git a/web/tools/line-course/CONTINUATION.md b/web/tools/line-course/CONTINUATION.md index b1c235d2..e72daa57 100644 --- a/web/tools/line-course/CONTINUATION.md +++ b/web/tools/line-course/CONTINUATION.md @@ -72,6 +72,15 @@ - E04 成片 523.3 s / 22 checks / 20 cues,precision 16/16,passed。 - E01 已在 Xvfb `:3` 重录并重新 assemble/verify:242.2 s / 20 checks / 21 cues, passed;截图确认 File 菜单关闭。raw 录制文件已按集删除以节省磁盘。 + - E02 重录(关闭参考面板,表格 A–H 全可见)并通过:253.9 s。 + - E05 补做 assemble/verify:408.3 s / 22 checks / 15 cues,precision 21/21,passed。 + - 2026-11-13 磁盘整理:`cleanup-intermediates.mjs` 清理 184 项可再生缓存 + (profile / segments / audio / 已校验 raw),释放约 14.1 GB,可用空间 17 GB。 +- 云仓库:`working/FreeCAD` 分支 `line-course-20261113`,提交 `4eff6110`(447 文件,45 MB, + 不含视频);已推送到 + `https://gitea.meswork.com/wangdequan/FreeCADWasmDev.git`(远端 ref 已核对为 4eff6110)。 + 离线包 `/home/mes123456/FreeCADWasmDev/line-course-20261113.bundle`(105 MB)保留。 + 凭据仅用于一次性 askpass,未写入 git config/remote,临时文件已删除。 - **E01 需重录**:首版录制时 File 菜单一直展开,遮住对象树/工具栏。已修 `lib/ui.mjs newDocument` 与 E01 驱动(新建文档后关闭所有 `details[open]`); E02 不经过该路径,E03 起批处理会使用修复后的代码;E03 截图已确认菜单关闭。 @@ -87,7 +96,9 @@ ## 真实残余 -- E02–E18 的媒体成片仍在后台生成;完成前课程页保持 pending。 +- E06–E18 媒体批处理已恢复:`run-media-batch-2.sh`,日志 `evidence/media-batch2.log`; + 每集 verify 后自动删除 segments/audio/profile/raw。 +- E01–E05 成片与校验已完成;E02 已重录。 - 整线交互页 `production-line-assembly.html` 尚未生成;需要从 E18.FCStd 逐件导出 STL 到 `teaching/cases/line-parts/`,再用 three.js 拼场景。 - 课程页 hero 图只差 `production-line-assembly.png`。 diff --git a/web/tools/line-course/episodes/E02/assembly.json b/web/tools/line-course/episodes/E02/assembly.json index 8566d473..301e0a8d 100644 --- a/web/tools/line-course/episodes/E02/assembly.json +++ b/web/tools/line-course/episodes/E02/assembly.json @@ -1,12 +1,12 @@ { "schema": "freecad-web-line-course/video-assembly/v1", - "generatedAt": "2026-11-12T19:14:45.522Z", + "generatedAt": "2026-11-12T20:18:42.777Z", "episode": "E02", "title": "测量、单位与零件表", "status": "assembled", "source": "raw/E02/screen-recording.mp4", - "captureStart": 0.903, - "totalVideo": 261.633, + "captureStart": 0.904, + "totalVideo": 253.2, "scenes": [ { "id": "S00", @@ -25,28 +25,28 @@ { "id": "S02", "start": 58.067, - "end": 146.533, - "duration": 88.467, + "end": 138.1, + "duration": 80.033, "narration": 29.472 }, { "id": "S03", - "start": 146.533, - "end": 201.567, + "start": 138.1, + "end": 193.133, "duration": 55.033, "narration": 20.424 }, { "id": "S04", - "start": 201.567, - "end": 236.6, + "start": 193.133, + "end": 228.167, "duration": 35.033, "narration": 17.904 }, { "id": "S05", - "start": 236.6, - "end": 261.633, + "start": 228.167, + "end": 253.2, "duration": 25.033, "narration": 15.192 } @@ -58,5 +58,5 @@ "srt": "teaching/media/line-course/E02-measure-and-spec.zh.srt", "poster": "teaching/media/line-course/E02-measure-and-spec-poster.png" }, - "cues": 18 + "cues": 0 } diff --git a/web/tools/line-course/episodes/E05/assembly.json b/web/tools/line-course/episodes/E05/assembly.json new file mode 100644 index 00000000..f17df192 --- /dev/null +++ b/web/tools/line-course/episodes/E05/assembly.json @@ -0,0 +1,62 @@ +{ + "schema": "freecad-web-line-course/video-assembly/v1", + "generatedAt": "2026-11-12T20:28:41.814Z", + "episode": "E05", + "title": "柜门与双显示屏", + "status": "assembled", + "source": "raw/E05/screen-recording.mp4", + "captureStart": 0.906, + "totalVideo": 408.267, + "scenes": [ + { + "id": "S00", + "start": 0, + "end": 18.033, + "duration": 18.033, + "narration": 12.12 + }, + { + "id": "S01", + "start": 18.033, + "end": 48.067, + "duration": 30.033, + "narration": 11.088 + }, + { + "id": "S02", + "start": 48.067, + "end": 148.1, + "duration": 100.033, + "narration": 19.92 + }, + { + "id": "S03", + "start": 148.1, + "end": 248.133, + "duration": 100.033, + "narration": 17.928 + }, + { + "id": "S04", + "start": 248.133, + "end": 338.2, + "duration": 90.067, + "narration": 14.448 + }, + { + "id": "S05", + "start": 338.2, + "end": 408.267, + "duration": 70.067, + "narration": 18.816 + } + ], + "outputs": { + "mp4": "teaching/media/line-course/E05-doors-and-displays.mp4", + "webm": "teaching/media/line-course/E05-doors-and-displays.webm", + "vtt": "teaching/media/line-course/E05-doors-and-displays.zh.vtt", + "srt": "teaching/media/line-course/E05-doors-and-displays.zh.srt", + "poster": "teaching/media/line-course/E05-doors-and-displays-poster.png" + }, + "cues": 15 +} diff --git a/web/tools/line-course/episodes/E06/audio-durations.json b/web/tools/line-course/episodes/E06/audio-durations.json new file mode 100644 index 00000000..6a490ac7 --- /dev/null +++ b/web/tools/line-course/episodes/E06/audio-durations.json @@ -0,0 +1,58 @@ +{ + "schema": "freecad-web-line-course/video-tts/v1", + "episode": "E06", + "generatedAt": "2026-11-12T20:29:26.858Z", + "voice": "zh-CN-XiaoxiaoNeural", + "rate": "-4%", + "scenes": { + "S00": { + "title": "标题", + "target": 18, + "duration": 12.792, + "media": "audio/S00.mp3", + "subtitles": "audio/S00.srt" + }, + "S01": { + "title": "从 E05 检查点继续", + "target": 30, + "duration": 11.04, + "media": "audio/S01.mp3", + "subtitles": "audio/S01.srt" + }, + "S02": { + "title": "料仓外箱与内胆", + "target": 100, + "duration": 19.104, + "media": "audio/S02.mp3", + "subtitles": "audio/S02.srt" + }, + "S03": { + "title": "上料机架与导轨", + "target": 100, + "duration": 21.744, + "media": "audio/S03.mp3", + "subtitles": "audio/S03.srt" + }, + "S04": { + "title": "立柱与底板", + "target": 100, + "duration": 18.216, + "media": "audio/S04.mp3", + "subtitles": "audio/S04.srt" + }, + "S05": { + "title": "上料圆柱", + "target": 110, + "duration": 22.056, + "media": "audio/S05.mp3", + "subtitles": "audio/S05.srt" + }, + "S06": { + "title": "精度自检与保存", + "target": 70, + "duration": 18.48, + "media": "audio/S06.mp3", + "subtitles": "audio/S06.srt" + } + } +} diff --git a/web/tools/line-course/evidence/E05/ffprobe.json b/web/tools/line-course/evidence/E05/ffprobe.json new file mode 100644 index 00000000..2599f2b2 --- /dev/null +++ b/web/tools/line-course/evidence/E05/ffprobe.json @@ -0,0 +1,259 @@ +{ + "mp4": { + "streams": [ + { + "index": 0, + "codec_name": "h264", + "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", + "profile": "High", + "codec_type": "video", + "codec_tag_string": "avc1", + "codec_tag": "0x31637661", + "width": 1600, + "height": 900, + "coded_width": 1600, + "coded_height": 900, + "closed_captions": 0, + "film_grain": 0, + "has_b_frames": 2, + "pix_fmt": "yuv420p", + "level": 42, + "chroma_location": "left", + "field_order": "progressive", + "refs": 1, + "is_avc": "true", + "nal_length_size": "4", + "id": "0x1", + "r_frame_rate": "30/1", + "avg_frame_rate": "30/1", + "time_base": "1/15360", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 6270464, + "duration": "408.233333", + "bit_rate": "422770", + "bits_per_raw_sample": "8", + "nb_frames": "12247", + "extradata_size": 46, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "und", + "handler_name": "VideoHandler", + "vendor_id": "[0][0][0][0]", + "encoder": "Lavc60.31.102 libx264" + } + }, + { + "index": 1, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "profile": "LC", + "codec_type": "audio", + "codec_tag_string": "mp4a", + "codec_tag": "0x6134706d", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "initial_padding": 0, + "id": "0x2", + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/48000", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 19596768, + "duration": "408.266000", + "bit_rate": "43282", + "nb_frames": "19139", + "extradata_size": 5, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "und", + "handler_name": "SoundHandler", + "vendor_id": "[0][0][0][0]" + } + } + ], + "format": { + "filename": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays.mp4", + "nb_streams": 2, + "nb_programs": 0, + "format_name": "mov,mp4,m4a,3gp,3g2,mj2", + "format_long_name": "QuickTime / MOV", + "start_time": "0.000000", + "duration": "408.266000", + "size": "24232501", + "bit_rate": "474837", + "probe_score": 100, + "tags": { + "major_brand": "isom", + "minor_version": "512", + "compatible_brands": "isomiso2avc1mp41", + "encoder": "Lavf60.16.100" + } + } + }, + "webm": { + "streams": [ + { + "index": 0, + "codec_name": "vp9", + "codec_long_name": "Google VP9", + "profile": "Profile 0", + "codec_type": "video", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "width": 1600, + "height": 900, + "coded_width": 1600, + "coded_height": 900, + "closed_captions": 0, + "film_grain": 0, + "has_b_frames": 0, + "sample_aspect_ratio": "1:1", + "display_aspect_ratio": "16:9", + "pix_fmt": "yuv420p", + "level": -99, + "color_range": "tv", + "chroma_location": "left", + "field_order": "progressive", + "refs": 1, + "r_frame_rate": "30/1", + "avg_frame_rate": "30/1", + "time_base": "1/1000", + "start_pts": 0, + "start_time": "0.000000", + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "HANDLER_NAME": "VideoHandler", + "VENDOR_ID": "[0][0][0][0]", + "ENCODER": "Lavc60.31.102 libvpx-vp9", + "DURATION": "00:06:48.233000000" + } + }, + { + "index": 1, + "codec_name": "opus", + "codec_long_name": "Opus (Opus Interactive Audio Codec)", + "codec_type": "audio", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "initial_padding": 312, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": -7, + "start_time": "-0.007000", + "extradata_size": 19, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "HANDLER_NAME": "SoundHandler", + "VENDOR_ID": "[0][0][0][0]", + "ENCODER": "Lavc60.31.102 libopus", + "DURATION": "00:06:48.285000000" + } + } + ], + "format": { + "filename": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays.webm", + "nb_streams": 2, + "nb_programs": 0, + "format_name": "matroska,webm", + "format_long_name": "Matroska / WebM", + "start_time": "-0.007000", + "duration": "408.285000", + "size": "12978824", + "bit_rate": "254309", + "probe_score": 100, + "tags": { + "COMPATIBLE_BRANDS": "isomiso2avc1mp41", + "MAJOR_BRAND": "isom", + "MINOR_VERSION": "512", + "ENCODER": "Lavf60.16.100" + } + } + } +} diff --git a/web/tools/line-course/evidence/E05/verification.json b/web/tools/line-course/evidence/E05/verification.json new file mode 100644 index 00000000..ce87c38e --- /dev/null +++ b/web/tools/line-course/evidence/E05/verification.json @@ -0,0 +1,739 @@ +{ + "schema": "freecad-web-line-course/video-verification/v1", + "generatedAt": "2026-11-12T20:28:56.472Z", + "episode": "E05", + "title": "柜门与双显示屏", + "status": "passed", + "checks": [ + { + "name": "mp4 exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays.mp4" + }, + { + "name": "webm exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays.webm" + }, + { + "name": "vtt exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays.zh.vtt" + }, + { + "name": "srt exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays.zh.srt" + }, + { + "name": "poster exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/teaching/media/line-course/E05-doors-and-displays-poster.png" + }, + { + "name": "mp4 h264 1600x900", + "passed": true, + "detail": { + "index": 0, + "codec_name": "h264", + "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", + "profile": "High", + "codec_type": "video", + "codec_tag_string": "avc1", + "codec_tag": "0x31637661", + "width": 1600, + "height": 900, + "coded_width": 1600, + "coded_height": 900, + "closed_captions": 0, + "film_grain": 0, + "has_b_frames": 2, + "pix_fmt": "yuv420p", + "level": 42, + "chroma_location": "left", + "field_order": "progressive", + "refs": 1, + "is_avc": "true", + "nal_length_size": "4", + "id": "0x1", + "r_frame_rate": "30/1", + "avg_frame_rate": "30/1", + "time_base": "1/15360", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 6270464, + "duration": "408.233333", + "bit_rate": "422770", + "bits_per_raw_sample": "8", + "nb_frames": "12247", + "extradata_size": 46, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "und", + "handler_name": "VideoHandler", + "vendor_id": "[0][0][0][0]", + "encoder": "Lavc60.31.102 libx264" + } + } + }, + { + "name": "mp4 aac audio", + "passed": true, + "detail": { + "index": 1, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "profile": "LC", + "codec_type": "audio", + "codec_tag_string": "mp4a", + "codec_tag": "0x6134706d", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "initial_padding": 0, + "id": "0x2", + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/48000", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 19596768, + "duration": "408.266000", + "bit_rate": "43282", + "nb_frames": "19139", + "extradata_size": 5, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "und", + "handler_name": "SoundHandler", + "vendor_id": "[0][0][0][0]" + } + } + }, + { + "name": "webm vp9/opus", + "passed": true, + "detail": { + "video": "vp9", + "audio": "opus" + } + }, + { + "name": "duration in range", + "passed": true, + "detail": { + "duration": 408.266, + "range": [ + 240, + 780 + ] + } + }, + { + "name": "audio not silent", + "passed": true, + "detail": { + "mean": -29.1, + "max": -5.4 + } + }, + { + "name": "vtt cues", + "passed": true, + "detail": 15 + }, + { + "name": "media HTTP 200", + "passed": true, + "detail": { + "status": 200, + "type": "video/mp4", + "ranges": "bytes" + } + }, + { + "name": "media MIME", + "passed": true, + "detail": "video/mp4" + }, + { + "name": "media Accept-Ranges", + "passed": true, + "detail": "bytes" + }, + { + "name": "media Range 206", + "passed": true, + "detail": 206 + }, + { + "name": "media bad Range 416", + "passed": true, + "detail": 416 + }, + { + "name": "session exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/tools/line-course/raw/E05/session.json" + }, + { + "name": "0 pageErrors", + "passed": true, + "detail": [] + }, + { + "name": "0 consoleErrors", + "passed": true, + "detail": [] + }, + { + "name": "stills exist", + "passed": true, + "detail": 6 + }, + { + "name": "checkpoint exists", + "passed": true, + "detail": "/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/tools/line-course/checkpoints/E05.FCStd" + }, + { + "name": "precision profile", + "passed": true, + "detail": { + "objectCount": 21, + "extra": [], + "models": [], + "failures": [] + } + } + ], + "duration": 408.266, + "scenes": [ + { + "id": "S00", + "start": 0, + "end": 18.033, + "duration": 18.033, + "narration": 12.12 + }, + { + "id": "S01", + "start": 18.033, + "end": 48.067, + "duration": 30.033, + "narration": 11.088 + }, + { + "id": "S02", + "start": 48.067, + "end": 148.1, + "duration": 100.033, + "narration": 19.92 + }, + { + "id": "S03", + "start": 148.1, + "end": 248.133, + "duration": 100.033, + "narration": 17.928 + }, + { + "id": "S04", + "start": 248.133, + "end": 338.2, + "duration": 90.067, + "narration": 14.448 + }, + { + "id": "S05", + "start": 338.2, + "end": 408.267, + "duration": 70.067, + "narration": 18.816 + } + ], + "cues": 15, + "audio": { + "mean": -29.1, + "max": -5.4 + }, + "stills": [ + "S00-title.png", + "S01-start.png", + "S02-parts.png", + "S03-parts.png", + "S04-parts.png", + "S05-recap.png" + ], + "precision": { + "schema": "freecad-web-line-course/precision/v1", + "objectCount": 21, + "extra": [], + "results": [ + { + "name": "CabinetA_P01", + "label": "主控制柜 部件 1", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P02", + "label": "主控制柜 部件 2", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P03", + "label": "主控制柜 部件 3", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P04", + "label": "ZX-JX02-02-02A______________¹___001", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P05", + "label": "ZX-JX02-02-03____²_______________¹___097", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P06", + "label": "ZX-JX02-02-03____²_______________¹___105", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P07", + "label": "ZX-JX02-02-80______013", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetA_P08", + "label": "ZX-JX02-02-80______015", + "model": "CabinetA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P01", + "label": "长控制柜 部件 1", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P02", + "label": "长控制柜 部件 2", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P03", + "label": "长控制柜 部件 3", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P04", + "label": "ZX-JX02-02-02A______________¹___135", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P05", + "label": "长控制柜 部件 5", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P06", + "label": "ZX-JX02-02-03____²_______________¹___129", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P07", + "label": "ZX-JX02-02-03____²_______________¹___142", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB_P08", + "label": "ZX-JX02-02-80______016", + "model": "CabinetB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "CabinetDoor_P01", + "label": "ZX-JX02-02-23²_____006", + "model": "CabinetDoor", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "DisplayA_P01", + "label": "IH-C-07-031792213", + "model": "DisplayA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "DisplayA_P02", + "label": "IH-C-07-031792213_1", + "model": "DisplayA", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "DisplayB_P01", + "label": "IH-C-07-031792213", + "model": "DisplayB", + "tolerance": 1.5, + "ok": true, + "issues": [] + }, + { + "name": "DisplayB_P02", + "label": "IH-C-07-031792213_1", + "model": "DisplayB", + "tolerance": 1.5, + "ok": true, + "issues": [] + } + ], + "models": [ + { + "name": "CabinetA", + "label": "主控制柜", + "parts": 8, + "ok": true, + "issues": [] + }, + { + "name": "CabinetB", + "label": "长控制柜", + "parts": 8, + "ok": true, + "issues": [] + }, + { + "name": "DisplayA", + "label": "显示屏 A", + "parts": 2, + "ok": true, + "issues": [] + }, + { + "name": "DisplayB", + "label": "显示屏 B", + "parts": 2, + "ok": true, + "issues": [] + }, + { + "name": "CabinetDoor", + "label": "柜门", + "parts": 1, + "ok": true, + "issues": [] + } + ], + "ok": true + }, + "checkpoint": "checkpoints/E05.FCStd", + "mp4": { + "video": { + "index": 0, + "codec_name": "h264", + "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", + "profile": "High", + "codec_type": "video", + "codec_tag_string": "avc1", + "codec_tag": "0x31637661", + "width": 1600, + "height": 900, + "coded_width": 1600, + "coded_height": 900, + "closed_captions": 0, + "film_grain": 0, + "has_b_frames": 2, + "pix_fmt": "yuv420p", + "level": 42, + "chroma_location": "left", + "field_order": "progressive", + "refs": 1, + "is_avc": "true", + "nal_length_size": "4", + "id": "0x1", + "r_frame_rate": "30/1", + "avg_frame_rate": "30/1", + "time_base": "1/15360", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 6270464, + "duration": "408.233333", + "bit_rate": "422770", + "bits_per_raw_sample": "8", + "nb_frames": "12247", + "extradata_size": 46, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "und", + "handler_name": "VideoHandler", + "vendor_id": "[0][0][0][0]", + "encoder": "Lavc60.31.102 libx264" + } + }, + "audio": { + "index": 1, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "profile": "LC", + "codec_type": "audio", + "codec_tag_string": "mp4a", + "codec_tag": "0x6134706d", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "initial_padding": 0, + "id": "0x2", + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/48000", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 19596768, + "duration": "408.266000", + "bit_rate": "43282", + "nb_frames": "19139", + "extradata_size": 5, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "und", + "handler_name": "SoundHandler", + "vendor_id": "[0][0][0][0]" + } + } + }, + "webm": { + "video": { + "index": 0, + "codec_name": "vp9", + "codec_long_name": "Google VP9", + "profile": "Profile 0", + "codec_type": "video", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "width": 1600, + "height": 900, + "coded_width": 1600, + "coded_height": 900, + "closed_captions": 0, + "film_grain": 0, + "has_b_frames": 0, + "sample_aspect_ratio": "1:1", + "display_aspect_ratio": "16:9", + "pix_fmt": "yuv420p", + "level": -99, + "color_range": "tv", + "chroma_location": "left", + "field_order": "progressive", + "refs": 1, + "r_frame_rate": "30/1", + "avg_frame_rate": "30/1", + "time_base": "1/1000", + "start_pts": 0, + "start_time": "0.000000", + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "HANDLER_NAME": "VideoHandler", + "VENDOR_ID": "[0][0][0][0]", + "ENCODER": "Lavc60.31.102 libvpx-vp9", + "DURATION": "00:06:48.233000000" + } + }, + "audio": { + "index": 1, + "codec_name": "opus", + "codec_long_name": "Opus (Opus Interactive Audio Codec)", + "codec_type": "audio", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "initial_padding": 312, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": -7, + "start_time": "-0.007000", + "extradata_size": 19, + "disposition": { + "default": 1, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0, + "timed_thumbnails": 0, + "non_diegetic": 0, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "HANDLER_NAME": "SoundHandler", + "VENDOR_ID": "[0][0][0][0]", + "ENCODER": "Lavc60.31.102 libopus", + "DURATION": "00:06:48.285000000" + } + } + } +} diff --git a/web/tools/line-course/run-media-batch-2.sh b/web/tools/line-course/run-media-batch-2.sh new file mode 100644 index 00000000..57dd8cf8 --- /dev/null +++ b/web/tools/line-course/run-media-batch-2.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Resume media production from E06 after the disk-cleanup pause. +set -u +ROOT=/home/mes123456/FreeCADWasmDev/working/FreeCAD/web/tools/line-course +LOG="$ROOT/evidence/media-batch2.log" +: > "$LOG" +for ep in E06 E07 E08 E09 E10 E11 E12 E13 E14 E15 E16 E17 E18; do + echo "=== $ep start $(date -Iseconds) ===" >> "$LOG" + if ! node "$ROOT/generate-tts.mjs" --episode "$ep" >> "$LOG" 2>&1; then + echo "=== $ep TTS FAILED ===" >> "$LOG"; continue + fi + if ! DISPLAY=:2 node "$ROOT/record.mjs" --episode "$ep" >> "$LOG" 2>&1; then + echo "=== $ep RECORD FAILED ===" >> "$LOG"; continue + fi + if ! node "$ROOT/assemble.mjs" --episode "$ep" >> "$LOG" 2>&1; then + echo "=== $ep ASSEMBLE FAILED ===" >> "$LOG"; continue + fi + if ! node "$ROOT/verify.mjs" --episode "$ep" >> "$LOG" 2>&1; then + echo "=== $ep VERIFY FAILED ===" >> "$LOG"; continue + fi + rm -rf "$ROOT/episodes/$ep/segments" "$ROOT/episodes/$ep/audio" "$ROOT/raw/$ep/profile" "$ROOT/raw/$ep/screen-recording.mp4" + echo "=== $ep DONE $(date -Iseconds) ===" >> "$LOG" +done +echo "=== ALL DONE $(date -Iseconds) ===" >> "$LOG"