You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c6f87f5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): check copies only the stretch of a video it plays and stops after 2 minutes of copies (#7182)
* fix(cli): check stops after 2 minutes of video copies and says how to finish
* fix(cli): check copies only the stretch of a video the composition plays
* docs(cli): check copies only the played stretch of a long video
* docs(cli): shorten two comments on the copy window
* fix(cli): finding crops and frames get the same copy windows as the check
* fix(cli): drop a comment the ratchet counts
* refactor(studio-server): keep runFfmpeg under the complexity gate
Copy file name to clipboardExpand all lines: docs/packages/cli.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1258,10 +1258,11 @@ cover every finding from the full check.
1258
1258
|`--prepare-media`| Only make the browser-playable video copies, then exit: no browser, no report. `--json` lists each file as `ready`, `cached` or `failed`; exit 1 if any failed |
1259
1259
1260
1260
A video Chrome cannot decode (HEVC, ProRes) is copied once, and the first check waits
1261
-
for it. A source longer than 22 seconds is copied in 15-second pieces that are kept, so a
1261
+
for it for up to 2 minutes; past that, check stops with a `media_copies_unfinished` finding that names
1262
+
each unfinished file and its progress. Run `--prepare-media` (no time limit) to finish them. When every use of a long video in the composition has a known `data-duration` (on the video or the element that times it, no `loop`), check copies only that stretch from the start of the file, rounded up to whole 15-second pieces, instead of the whole file. A source longer than 22 seconds is copied in 15-second pieces that are kept, so a
1262
1263
copy that is stopped continues from its finished pieces on the next run. While it works, the
1263
1264
check prints each copy's progress to stderr every 10 seconds (stdout stays clean for `--json`),
1264
-
and ends a copy only when it makes no progress for 3 minutes (`HYPERFRAMES_PROXY_STALL_MS`).
1265
+
and ends a copy that makes no progress for 3 minutes (`HYPERFRAMES_PROXY_STALL_MS`).
1265
1266
For a long project, run `hyperframes check --prepare-media` first, then the check itself finds
0 commit comments