Skip to content

v1.3.0

Choose a tag to compare

@rowanlin-dev rowanlin-dev released this 15 Sep 06:18
· 16 commits to main since this release

v1.3.0 更新内容

笔记时间戳可跳转原视频(新增 --source-url)

  • run_local_pipeline.py / run_pipeline.py / md_note.py 新增 --source-url 参数。
  • 提供后,笔记里的时间戳链接用「原视频链接 + t=秒数」跳转;本地视频未提供时不生成打不开的假 B 站链接,仅输出纯文本时间戳。
  • 配套新增 scripts/fix_bili_timestamps.py:可批量把已生成的笔记里本地时间戳转成可点击的 B 站链接(支持图注单点、标题区间、时间节点行、表格时间段四种格式,已转换的不重复处理)。

固定间隔抽帧模式(新增 --mode fixed)

  • 跳过场景检测,改用固定间隔帧(extract_frames.py 的 extract_fixed_frames 抽到 fixed_dir),适合画面匀速、步骤间隔规律的视频。
  • run_pipeline.py Step 1 按 --mode fixed 调抽帧、Step 2 直接读 fixed_dir,逻辑完整接线。

渲染与健壮性修复

  • md2pdf.py:SVG 改为内联进 HTML(不再用 <img> 引用),修复 PDF 中 SVG 渲染异常;新增 SVG 专属 CSS(.img-wrap/.img-portrait/.img-square/.img-landscape svg 的 max-width)。
  • scripts/render_mermaid.py:节点文本含未加引号的 URL(://)时 mermaid.ink 返回 400,新增 _quote_url_nodes 自动补引号兜底。
  • scripts/extract_mermaid.py:清除 LLM 生成的虚假图片占位符(文件名与实际 SVG 不匹配)。
  • scripts/extract_frames.py:新增 _resolve_full_ffmpeg 探测 WinGet 完整版 Gyan.FFmpeg(TRAE 等 IDE 自带精简版缺 JPEG 编码器,抽帧会失败),替代硬编码 ffmpeg。

其它

  • 版本 1.2.0 → 1.3.0(version.txt / SKILL.md / AGENTS.md / CLAUDE.md 同步)。
  • update_skill.py 白名单登记 scripts/fix_bili_timestamps.py。

注:_deliver_anim/、_verify_tab_sim.py、scripts/_ts_backup/、scripts/wait_asr.py 为沙盒/调试残留,未入库。