hyperframes 0.8.149 → 0.8.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-MG53577L.js → add-QKZZG7A2.js} +12 -12
- package/dist/{animatedGifPrep-HV4ZFVPV.js → animatedGifPrep-YQDPYGOD.js} +7 -7
- package/dist/api.js +17 -17
- package/dist/{asset-3GIBXLLL.js → asset-3Q737Y4H.js} +2 -2
- package/dist/{assetCataloger-JJQ4JW2P.js → assetCataloger-BTHEBJJB.js} +3 -3
- package/dist/{auth-XQMT727H.js → auth-XL7EU3SO.js} +1 -1
- package/dist/{autoUpdate-CREZJGMU.js → autoUpdate-PJFLTQ3U.js} +2 -2
- package/dist/{backgroundChecks-K3S5QKR3.js → backgroundChecks-T5TIR5WK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-42AKNX73.js → batchRender-NFLVIDB4.js} +4 -4
- package/dist/{beats-Y7IKETUS.js → beats-JU4GZ26R.js} +13 -13
- package/dist/{benchmark-22SAXSO5.js → benchmark-7U2YWLTW.js} +9 -9
- package/dist/{browser-ABNISCC3.js → browser-D57UPYDA.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-OE5ZI4JE.js → bundleWithLocalizedFonts-26MXQOZG.js} +2 -2
- package/dist/{capture-DBNHO4WJ.js → capture-47BV25G3.js} +2 -2
- package/dist/{capture-HQG5W42I.js → capture-LT252COQ.js} +11 -11
- package/dist/{catalog-KICZFIDX.js → catalog-BEZXOV4O.js} +12 -12
- package/dist/{catch-up-ZCQUCI45.js → catch-up-KVV5X6BF.js} +4 -4
- package/dist/{check-TGXIICEF.js → check-6KQ433E6.js} +191 -55
- package/dist/{checkBrowser-3N23I56J.js → checkBrowser-PRDR6XBY.js} +172 -30
- package/dist/{chunk-GESJSXFH.js → chunk-35PWWBGZ.js} +1 -1
- package/dist/{chunk-62RUQJ5J.js → chunk-3SVC7SW4.js} +47 -21
- package/dist/{chunk-KMJLHHBF.js → chunk-3ZPFRDEJ.js} +1 -1
- package/dist/{chunk-XHBX7QN6.js → chunk-4LE27ST4.js} +1 -1
- package/dist/{chunk-DUUFDLC4.js → chunk-4MLYMDQ4.js} +1 -1
- package/dist/{chunk-WX7VCRM7.js → chunk-4PKQEKAI.js} +2 -2
- package/dist/{chunk-ZKDKFJCK.js → chunk-4YZYYP7V.js} +5 -5
- package/dist/{chunk-XPQSL5VS.js → chunk-54DMWFQZ.js} +8 -1
- package/dist/{chunk-NKM53WMI.js → chunk-BRF3O35X.js} +7 -7
- package/dist/chunk-DHPFXAUF.js +165 -0
- package/dist/{chunk-CT6ZQRLD.js → chunk-DIOBKUBV.js} +2 -2
- package/dist/{chunk-SP6XL3NP.js → chunk-FAIYEIZ4.js} +1 -1
- package/dist/{chunk-CYFFYK2F.js → chunk-FLVI7FHU.js} +1 -1
- package/dist/{chunk-JDB65PPT.js → chunk-GNTVYF7E.js} +8 -7
- package/dist/{chunk-KQHJKJ3V.js → chunk-HVXRYMGQ.js} +1 -1
- package/dist/{chunk-CNPJHUOX.js → chunk-IP73NMQT.js} +11 -11
- package/dist/{chunk-VX4AL2FQ.js → chunk-IPDS2SWI.js} +1 -1
- package/dist/{chunk-LACFOFWX.js → chunk-IZ7L6V76.js} +1 -1
- package/dist/{chunk-VC7JBNPS.js → chunk-IZPN423R.js} +481 -68
- package/dist/{chunk-P7NTODQE.js → chunk-KQGWP4KH.js} +2 -2
- package/dist/{chunk-SFUBSJFP.js → chunk-KXX6NLOT.js} +1 -1
- package/dist/{chunk-K44HCHZN.js → chunk-L3N7RJHS.js} +3 -3
- package/dist/{chunk-MI6U3OIN.js → chunk-L6RIMCMG.js} +3 -3
- package/dist/{chunk-7IEGPJ4P.js → chunk-LBT4AMSF.js} +1 -1
- package/dist/{chunk-AY2BONTF.js → chunk-LKQS72D5.js} +1 -1
- package/dist/{chunk-VXM4BH23.js → chunk-N3I6RAOR.js} +136 -54
- package/dist/{chunk-Q2Y5OZCY.js → chunk-N4IXP3MY.js} +2 -2
- package/dist/{chunk-LCILS4AF.js → chunk-O3DUX6P2.js} +5 -5
- package/dist/{chunk-MXB6CWVH.js → chunk-OSAH7S5M.js} +1 -1
- package/dist/{chunk-YDRX42P3.js → chunk-OZ4K46OV.js} +3 -3
- package/dist/{chunk-ZK3BQXHC.js → chunk-POEEDPJI.js} +1 -1
- package/dist/{chunk-LTJDUBSQ.js → chunk-PUIELIFA.js} +1 -1
- package/dist/chunk-QBYHNRHU.js +3795 -0
- package/dist/{chunk-KUTT3JXL.js → chunk-QF7AE3DB.js} +3 -3
- package/dist/{chunk-BNYRD7PQ.js → chunk-QLGBNGXC.js} +2 -2
- package/dist/{chunk-U7SASZC5.js → chunk-RJRGR5KF.js} +10 -10
- package/dist/{chunk-4S4VUXW3.js → chunk-RRBKEHST.js} +1 -1
- package/dist/{chunk-TPIG7ZBX.js → chunk-RYL6ZIJP.js} +6 -6
- package/dist/{chunk-L274XRWA.js → chunk-S22FKF6G.js} +6 -3
- package/dist/{chunk-OMBSUO4T.js → chunk-TCWMDCBX.js} +2 -2
- package/dist/{chunk-YA62XGXS.js → chunk-UJKQWGFF.js} +1 -1
- package/dist/{chunk-M5B42RL5.js → chunk-WUUOFMHU.js} +3 -3
- package/dist/{chunk-PR7QQBSC.js → chunk-XGLNQDLN.js} +1 -1
- package/dist/{chunk-VGCEMOQA.js → chunk-XKKBIFE5.js} +7 -7
- package/dist/{chunk-2HWB4TCI.js → chunk-XNDXENJQ.js} +27 -12
- package/dist/{chunk-AHBYQRGI.js → chunk-XQKVEQNY.js} +2 -2
- package/dist/{chunk-ZFN6GQU4.js → chunk-XXPYZBZ3.js} +1 -1
- package/dist/{chunk-K4RIT6PX.js → chunk-XYHBVSWD.js} +2 -2
- package/dist/{chunk-RMIFSBRV.js → chunk-YEBKEWKB.js} +1 -1
- package/dist/{chunk-CZQLCBWY.js → chunk-YG2Y55KF.js} +1 -1
- package/dist/{chunk-B3XLIBFL.js → chunk-YIJMVFEJ.js} +1 -1
- package/dist/{chunk-K35E45SI.js → chunk-YZTVHRJ2.js} +1 -1
- package/dist/{chunk-Y475GD4L.js → chunk-ZD3RDNZI.js} +1 -1
- package/dist/{chunk-QIJLIULK.js → chunk-ZGCRVM5M.js} +2 -2
- package/dist/{clean-6QP7VAV4.js → clean-RLTHFTQA.js} +18 -18
- package/dist/cli.js +52 -52
- package/dist/{cloud-5TME5ROM.js → cloud-Q5TGBTW3.js} +4 -4
- package/dist/{cloudrun-F5VVCVF5.js → cloudrun-4UZF74MV.js} +4 -4
- package/dist/{compare-XPY2EXX6.js → compare-Q5UNR2V4.js} +25 -25
- package/dist/{compiler-NPD3MYMO.js → compiler-ZXT27Z62.js} +4 -4
- package/dist/{component-OPVL3PUX.js → component-H734P32V.js} +3 -3
- package/dist/{compositions-WSEOI454.js → compositions-YEHDSTDR.js} +11 -11
- package/dist/{delete-SLMH57VH.js → delete-LDBMPWRT.js} +2 -2
- package/dist/{dist-CUIR3GFX.js → dist-7JXLFD6U.js} +3 -3
- package/dist/{dist-HUMFCJ6T.js → dist-RGE4QASU.js} +1 -1
- package/dist/{doctor-QZW3EKIH.js → doctor-XNJFIWJ7.js} +13 -13
- package/dist/{events-FIFWFRGC.js → events-G6UFLNXR.js} +2 -2
- package/dist/{events-6C3ZG7LS.js → events-UKCPUWMH.js} +3 -3
- package/dist/{feedback-VKXM7YJ5.js → feedback-CK3KZ7DE.js} +7 -7
- package/dist/{ffmpeg-TZB5WAYE.js → ffmpeg-MJFMBBSF.js} +2 -2
- package/dist/{figma-3UYNADNA.js → figma-3D5C737B.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-VH7VMRVX.js → get-QGTQUWFT.js} +2 -2
- package/dist/{gpuPolicy-M2JZGGVW.js → gpuPolicy-G5QAQDYF.js} +7 -7
- package/dist/{grade-compare-OSC2YQWN.js → grade-compare-XIHOM62P.js} +27 -27
- package/dist/{help-DCBFEZPT.js → help-U5UBXT52.js} +1 -1
- package/dist/{history-XYJMQE26.js → history-5J73QZSA.js} +5 -5
- package/dist/hyperframe-runtime.js +65 -58
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -58
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-YEHGENAH.js → info-RJHQQQUP.js} +8 -8
- package/dist/{init-64SML7PY.js → init-M6UQOYYC.js} +29 -29
- package/dist/{inspect-GFOQKRJI.js → inspect-PRQWDBTP.js} +26 -26
- package/dist/{installer-Q4MMZKLA.js → installer-ZL7UKYK5.js} +5 -5
- package/dist/{keyframes-ORYFWKBZ.js → keyframes-VMUJYTCQ.js} +6 -6
- package/dist/{lambda-DRMOJGTC.js → lambda-ON42DRQD.js} +5 -5
- package/dist/{layout-ZEQBE6UQ.js → layout-QKBFVDVY.js} +26 -26
- package/dist/{lint-67KGFY63.js → lint-ZQHHL2SV.js} +7 -7
- package/dist/{lintProject-SSEXWCH6.js → lintProject-3Z6OJCSO.js} +1 -1
- package/dist/{list-T6OU5ARJ.js → list-YBRKIWGF.js} +2 -2
- package/dist/{login-2PXIGDP7.js → login-4B2YXGLB.js} +4 -4
- package/dist/{manager-ES2UFT4X.js → manager-X44GKUEL.js} +3 -3
- package/dist/{manager-GWU5J6RJ.js → manager-ZLJD3EAY.js} +2 -2
- package/dist/{media-treatment-NAAHID6M.js → media-treatment-5C5EJAAP.js} +12 -12
- package/dist/{models-P6XB6RWK.js → models-R7ZDWBJ6.js} +13 -13
- package/dist/{motionShot-7MHRIV6V.js → motionShot-ZHESZNUL.js} +14 -14
- package/dist/{normalize-audio-LWNFYR2F.js → normalize-audio-EVWZVTBM.js} +6 -6
- package/dist/{open-DAP5C7UD.js → open-TV6HT4UT.js} +4 -4
- package/dist/{parakeetRunner-3ZVFPOD4.js → parakeetRunner-YVVF4CG6.js} +14 -14
- package/dist/{pipeline-V4YJCPUX.js → pipeline-ETR5SEBS.js} +9 -9
- package/dist/{play-UDCESJO3.js → play-C6WONRZV.js} +19 -19
- package/dist/{preflight-JOD4OXGC.js → preflight-JYOX64YP.js} +4 -4
- package/dist/{present-DXTHBH3F.js → present-RANXTVPA.js} +15 -15
- package/dist/{preview-YHXKRXKB.js → preview-KF6UMBT2.js} +19 -19
- package/dist/{producer-343ENLAM.js → producer-CY2GXBWN.js} +1 -1
- package/dist/{projectConfig-YXKU3CTB.js → projectConfig-KPXCNMBM.js} +7 -7
- package/dist/{publication-ODXP3JI7.js → publication-Y36N4A7E.js} +3 -3
- package/dist/{publish-UEFBFGV3.js → publish-RCQJO35C.js} +9 -9
- package/dist/{remove-background-FMV6IDOH.js → remove-background-3ZMXVWLB.js} +10 -10
- package/dist/{render-ZTXNPRGF.js → render-FKVRCDT2.js} +58 -35
- package/dist/{render-N7QGX6RJ.js → render-PTNEFO5U.js} +9 -9
- package/dist/{render-SYC4RPGT.js → render-WUSTRMUD.js} +4 -4
- package/dist/{render-batch-SZRPCRUJ.js → render-batch-AQHU2JWZ.js} +4 -4
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-7MYXNEAX.js → resolver-L5BDZJKU.js} +5 -5
- package/dist/{sherpa-M4Z2Q5Y2.js → sherpa-3S3ISG7G.js} +13 -13
- package/dist/skills/hyperframes/references/frame-worker-core.md +11 -9
- package/dist/skills/hyperframes/references/subagent-dispatch.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +175 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +24 -19
- package/dist/skills/media-use/references/grading.md +1 -2
- package/dist/skills/media-use/references/meta.md +17 -17
- package/dist/skills/media-use/references/operations.md +6 -6
- package/dist/skills/media-use/references/setup-providers.md +3 -4
- package/dist/skills/media-use/scripts/lib/cutlist.mjs +9 -2
- package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +12 -0
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +4 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +20 -0
- package/dist/skills/media-use/scripts/transcript-cut.mjs +23 -4
- package/dist/skills/media-use/scripts/transcript-cut.test.mjs +224 -0
- package/dist/{skills-NEHNSHZK.js → skills-X4WQEKNF.js} +5 -5
- package/dist/{skillsUpdateCheck-O77QR72A.js → skillsUpdateCheck-UYCVHDZ6.js} +3 -3
- package/dist/{snapshot-GDVXFBVY.js → snapshot-YEYHQEZQ.js} +252 -141
- package/dist/{src-VMTHSARJ.js → src-2NN2WB6X.js} +10 -6
- package/dist/{src-PTIV7IVV.js → src-OLBDPEG6.js} +8 -8
- package/dist/{staticProjectServer-3D2NXQ6W.js → staticProjectServer-7H35NMWB.js} +15 -15
- package/dist/studio/assets/{hyperframes-player-C-2YwYre.js → hyperframes-player-DJt8E7k4.js} +1 -1
- package/dist/studio/assets/{index-ByJU5J6n.js → index-BGks9KLI.js} +131 -131
- package/dist/studio/assets/{index-BybGk67U.js → index-DWIHrAY2.js} +1 -1
- package/dist/studio/assets/{index-Cfs2r3fz.js → index-DgbLblGR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-XIBDLRHB.js → studio-api-HGM2A5I3.js} +9 -9
- package/dist/{studioServer-QIQK47UN.js → studioServer-M6XFL7N6.js} +45 -45
- package/dist/{telemetry-565KDZUW.js → telemetry-KVCZKVTE.js} +3 -3
- package/dist/{timeline-E6XB7I6W.js → timeline-VYYKZR4V.js} +68 -15
- package/dist/{tokens-3ZAJENSE.js → tokens-B5NFFL55.js} +2 -2
- package/dist/{transcribe-XWQQCCBG.js → transcribe-SBETOIWI.js} +12 -12
- package/dist/{transcribe-WODP3T77.js → transcribe-WNFRYZAC.js} +18 -18
- package/dist/{updateCheck-QPYU4GRL.js → updateCheck-5MM2DFUC.js} +2 -2
- package/dist/{upgrade-2FJ5ZEN6.js → upgrade-LWID54R3.js} +2 -2
- package/dist/{urlDownloader-352AY25I.js → urlDownloader-CVLNXFDG.js} +6 -6
- package/dist/{validate-SP2VGNEI.js → validate-V4CGQ6OF.js} +20 -20
- package/dist/{video-RVNPFEA6.js → video-VJB2KRSS.js} +7 -7
- package/package.json +1 -1
- package/dist/chunk-3WD4JNMU.js +0 -3795
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setHostHandlesSigint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IZPN423R.js";
|
|
10
10
|
import {
|
|
11
11
|
processAncestorSnapshot,
|
|
12
12
|
processIdentity,
|
|
13
13
|
processParentPid
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YIJMVFEJ.js";
|
|
15
15
|
import {
|
|
16
16
|
processIsAlive
|
|
17
17
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BRF3O35X.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3ZPFRDEJ.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FAIYEIZ4.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeWellFormedEscapes
|
|
27
27
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZD3RDNZI.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IZ7L6V76.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GNTVYF7E.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
EncoderInterruptedError,
|
|
17
17
|
encoderFailureError,
|
|
18
18
|
prepareAnimatedGifInputs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XYHBVSWD.js";
|
|
20
20
|
import {
|
|
21
21
|
createStudioPositionSeekReapplyScript
|
|
22
22
|
} from "./chunk-EOOEC32M.js";
|
|
@@ -114,6 +114,7 @@ import {
|
|
|
114
114
|
packageHls,
|
|
115
115
|
parseAudioElements,
|
|
116
116
|
parseImageElements,
|
|
117
|
+
parseMasterFxChain,
|
|
117
118
|
parseTransformMatrix,
|
|
118
119
|
parseVideoElements,
|
|
119
120
|
prepareCaptureSessionForReuse,
|
|
@@ -146,7 +147,7 @@ import {
|
|
|
146
147
|
validateEngineConfigSnapshot,
|
|
147
148
|
verifyDiskDrawElementSamples,
|
|
148
149
|
writeCapturedFrame
|
|
149
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-IZPN423R.js";
|
|
150
151
|
import {
|
|
151
152
|
assignBundledRuntimeCompositionIds,
|
|
152
153
|
buildVariablesByCompScript,
|
|
@@ -159,7 +160,7 @@ import {
|
|
|
159
160
|
isTemplateEntry,
|
|
160
161
|
parsesAsScript,
|
|
161
162
|
prepareFlattenedInnerRoot
|
|
162
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-3SVC7SW4.js";
|
|
163
164
|
import {
|
|
164
165
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
165
166
|
getCgroupMemoryLimitMb,
|
|
@@ -170,17 +171,20 @@ import {
|
|
|
170
171
|
MEDIA_START_BASIS_ATTR,
|
|
171
172
|
chainCapture,
|
|
172
173
|
clearGifFramesBeforeNext,
|
|
174
|
+
compositionOriginSeconds,
|
|
175
|
+
cutToHostSlots,
|
|
173
176
|
fpsToFfmpegArg,
|
|
174
177
|
fpsToNumber,
|
|
175
178
|
gifClearsAfterLeavingFrameInPlace,
|
|
176
179
|
gsapCdnDist,
|
|
180
|
+
hostInPointSeconds,
|
|
177
181
|
parseFps,
|
|
178
182
|
parseVfxChain,
|
|
179
183
|
readMediaStartBasis,
|
|
180
184
|
resolveAbsoluteMediaStartSeconds,
|
|
181
185
|
resolveAuthoredTimingWindow,
|
|
182
186
|
toFps
|
|
183
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-XQKVEQNY.js";
|
|
184
188
|
import {
|
|
185
189
|
COMPOSITION_SOURCE_URL,
|
|
186
190
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -204,13 +208,14 @@ import {
|
|
|
204
208
|
readDeclaredDefaults,
|
|
205
209
|
readMediaStart,
|
|
206
210
|
resolveNaturalMediaTimelineDurationFromValues,
|
|
211
|
+
shiftRateLane,
|
|
207
212
|
shouldClampResolvedMediaDuration,
|
|
208
213
|
sourceTimeAt,
|
|
209
214
|
styleElementsFor
|
|
210
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-QBYHNRHU.js";
|
|
211
216
|
import {
|
|
212
217
|
MAX_AUDIO_GAIN
|
|
213
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-UJKQWGFF.js";
|
|
214
219
|
import {
|
|
215
220
|
CANVAS_DIMENSIONS,
|
|
216
221
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -231,7 +236,7 @@ import {
|
|
|
231
236
|
} from "./chunk-TWWSYAKJ.js";
|
|
232
237
|
import {
|
|
233
238
|
lintHyperframeHtml
|
|
234
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-GNTVYF7E.js";
|
|
235
240
|
import {
|
|
236
241
|
isUnresolvedAssetPlaceholder,
|
|
237
242
|
readProjectFile,
|
|
@@ -4420,7 +4425,8 @@ function computeSegmentPlanHash(input) {
|
|
|
4420
4425
|
input.imageFormat,
|
|
4421
4426
|
input.useGpu ? "gpu" : "cpu",
|
|
4422
4427
|
`${input.outputWidth}x${input.outputHeight}`,
|
|
4423
|
-
input.motionBlur
|
|
4428
|
+
input.motionBlur,
|
|
4429
|
+
input.captureQuality === void 0 ? "" : String(input.captureQuality)
|
|
4424
4430
|
].join(" ");
|
|
4425
4431
|
return createHash2("sha256").update(ordered).digest("hex").slice(0, 16);
|
|
4426
4432
|
}
|
|
@@ -5258,7 +5264,6 @@ import { createReadStream as createReadStream2, existsSync as existsSync9, mkdir
|
|
|
5258
5264
|
import { join as join12, dirname as dirname5, resolve as resolve5, basename as basename4, relative as relative2 } from "path";
|
|
5259
5265
|
|
|
5260
5266
|
// ../producer/src/services/renderMediaCollector.ts
|
|
5261
|
-
var COMPOSITION_HOST_ATTR = "data-composition-file";
|
|
5262
5267
|
function resolveHostEnd(host, hostStart) {
|
|
5263
5268
|
return resolveAuthoredTimingWindow({
|
|
5264
5269
|
start: hostStart,
|
|
@@ -5266,39 +5271,52 @@ function resolveHostEnd(host, hostStart) {
|
|
|
5266
5271
|
end: host.getAttribute("data-end")
|
|
5267
5272
|
})?.end ?? null;
|
|
5268
5273
|
}
|
|
5269
|
-
var ROOT_WINDOW = { offset: 0, limit: Infinity, basis: "local" };
|
|
5270
|
-
|
|
5274
|
+
var ROOT_WINDOW = { offset: 0, limit: Infinity, basis: "local", slots: [] };
|
|
5275
|
+
var COMPOSITION_HOST_SELECTOR = "[data-composition-id], [data-composition-src], [data-composition-file]";
|
|
5276
|
+
function enclosingHosts(element) {
|
|
5271
5277
|
const hosts = [];
|
|
5272
5278
|
for (let ancestor = element.parentElement; ancestor; ancestor = ancestor.parentElement) {
|
|
5273
|
-
if (ancestor.
|
|
5279
|
+
if (ancestor.matches(COMPOSITION_HOST_SELECTOR)) {
|
|
5280
|
+
hosts.unshift(ancestor);
|
|
5281
|
+
}
|
|
5274
5282
|
}
|
|
5283
|
+
return hosts;
|
|
5284
|
+
}
|
|
5285
|
+
function resolveHostWindow(element, document2, startCache, visiting) {
|
|
5286
|
+
const hosts = enclosingHosts(element);
|
|
5275
5287
|
if (hosts.length === 0) return ROOT_WINDOW;
|
|
5276
5288
|
let offset = 0;
|
|
5277
5289
|
let limit = Infinity;
|
|
5278
|
-
|
|
5290
|
+
const slots = [];
|
|
5291
|
+
for (const [index, host] of hosts.entries()) {
|
|
5279
5292
|
const hostStart = resolveReferencedStart(document2, host, startCache, visiting);
|
|
5280
5293
|
const hostEnd = resolveHostEnd(host, hostStart);
|
|
5281
|
-
if (hostEnd != null
|
|
5282
|
-
|
|
5294
|
+
if (hostEnd != null && !isRootComposition(host, index)) {
|
|
5295
|
+
limit = Math.min(limit, offset + hostEnd);
|
|
5296
|
+
}
|
|
5297
|
+
if (hostInPointSeconds(host) > 0) {
|
|
5298
|
+
slots.push({ start: offset + hostStart, end: offset + (hostEnd ?? Infinity) });
|
|
5299
|
+
}
|
|
5300
|
+
offset += compositionOriginSeconds(hostStart, host);
|
|
5283
5301
|
}
|
|
5302
|
+
return { offset, limit, basis: mediaStartBasis(element), slots };
|
|
5303
|
+
}
|
|
5304
|
+
var isRootComposition = (host, depth) => depth === 0 && !host.matches("[data-composition-src], [data-composition-file]");
|
|
5305
|
+
function mediaStartBasis(element) {
|
|
5284
5306
|
const tag = element.tagName.toLowerCase();
|
|
5285
|
-
|
|
5286
|
-
return {
|
|
5287
|
-
offset,
|
|
5288
|
-
limit,
|
|
5289
|
-
basis
|
|
5290
|
-
};
|
|
5307
|
+
return tag === "video" || tag === "audio" ? readMediaStartBasis(element.getAttribute(MEDIA_START_BASIS_ATTR)) : "local";
|
|
5291
5308
|
}
|
|
5292
5309
|
function collectHostWindows(html) {
|
|
5293
5310
|
const { document: document2 } = parseHTML(html);
|
|
5294
5311
|
const windows = /* @__PURE__ */ new Map();
|
|
5295
5312
|
const startCache = /* @__PURE__ */ new Map();
|
|
5296
5313
|
const visiting = /* @__PURE__ */ new Set();
|
|
5297
|
-
for (const element of document2.querySelectorAll(
|
|
5314
|
+
for (const element of document2.querySelectorAll("video, audio, img[src]")) {
|
|
5298
5315
|
const renderId = element.getAttribute(MEDIA_RENDER_ID_ATTR);
|
|
5299
|
-
|
|
5316
|
+
const id = renderId || element.getAttribute("id");
|
|
5317
|
+
if (!id || !renderId && windows.has(id)) continue;
|
|
5300
5318
|
windows.set(
|
|
5301
|
-
|
|
5319
|
+
id,
|
|
5302
5320
|
resolveHostWindow(element, document2, startCache, visiting)
|
|
5303
5321
|
);
|
|
5304
5322
|
}
|
|
@@ -5316,34 +5334,59 @@ function toAbsoluteWindow(start, end, window2) {
|
|
|
5316
5334
|
hostStart: window2.offset,
|
|
5317
5335
|
basis: window2.basis
|
|
5318
5336
|
});
|
|
5319
|
-
|
|
5337
|
+
const absolute = { start: absoluteStart, end: Math.min(absoluteEnd, window2.limit) };
|
|
5338
|
+
const played = cutToHostSlots(absolute, window2.slots);
|
|
5339
|
+
if (played.end === played.start && absolute.end > absolute.start) return null;
|
|
5340
|
+
return { start: absolute.start, end: played.end, played };
|
|
5341
|
+
}
|
|
5342
|
+
function startAtPlayed(clip, played) {
|
|
5343
|
+
const head = played.start - clip.start;
|
|
5344
|
+
if (head <= 0) return clip;
|
|
5345
|
+
if ("loop" in clip && clip.loop) return { ...clip, start: played.start };
|
|
5346
|
+
const rate = normalizeRateSpec(clip.playbackRate);
|
|
5347
|
+
return {
|
|
5348
|
+
...clip,
|
|
5349
|
+
start: played.start,
|
|
5350
|
+
mediaStart: clip.mediaStart + sourceTimeAt(rate, head),
|
|
5351
|
+
playbackRate: shiftRateLane(rate, head)
|
|
5352
|
+
};
|
|
5320
5353
|
}
|
|
5321
5354
|
function collectRenderMedia(html) {
|
|
5322
5355
|
const windows = collectHostWindows(html);
|
|
5323
5356
|
const windowFor = (id) => windows.get(id) ?? ROOT_WINDOW;
|
|
5357
|
+
const droppedMediaIds = /* @__PURE__ */ new Set();
|
|
5324
5358
|
const videos = [];
|
|
5325
5359
|
for (const video of parseVideoElements(html)) {
|
|
5326
5360
|
const absolute = toAbsoluteWindow(video.start, video.end, windowFor(video.id));
|
|
5327
|
-
if (absolute)
|
|
5361
|
+
if (!absolute) {
|
|
5362
|
+
droppedMediaIds.add(video.id);
|
|
5363
|
+
continue;
|
|
5364
|
+
}
|
|
5365
|
+
videos.push(
|
|
5366
|
+
startAtPlayed({ ...video, start: absolute.start, end: absolute.end }, absolute.played)
|
|
5367
|
+
);
|
|
5328
5368
|
}
|
|
5329
5369
|
const images = [];
|
|
5330
5370
|
for (const image of parseImageElements(html)) {
|
|
5331
5371
|
const absolute = toAbsoluteWindow(image.start, image.end, windowFor(image.id));
|
|
5332
|
-
if (absolute) images.push({ ...image,
|
|
5372
|
+
if (absolute) images.push({ ...image, start: absolute.start, end: absolute.end });
|
|
5373
|
+
else droppedMediaIds.add(image.id);
|
|
5333
5374
|
}
|
|
5334
5375
|
const audios = [];
|
|
5335
5376
|
for (const audio of parseAudioElements(html)) {
|
|
5336
5377
|
const elementId = audio.type === "video" ? audio.id.replace(/-audio$/, "") : audio.id;
|
|
5337
|
-
const
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
audios.push({
|
|
5341
|
-
...audio,
|
|
5342
|
-
start: absolute.start,
|
|
5343
|
-
end: Number.isFinite(absolute.end) ? absolute.end : 0
|
|
5344
|
-
});
|
|
5378
|
+
const placed = placeAudio(audio, windowFor(elementId));
|
|
5379
|
+
if (placed) audios.push(placed);
|
|
5380
|
+
else droppedMediaIds.add(elementId);
|
|
5345
5381
|
}
|
|
5346
|
-
return { videos, audios, images };
|
|
5382
|
+
return { videos, audios, images, droppedMediaIds };
|
|
5383
|
+
}
|
|
5384
|
+
function placeAudio(audio, window2) {
|
|
5385
|
+
const authoredEnd = audio.end > 0 ? audio.end : Infinity;
|
|
5386
|
+
const absolute = toAbsoluteWindow(audio.start, authoredEnd, window2);
|
|
5387
|
+
if (!absolute) return null;
|
|
5388
|
+
const end = Number.isFinite(absolute.end) ? absolute.end : 0;
|
|
5389
|
+
return startAtPlayed({ ...audio, start: absolute.start, end }, absolute.played);
|
|
5347
5390
|
}
|
|
5348
5391
|
|
|
5349
5392
|
// ../core/dist/generated/position-edits-render-inline.js
|
|
@@ -6714,7 +6757,8 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
6714
6757
|
for (const [relPath, absPath] of preparedGifAssets) {
|
|
6715
6758
|
externalAssets.set(relPath, absPath);
|
|
6716
6759
|
}
|
|
6717
|
-
const { videos, audios, images } = collectRenderMedia(html);
|
|
6760
|
+
const { videos, audios, images, droppedMediaIds } = collectRenderMedia(html);
|
|
6761
|
+
const masterFxChain = parseMasterFxChain(html);
|
|
6718
6762
|
for (const video of videos) {
|
|
6719
6763
|
if (isHttpUrl(video.src)) continue;
|
|
6720
6764
|
const videoPath = resolve5(projectDir, video.src);
|
|
@@ -6748,6 +6792,8 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
6748
6792
|
videos,
|
|
6749
6793
|
audios,
|
|
6750
6794
|
images,
|
|
6795
|
+
droppedMediaIds,
|
|
6796
|
+
...masterFxChain ? { masterFxChain } : {},
|
|
6751
6797
|
unresolvedCompositions,
|
|
6752
6798
|
externalAssets,
|
|
6753
6799
|
width,
|
|
@@ -7180,6 +7226,7 @@ async function runCompileStage(input) {
|
|
|
7180
7226
|
videos: compiled.videos,
|
|
7181
7227
|
audios: compiled.audios,
|
|
7182
7228
|
images: compiled.images,
|
|
7229
|
+
masterFxChain: compiled.masterFxChain,
|
|
7183
7230
|
width: compiled.width,
|
|
7184
7231
|
height: compiled.height
|
|
7185
7232
|
};
|
|
@@ -7243,6 +7290,9 @@ function isActionableProbeFailure(line) {
|
|
|
7243
7290
|
function resolveCaptureImageFormat(input) {
|
|
7244
7291
|
return input.needsAlpha || input.motionBlur ? "png" : "jpeg";
|
|
7245
7292
|
}
|
|
7293
|
+
function resolveCaptureJpegQuality(quality) {
|
|
7294
|
+
return quality === "draft" ? 80 : 100;
|
|
7295
|
+
}
|
|
7246
7296
|
|
|
7247
7297
|
// ../producer/src/services/render/stages/probeStage.ts
|
|
7248
7298
|
var FRAME_BOUNDARY_EPSILON = 1e-3;
|
|
@@ -7276,6 +7326,26 @@ function hasVariableBoundMedia(html, variables) {
|
|
|
7276
7326
|
return Boolean(variableId && Object.hasOwn(variables, variableId));
|
|
7277
7327
|
});
|
|
7278
7328
|
}
|
|
7329
|
+
function authoredMediaStarts(html) {
|
|
7330
|
+
const { document: document2 } = parseHTML(html);
|
|
7331
|
+
const starts = /* @__PURE__ */ new Map();
|
|
7332
|
+
for (const media of document2.querySelectorAll("video, audio")) {
|
|
7333
|
+
const id = media.getAttribute(MEDIA_RENDER_ID_ATTR) || media.getAttribute("id");
|
|
7334
|
+
if (id && !starts.has(id)) starts.set(id, readMediaStart(media));
|
|
7335
|
+
}
|
|
7336
|
+
return starts;
|
|
7337
|
+
}
|
|
7338
|
+
function adoptRuntimeMediaStart(composition, el, authored) {
|
|
7339
|
+
const shift = el.mediaStart - authored;
|
|
7340
|
+
if (el.mediaStart <= 0 || Math.abs(shift) <= BROWSER_MEDIA_EPSILON) return;
|
|
7341
|
+
const entries = el.tagName === "video" ? [
|
|
7342
|
+
...composition.videos.filter((video) => video.id === el.id),
|
|
7343
|
+
...composition.audios.filter(
|
|
7344
|
+
(audio) => audio.type === "video" && audio.id === `${el.id}-audio`
|
|
7345
|
+
)
|
|
7346
|
+
] : composition.audios.filter((audio) => audio.type !== "video" && audio.id === el.id);
|
|
7347
|
+
for (const entry of entries) entry.mediaStart += shift;
|
|
7348
|
+
}
|
|
7279
7349
|
function reconcileBrowserMediaEnd(existingEnd, projectedEnd, sourceChanged, durationInferred) {
|
|
7280
7350
|
if (projectedEnd <= 0) return existingEnd;
|
|
7281
7351
|
if (sourceChanged && durationInferred) return projectedEnd;
|
|
@@ -7378,7 +7448,7 @@ async function runProbeStage(input) {
|
|
|
7378
7448
|
height,
|
|
7379
7449
|
fps: job.config.fps,
|
|
7380
7450
|
format: captureFormat,
|
|
7381
|
-
quality: captureFormat === "png" ? void 0 :
|
|
7451
|
+
quality: captureFormat === "png" ? void 0 : resolveCaptureJpegQuality(job.config.quality),
|
|
7382
7452
|
variables: job.config.variables,
|
|
7383
7453
|
deviceScaleFactor,
|
|
7384
7454
|
motionBlur,
|
|
@@ -7529,6 +7599,7 @@ async function runProbeStage(input) {
|
|
|
7529
7599
|
const existingVideoIds = new Set(composition.videos.map((v) => v.id));
|
|
7530
7600
|
const existingAudioIds = new Set(composition.audios.map((a) => a.id));
|
|
7531
7601
|
const existingImageIds = new Set(composition.images.map((image) => image.id));
|
|
7602
|
+
const authoredStarts = authoredMediaStarts(compiled.html);
|
|
7532
7603
|
pruneMutedBrowserMedia(composition, browserMedia, existingAudioIds);
|
|
7533
7604
|
for (const el of browserMedia) {
|
|
7534
7605
|
if (!el.src || el.src === "about:blank") continue;
|
|
@@ -7556,9 +7627,11 @@ async function runProbeStage(input) {
|
|
|
7556
7627
|
sourceChanged,
|
|
7557
7628
|
el.durationInferred
|
|
7558
7629
|
);
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7630
|
+
adoptRuntimeMediaStart(
|
|
7631
|
+
composition,
|
|
7632
|
+
el,
|
|
7633
|
+
authoredStarts.get(el.id) ?? existing.mediaStart
|
|
7634
|
+
);
|
|
7562
7635
|
if (el.hasAudio && !el.muted && !existing.hasAudio) {
|
|
7563
7636
|
existing.hasAudio = true;
|
|
7564
7637
|
}
|
|
@@ -7566,7 +7639,7 @@ async function runProbeStage(input) {
|
|
|
7566
7639
|
existing.loop = true;
|
|
7567
7640
|
}
|
|
7568
7641
|
}
|
|
7569
|
-
} else {
|
|
7642
|
+
} else if (!compiled.droppedMediaIds.has(el.id)) {
|
|
7570
7643
|
composition.videos.push({
|
|
7571
7644
|
id: el.id,
|
|
7572
7645
|
src,
|
|
@@ -7597,14 +7670,16 @@ async function runProbeStage(input) {
|
|
|
7597
7670
|
sourceChanged,
|
|
7598
7671
|
el.durationInferred
|
|
7599
7672
|
);
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7673
|
+
adoptRuntimeMediaStart(
|
|
7674
|
+
composition,
|
|
7675
|
+
el,
|
|
7676
|
+
authoredStarts.get(el.id) ?? existing.mediaStart
|
|
7677
|
+
);
|
|
7603
7678
|
if (el.volume > 0 && Math.abs((existing.volume ?? 1) - el.volume) > BROWSER_MEDIA_EPSILON) {
|
|
7604
7679
|
existing.volume = el.volume;
|
|
7605
7680
|
}
|
|
7606
7681
|
}
|
|
7607
|
-
} else {
|
|
7682
|
+
} else if (!compiled.droppedMediaIds.has(el.id)) {
|
|
7608
7683
|
composition.audios.push({
|
|
7609
7684
|
id: el.id,
|
|
7610
7685
|
src,
|
|
@@ -7632,7 +7707,7 @@ async function runProbeStage(input) {
|
|
|
7632
7707
|
existing.end = projectedEnd;
|
|
7633
7708
|
}
|
|
7634
7709
|
}
|
|
7635
|
-
} else {
|
|
7710
|
+
} else if (!compiled.droppedMediaIds.has(el.id)) {
|
|
7636
7711
|
composition.images.push({
|
|
7637
7712
|
id: el.id,
|
|
7638
7713
|
src,
|
|
@@ -8230,6 +8305,7 @@ async function runAudioStage(input) {
|
|
|
8230
8305
|
ffmpegProcessTimeout,
|
|
8231
8306
|
audioGain,
|
|
8232
8307
|
audios,
|
|
8308
|
+
masterFxChain,
|
|
8233
8309
|
abortSignal,
|
|
8234
8310
|
assertNotAborted,
|
|
8235
8311
|
log
|
|
@@ -8249,7 +8325,7 @@ async function runAudioStage(input) {
|
|
|
8249
8325
|
audioOutputPath,
|
|
8250
8326
|
duration,
|
|
8251
8327
|
abortSignal,
|
|
8252
|
-
{ ffmpegProcessTimeout, audioGain },
|
|
8328
|
+
{ ffmpegProcessTimeout, audioGain, masterFxChain },
|
|
8253
8329
|
compiledDir
|
|
8254
8330
|
);
|
|
8255
8331
|
} catch (err) {
|
|
@@ -8321,13 +8397,16 @@ function shouldAllowAdaptiveCaptureRetry(workerCount, _explicitlyConfigured) {
|
|
|
8321
8397
|
return workerCount > 1;
|
|
8322
8398
|
}
|
|
8323
8399
|
var JPEG_RAW_RGBA_DIVISOR = 8;
|
|
8400
|
+
var HIGH_QUALITY_JPEG_RAW_RGBA_DIVISOR = 4;
|
|
8324
8401
|
var DISK_PROJECTION_SAMPLE_FRAMES = 10;
|
|
8325
8402
|
function estimateDiskCaptureBytes(totalFrames, captureOptions) {
|
|
8326
8403
|
const scale = captureOptions.deviceScaleFactor ?? 1;
|
|
8327
8404
|
const outputWidth = Math.ceil(captureOptions.width * scale);
|
|
8328
8405
|
const outputHeight = Math.ceil(captureOptions.height * scale);
|
|
8329
8406
|
const rawBytes = Math.ceil(totalFrames) * outputWidth * outputHeight * 4;
|
|
8330
|
-
return frameFileExtension(captureOptions.format) === "jpg" ? Math.ceil(
|
|
8407
|
+
return frameFileExtension(captureOptions.format) === "jpg" ? Math.ceil(
|
|
8408
|
+
rawBytes / ((captureOptions.quality ?? 80) > 80 ? HIGH_QUALITY_JPEG_RAW_RGBA_DIVISOR : JPEG_RAW_RGBA_DIVISOR)
|
|
8409
|
+
) : rawBytes;
|
|
8331
8410
|
}
|
|
8332
8411
|
function freeDiskBytesAt(path) {
|
|
8333
8412
|
try {
|
|
@@ -11658,6 +11737,7 @@ async function executeRenderPipeline(input) {
|
|
|
11658
11737
|
ffmpegProcessTimeout: cfg.ffmpegProcessTimeout,
|
|
11659
11738
|
audioGain: cfg.audioGain,
|
|
11660
11739
|
audios: composition.audios,
|
|
11740
|
+
masterFxChain: composition.masterFxChain,
|
|
11661
11741
|
abortSignal: executionSignal,
|
|
11662
11742
|
assertNotAborted,
|
|
11663
11743
|
log
|
|
@@ -11742,7 +11822,7 @@ async function executeRenderPipeline(input) {
|
|
|
11742
11822
|
height,
|
|
11743
11823
|
fps: job.config.fps,
|
|
11744
11824
|
format: captureImageFormat,
|
|
11745
|
-
quality: captureImageFormat === "png" ? void 0 : job.config.quality
|
|
11825
|
+
quality: captureImageFormat === "png" ? void 0 : resolveCaptureJpegQuality(job.config.quality),
|
|
11746
11826
|
variables: job.config.variables,
|
|
11747
11827
|
deviceScaleFactor,
|
|
11748
11828
|
motionBlur: job.config.motionBlur,
|
|
@@ -12370,7 +12450,8 @@ async function executeRenderPipeline(input) {
|
|
|
12370
12450
|
// Device-scaled: the capture buffer, not the CSS composition size.
|
|
12371
12451
|
outputWidth: captureCompositionWidth ?? width,
|
|
12372
12452
|
outputHeight: captureCompositionHeight ?? height,
|
|
12373
|
-
motionBlur: job.config.motionBlur ? JSON.stringify(job.config.motionBlur) : ""
|
|
12453
|
+
motionBlur: job.config.motionBlur ? JSON.stringify(job.config.motionBlur) : "",
|
|
12454
|
+
captureQuality: captureOptions.quality
|
|
12374
12455
|
});
|
|
12375
12456
|
const segmentDir = segmentDirFor(join25(projectDir, "renders"), segmentPlanHash);
|
|
12376
12457
|
let completedSegments = /* @__PURE__ */ new Set();
|
|
@@ -14320,7 +14401,7 @@ function startServer(options = {}) {
|
|
|
14320
14401
|
});
|
|
14321
14402
|
async function shutdown(signal) {
|
|
14322
14403
|
log.info(`Received ${signal}, shutting down`);
|
|
14323
|
-
const { drainBrowserPool } = await import("./src-
|
|
14404
|
+
const { drainBrowserPool } = await import("./src-2NN2WB6X.js");
|
|
14324
14405
|
await drainBrowserPool().catch(() => {
|
|
14325
14406
|
});
|
|
14326
14407
|
const handle = await Promise.race([
|
|
@@ -15506,7 +15587,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15506
15587
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15507
15588
|
if (probeResult.probeSession) {
|
|
15508
15589
|
try {
|
|
15509
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15590
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-2NN2WB6X.js");
|
|
15510
15591
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15511
15592
|
} catch (err) {
|
|
15512
15593
|
log.warn("[plan] probe session close failed", {
|
|
@@ -15544,6 +15625,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15544
15625
|
ffmpegProcessTimeout: cfg.ffmpegProcessTimeout,
|
|
15545
15626
|
audioGain: cfg.audioGain,
|
|
15546
15627
|
audios: composition.audios,
|
|
15628
|
+
masterFxChain: composition.masterFxChain,
|
|
15547
15629
|
abortSignal,
|
|
15548
15630
|
assertNotAborted
|
|
15549
15631
|
});
|
|
@@ -17147,7 +17229,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath) {
|
|
|
17147
17229
|
height: plan2.dimensions.height,
|
|
17148
17230
|
fps: { num: plan2.dimensions.fpsNum, den: plan2.dimensions.fpsDen },
|
|
17149
17231
|
format: plan2.dimensions.format === "mp4" ? "jpeg" : "png",
|
|
17150
|
-
quality: plan2.dimensions.format === "mp4" ?
|
|
17232
|
+
quality: plan2.dimensions.format === "mp4" ? resolveCaptureJpegQuality(job.config.quality) : void 0,
|
|
17151
17233
|
deviceScaleFactor: encoder.deviceScaleFactor,
|
|
17152
17234
|
// Re-inject the controller's snapshotted variables so the chunk's
|
|
17153
17235
|
// first capture sees the same `window.__hfVariables` the in-process
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YZTVHRJ2.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XQKVEQNY.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -6,21 +6,21 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IPDS2SWI.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DIOBKUBV.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QF7AE3DB.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KQGWP4KH.js";
|
|
24
24
|
import {
|
|
25
25
|
formatSrt,
|
|
26
26
|
formatVtt,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_MODEL,
|
|
32
32
|
isWhisperUnavailable
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YG2Y55KF.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
36
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZD3RDNZI.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IZ7L6V76.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-XBSPQ52S.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-OXRG57F2.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-MJFMBBSF.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TCWMDCBX.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|