Repository navigation
Studio 审片顺手了:意见钉在你停下的地方,放大时时间轴跟着播放头走,"记下"点一次就成,分镜按镜头翻,长段落里点得到具体一镜 - #239
Merged
Merged
Conversation
Owner
Author
|
本地全量 |
Owner
Author
|
评审意见改完:本地全量 |
ZLHad
marked this pull request as ready for review
November 23, 2026 10:23
ZLHad
enabled auto-merge (squash)
November 23, 2026 10:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
用一支 12 分钟的片子在 Studio 里审初版时撞到的几处手感问题,这里一起改:时间轴的时间跟不上播放、放大后播放头跑出画面、标记点叠成一串;"记下"要点两次;分镜按"第 n 页"翻;成片里一点就是剪辑表的一整段。
改了什么
成片的时间轴(
tools/desk/static/studio.js的成片模块,studio.css)timeupdate兜底:窗口在后台、没有动画帧时,时间照样往前走。isTrusted的事件)时才开始放:打开一站、地址里的时间、页面的代码(哪怕紧跟在人点开这一站之后)、点窗口把它提到前面的那一下,都放不起来。报告里"开站时片子自己带声音放起来"那次没能复现:页面里没有自动播放,开站的路上也没有调播放的地方;最可能是 agent 点窗口把它提到前面时点在了画面上。上面这几道是把能放起来的路都堵上。timeupdate(窗口在后台时只有后者),所以后台播放也停在段尾。离开成片页时片子还在放,不再报错,也不再去改下一页的意见框。意见框
isComposing和keyCode 229都看)。分镜(
modules.js、modules.css)剪辑表片子里点得到一镜(
tools/resolved.py)bin/vh timeline --resolved给剪辑表的每一行加inner:成片渲染记录里这一段页面里的镜头(<条目>.<镜头>,片子里的秒,切到这一行);渲染用的不是这份 edit.json 就不给,并在missing里说。成片模块多一行"段落",镜头行画里面的镜头,点一下意见框写"镜头 S1_3(PROLOGUE 里)",目标shot:PROLOGUE.S1_3(feedback.py本来就收)。inner写进了tools/schemas/output/timeline.schema.json。剪辑表的条目在英文里叫 Sections,免得和大纲的 Part 撞名。resolved.document的:desk 的server.py(透传)、bin/vh timeline --resolved --json(多一个可选字段)、tools/test_contract.py(只查退出码)。out/edit.resolved.json没动,读它的不受影响。怎么验证的
tools/desk/test_cut_page.py(+.mjs,tools/ci.sh的 console 组):现做一支 12:20、60 镜、约 180 句、关卡 ③ 有 67 个标记点的编造片子(测试图案,64×36,VP8/Opus 的 WebM,哪个 Chromium 都放得了),和它的剪辑表版本、按旧剪辑表渲的版本;人点开这一站以后马上从代码里点播放;放大播放时用跳转推进、等视频自己的事件,不按墙上的时间取样;离开成片页时片子还在放;一条里有一行以〔…〕开头的意见;起一个隔离的 desk;用仓库自己的tools/textcheck/browser.mjs起无头 Chrome,像 Studio 的窗口那样允许自动播放,真鼠标、真按键走一遍。Cannot set properties of null;一条意见被拆成两条、× 删一半;按旧剪辑表渲的片子不说为什么。resolved_checks加一个用例:剪辑表条目里的镜头(切到条目),另一份 edit.json 的渲染记录不给并说明。tools/ci.sh --committed:见下方评论。行为上要知道的两点
board/<n>现在按合并以后的段数算,打开的可能是另一段。没看、没验证的
没做的