hyperframes 0.8.180 → 0.8.181
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-HUVEWSVU.js → add-AWQ2EGBU.js} +5 -5
- package/dist/{animatedGifPrep-V6GJQOEB.js → animatedGifPrep-SENXJ7TN.js} +2 -2
- package/dist/api.js +10 -10
- package/dist/{asset-ZGQHDMIO.js → asset-XBH3MN3Y.js} +2 -2
- package/dist/{assetCataloger-MZWCOV6C.js → assetCataloger-KH4X2CRO.js} +2 -2
- package/dist/{audio-XDWHLNIW.js → audio-Q7I473UN.js} +7 -7
- package/dist/{auth-VIV3M7S6.js → auth-I7CBTEUS.js} +1 -1
- package/dist/{autoUpdate-R32XDL42.js → autoUpdate-KY5TLSN7.js} +2 -2
- package/dist/{backgroundChecks-A2N6EVCP.js → backgroundChecks-4Q3VVK5W.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-2O423Z6Q.js → beats-P4LENNVT.js} +4 -4
- package/dist/{benchmark-YXP3PTZP.js → benchmark-AXOAECN3.js} +6 -6
- package/dist/{browser-M47BNOTJ.js → browser-XZKB5HGJ.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-GCIHOMIU.js → bundleWithLocalizedFonts-2WCR57IN.js} +1 -1
- package/dist/{capture-BT2ZXN5P.js → capture-4RN4APDF.js} +5 -5
- package/dist/{capture-IV3Y2MT4.js → capture-NWARHRHR.js} +2 -2
- package/dist/{captureCompositionFrame-BMZEKPOU.js → captureCompositionFrame-QOF5BRF4.js} +5 -5
- package/dist/{catalog-GI6P22KI.js → catalog-CRPOPVD5.js} +5 -5
- package/dist/{catch-up-QS6HUHAO.js → catch-up-MHWGUQ42.js} +4 -4
- package/dist/{check-HE5E4Q7Q.js → check-DJCUOUDI.js} +18 -18
- package/dist/{checkBrowser-BHLYP3YW.js → checkBrowser-VES2NF3K.js} +15 -15
- package/dist/{chunk-3QENZQSL.js → chunk-3PULCIY5.js} +1 -1
- package/dist/{chunk-KZ3VI5K6.js → chunk-3XDOGSRD.js} +3 -3
- package/dist/{chunk-AMX53HVX.js → chunk-4OT3FWVV.js} +2 -2
- package/dist/{chunk-L527FLMV.js → chunk-4USWWI2Y.js} +1 -1
- package/dist/{chunk-2JDLESMS.js → chunk-55IG255C.js} +1 -1
- package/dist/{chunk-R46P7TGY.js → chunk-5E5EYPZO.js} +1 -1
- package/dist/{chunk-F5VMPELS.js → chunk-5JMZLQT6.js} +5 -5
- package/dist/{chunk-VARUKXOZ.js → chunk-65WIUIHL.js} +3 -3
- package/dist/{chunk-BI52RNRW.js → chunk-6I7V6Q7F.js} +1 -1
- package/dist/{chunk-Y5APFFMD.js → chunk-AOWDVB2T.js} +1 -1
- package/dist/{chunk-A3NFBMYX.js → chunk-B6JLCPT3.js} +3 -3
- package/dist/{chunk-3YXTFXT7.js → chunk-DJJ7SK4F.js} +2 -2
- package/dist/{chunk-VE3OKVSD.js → chunk-DUN63LHY.js} +1 -1
- package/dist/{chunk-Q2ASTBSG.js → chunk-EOADENKV.js} +1 -1
- package/dist/{chunk-MPWLGNM2.js → chunk-GNE57O7U.js} +1 -1
- package/dist/{chunk-G2ZMCNRN.js → chunk-HODBPO4A.js} +80 -22
- package/dist/{chunk-ULWZYLCV.js → chunk-IL3GTCQY.js} +1 -1
- package/dist/{chunk-VKMP3IVR.js → chunk-JMFJI26U.js} +1 -1
- package/dist/{chunk-K7RGIADJ.js → chunk-K26FR4SM.js} +1 -1
- package/dist/{chunk-7Z6AARJR.js → chunk-N5SXQCJL.js} +2 -2
- package/dist/{chunk-NOXGG4C7.js → chunk-O5AE7HOP.js} +7 -7
- package/dist/{chunk-55P7GDT6.js → chunk-OJDXABUF.js} +1 -1
- package/dist/{chunk-65CLIHK2.js → chunk-OJTDUF4W.js} +1 -1
- package/dist/{chunk-XO6CWU7D.js → chunk-PF7OWVTL.js} +1 -1
- package/dist/{chunk-MQOE5RE4.js → chunk-T7UHTUUE.js} +1 -1
- package/dist/{chunk-4J7DHVN2.js → chunk-UIDZRCBG.js} +1 -1
- package/dist/{chunk-HFZ4UILX.js → chunk-V2UNZ7QP.js} +5 -5
- package/dist/{chunk-2VJNKE7C.js → chunk-VAJIPSN6.js} +1 -1
- package/dist/{chunk-V6MQP32U.js → chunk-WITHUCCB.js} +2 -2
- package/dist/{chunk-FCUTQM2P.js → chunk-WUUCEFL5.js} +3 -3
- package/dist/{chunk-NXYBR4QX.js → chunk-X7CCSMRR.js} +8 -8
- package/dist/{chunk-LL5VQ4WS.js → chunk-XEWHUPFS.js} +2 -2
- package/dist/{chunk-ZJPCQBU7.js → chunk-XSRUVMXK.js} +1 -1
- package/dist/{chunk-ST2ARHQ5.js → chunk-Y2RXRPL2.js} +5 -5
- package/dist/{chunk-RGXAN3YU.js → chunk-Y5GY6Y7A.js} +1 -1
- package/dist/{chunk-SEMOZNVE.js → chunk-YMS6CJCD.js} +1 -1
- package/dist/{chunk-W4SLIGGM.js → chunk-YPBIAONI.js} +31 -11
- package/dist/{chunk-K3KANDZQ.js → chunk-ZUOSILUE.js} +1 -1
- package/dist/{clean-TQOW24OF.js → clean-GJNDVVDI.js} +7 -7
- package/dist/cli.js +51 -51
- package/dist/{cloud-7TOVPUMY.js → cloud-JCWNMKXC.js} +4 -4
- package/dist/{compare-WDV3Q6WC.js → compare-XWM7FAYM.js} +9 -9
- package/dist/{component-U66GBIUO.js → component-CBRAE325.js} +3 -3
- package/dist/{compositions-Y63YGLCE.js → compositions-EZYJEHQ3.js} +6 -6
- package/dist/{delete-TBAIAD7M.js → delete-JWWMOITI.js} +2 -2
- package/dist/{deploy-BIWOSWS3.js → deploy-UGOV76OH.js} +1 -1
- package/dist/{doctor-GC4REGB6.js → doctor-XSKSZRR7.js} +6 -6
- package/dist/{events-PUUP24FT.js → events-AIZODZMP.js} +3 -3
- package/dist/{events-4NMQVUZR.js → events-RGS4MAH4.js} +2 -2
- package/dist/{feedback-BIDXK7TE.js → feedback-GE3VDZOH.js} +4 -4
- package/dist/{ffmpeg-2VJDEWQQ.js → ffmpeg-SCXZTR6X.js} +2 -2
- package/dist/{figma-THMXYLMU.js → figma-3R4XST4Y.js} +3 -3
- package/dist/fontLocalizeCli.js +4 -4
- package/dist/{get-5T4B7ERH.js → get-4FKJP6IM.js} +2 -2
- package/dist/{gpuPolicy-GLUATV5I.js → gpuPolicy-4NNXESM7.js} +2 -2
- package/dist/{grade-compare-2A65YEHZ.js → grade-compare-FAYVPXUR.js} +10 -10
- package/dist/{help-JFBDXFRC.js → help-C3UQMYXK.js} +1 -1
- package/dist/{history-OJEWFWMS.js → history-LDGQ2IZJ.js} +6 -6
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KJZBU3SZ.js → info-KMXFLD3Q.js} +5 -5
- package/dist/{init-6V4ELU4Z.js → init-D7GYHSX5.js} +18 -18
- package/dist/{inspect-WGBZZUZU.js → inspect-CUKWHCGS.js} +11 -11
- package/dist/{keyframes-57LYKC2M.js → keyframes-XCUPHBW3.js} +6 -6
- package/dist/{lambda-5P5X2X5E.js → lambda-IMORFJHN.js} +1 -1
- package/dist/{layout-PM2VAUT2.js → layout-JD2IOBMS.js} +11 -11
- package/dist/{lint-DXS6QRYZ.js → lint-FHLER36Y.js} +6 -6
- package/dist/{list-6IBSX7FU.js → list-MGCFG5MA.js} +2 -2
- package/dist/{login-RY3PWK44.js → login-QX6M4UTR.js} +4 -4
- package/dist/{manager-N3COY6BJ.js → manager-IETAVBZS.js} +3 -3
- package/dist/{media-treatment-3HEZR7ZS.js → media-treatment-MDAQRITV.js} +7 -7
- package/dist/{models-FEULJWSX.js → models-NZAOSI5A.js} +6 -6
- package/dist/{motionShot-BZTEIZEO.js → motionShot-6ZDUM2K4.js} +6 -6
- package/dist/{normalize-audio-O4X4LPLK.js → normalize-audio-7PRYX6QM.js} +4 -4
- package/dist/{open-H3MX4TI2.js → open-I254NY5J.js} +4 -4
- package/dist/{parakeetRunner-5ABMPCI6.js → parakeetRunner-TL3TOGUS.js} +7 -7
- package/dist/{pipeline-RJ4DOVWX.js → pipeline-YPERVOQM.js} +3 -3
- package/dist/{play-3PBKEZIX.js → play-MYI7BYKS.js} +4 -4
- package/dist/{preflight-3RABQJT3.js → preflight-HRCSZ52D.js} +3 -3
- package/dist/{present-6SNRG3GI.js → present-WYXQDV4Q.js} +4 -4
- package/dist/{preview-LSDFCJ3H.js → preview-535HTWQO.js} +8 -8
- package/dist/{producer-SUZDRXHJ.js → producer-C76CRJ5O.js} +1 -1
- package/dist/{remove-background-4G4MX5WK.js → remove-background-OBYHMPD4.js} +4 -4
- package/dist/{render-SKY6FKYB.js → render-3MELF6Y3.js} +14 -14
- package/dist/{render-RXKUYTYI.js → render-5BXTEEG7.js} +5 -5
- package/dist/{sherpa-TMX3WBTM.js → sherpa-L4UACXT3.js} +6 -6
- package/dist/{skills-MCWFAGIP.js → skills-DXTQPCAO.js} +5 -5
- package/dist/{skillsUpdateCheck-NXOI35BW.js → skillsUpdateCheck-ULXRGLDU.js} +3 -3
- package/dist/{snapshot-ESZMKQ6J.js → snapshot-PWFHQU5E.js} +14 -14
- package/dist/{src-XRTZOBO5.js → src-RDSWHMJS.js} +3 -1
- package/dist/{src-GYYWBQXJ.js → src-S7NVL5VF.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-1wdLVP-x.js → hyperframes-player-DcD3NXpX.js} +1 -1
- package/dist/studio/assets/{index-CaWPPTQ1.js → index-BIDKYk0h.js} +1 -1
- package/dist/studio/assets/{index-mdtW0Ug-.js → index-CFrZAwKo.js} +71 -71
- package/dist/studio/index.html +1 -1
- package/dist/{studioServer-XVGYU6O3.js → studioServer-LA5Z7RSS.js} +22 -22
- package/dist/{telemetry-E355EUDZ.js → telemetry-STEMAMAX.js} +3 -3
- package/dist/{timeline-VWH6WSD7.js → timeline-KLD24EN6.js} +7 -7
- package/dist/{tokens-IOAVF4UI.js → tokens-ICLORAA4.js} +2 -2
- package/dist/{transcribe-EGUXJGD4.js → transcribe-A6IKK7VS.js} +11 -11
- package/dist/{transcribe-EJA7OOHH.js → transcribe-CTHZLRXF.js} +5 -5
- package/dist/{updateCheck-U2CVTKPF.js → updateCheck-FHCAAAXA.js} +2 -2
- package/dist/{upgrade-CWEKQ4JO.js → upgrade-7EV4F2R7.js} +2 -2
- package/dist/{urlDownloader-DY5BLAFA.js → urlDownloader-MIMGVASJ.js} +1 -1
- package/dist/{validate-XOMNMKD6.js → validate-LZF46W3V.js} +11 -11
- package/dist/{video-22NN6OEH.js → video-ZC47NFOL.js} +2 -2
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
auditClipDurations,
|
|
9
9
|
shouldIgnoreHttpError,
|
|
10
10
|
shouldIgnoreRequestFailure
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X7CCSMRR.js";
|
|
12
12
|
import {
|
|
13
13
|
checkSnapshotDirectory,
|
|
14
14
|
rectToBbox
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
ambiguousIssue,
|
|
18
18
|
loadBrowserScript
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O5AE7HOP.js";
|
|
20
20
|
import "./chunk-X7MTZ4T2.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-OJDXABUF.js";
|
|
22
22
|
import {
|
|
23
23
|
serveStaticProjectHtml
|
|
24
24
|
} from "./chunk-IZM562YJ.js";
|
|
@@ -51,17 +51,17 @@ import {
|
|
|
51
51
|
seekCompositionTimeline,
|
|
52
52
|
seekInPage,
|
|
53
53
|
waitForPreferredSeekTarget
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-V2UNZ7QP.js";
|
|
55
55
|
import "./chunk-FH7WODJH.js";
|
|
56
56
|
import {
|
|
57
57
|
BrowserCleanupError,
|
|
58
58
|
closeManagedBrowser
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-IL3GTCQY.js";
|
|
60
|
+
import "./chunk-XSRUVMXK.js";
|
|
61
61
|
import "./chunk-BRHI7EIA.js";
|
|
62
62
|
import "./chunk-S3RYRF3W.js";
|
|
63
63
|
import "./chunk-K2FLNJVB.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-4OT3FWVV.js";
|
|
65
65
|
import "./chunk-442JNXRM.js";
|
|
66
66
|
import "./chunk-RGHQID2E.js";
|
|
67
67
|
import {
|
|
@@ -78,8 +78,8 @@ import "./chunk-AWDFDFI3.js";
|
|
|
78
78
|
import "./chunk-P6LJ4Y32.js";
|
|
79
79
|
import "./chunk-GMECXFAN.js";
|
|
80
80
|
import "./chunk-5CS4T6C6.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-5E5EYPZO.js";
|
|
82
|
+
import "./chunk-K26FR4SM.js";
|
|
83
83
|
import "./chunk-VWG7OQKU.js";
|
|
84
84
|
import "./chunk-T6AGUTZJ.js";
|
|
85
85
|
import "./chunk-S3S4TGEH.js";
|
|
@@ -89,15 +89,15 @@ import "./chunk-ZTZA4UWZ.js";
|
|
|
89
89
|
import "./chunk-KLIKCX6Q.js";
|
|
90
90
|
import "./chunk-EVMY7IPL.js";
|
|
91
91
|
import "./chunk-7FMUTGOH.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-VAJIPSN6.js";
|
|
93
93
|
import "./chunk-K4WIOZFP.js";
|
|
94
94
|
import "./chunk-XUXGIA7H.js";
|
|
95
95
|
import "./chunk-WERLJGIC.js";
|
|
96
96
|
import "./chunk-ISN5GRYI.js";
|
|
97
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-XEWHUPFS.js";
|
|
98
98
|
import "./chunk-EOVYQ3IG.js";
|
|
99
99
|
import "./chunk-XT6MXC7A.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-YPBIAONI.js";
|
|
101
101
|
import "./chunk-4IEH6EAC.js";
|
|
102
102
|
import "./chunk-W2LGJSEN.js";
|
|
103
103
|
import "./chunk-LBQFLUIY.js";
|
|
@@ -296,7 +296,7 @@ function proxyFailedDraft(message) {
|
|
|
296
296
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
297
297
|
}
|
|
298
298
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
299
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
299
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-2WCR57IN.js");
|
|
300
300
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
301
301
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
302
302
|
project.dir,
|
|
@@ -343,7 +343,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
343
343
|
await waitForPreferredSeekTarget(page);
|
|
344
344
|
const rootAnchor = await resolveRootAnchor(page);
|
|
345
345
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
346
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
346
|
+
const { analyzeClipMediaFit } = await import("./src-RDSWHMJS.js");
|
|
347
347
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
348
348
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
349
349
|
}
|
|
@@ -371,7 +371,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
371
371
|
}
|
|
372
372
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
373
373
|
if (requests.length === 0) return [];
|
|
374
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
374
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-2WCR57IN.js");
|
|
375
375
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
376
376
|
const server = await serveStaticProjectHtml(
|
|
377
377
|
project.dir,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y5GY6Y7A.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YMS6CJCD.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3PULCIY5.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YPBIAONI.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-RDSWHMJS.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T7UHTUUE.js";
|
|
20
20
|
import {
|
|
21
21
|
getAvailableMemoryMb,
|
|
22
22
|
getFreeDiskMb,
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
getUpdateMeta,
|
|
34
34
|
withMeta
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VAJIPSN6.js";
|
|
36
36
|
import {
|
|
37
37
|
CONFIG_PATH,
|
|
38
38
|
withFileLock
|
|
39
39
|
} from "./chunk-XUXGIA7H.js";
|
|
40
40
|
import {
|
|
41
41
|
VERSION
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XEWHUPFS.js";
|
|
43
43
|
import {
|
|
44
44
|
OPTIONAL_PACKAGES,
|
|
45
45
|
installedOptionalPackageVersion
|
|
46
46
|
} from "./chunk-3DKN5WKL.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveExtractCacheDir
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YPBIAONI.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeErrorMessage
|
|
52
52
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -232,7 +232,7 @@ function checkEnvironment() {
|
|
|
232
232
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
233
233
|
}
|
|
234
234
|
async function checkWhisper() {
|
|
235
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
235
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-IETAVBZS.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
findFFmpeg,
|
|
15
15
|
findFFprobe,
|
|
16
16
|
getFFmpegInstallHint
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3PULCIY5.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_VP9_CPU_USED,
|
|
20
20
|
SDR_RGB_TO_BT709_FILTER,
|
|
21
21
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
22
22
|
renderProvenanceArgs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YPBIAONI.js";
|
|
24
24
|
|
|
25
25
|
// src/background-removal/pipeline.ts
|
|
26
26
|
import { spawn } from "child_process";
|
|
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
|
|
|
270
270
|
}
|
|
271
271
|
async function probeMedia(inputPath) {
|
|
272
272
|
const isImage = inferInputKind(inputPath) === "image";
|
|
273
|
-
const engine = await import("./src-
|
|
273
|
+
const engine = await import("./src-RDSWHMJS.js");
|
|
274
274
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
275
275
|
if (isImage) {
|
|
276
276
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K26FR4SM.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5E5EYPZO.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K26FR4SM.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-T6AGUTZJ.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-7F3UEHQT.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-SCXZTR6X.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UIDZRCBG.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-TO6JNTML.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5E5EYPZO.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-AIZODZMP.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
EncoderInterruptedError,
|
|
24
24
|
encoderFailureError,
|
|
25
25
|
prepareAnimatedGifInputs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4USWWI2Y.js";
|
|
27
27
|
import {
|
|
28
28
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
29
29
|
CaptureFailure,
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
ManagedChildProcess,
|
|
38
38
|
NotMediaPayloadError,
|
|
39
39
|
VIDEO_FRAME_FORMATS,
|
|
40
|
+
aacSegmentCount,
|
|
40
41
|
analyzeCompositionHdr,
|
|
41
42
|
analyzeKeyframeIntervals,
|
|
42
43
|
appendRenderProvenanceArgs,
|
|
@@ -152,7 +153,7 @@ import {
|
|
|
152
153
|
validateEngineConfigSnapshot,
|
|
153
154
|
verifyDiskDrawElementSamples,
|
|
154
155
|
writeCapturedFrame
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-YPBIAONI.js";
|
|
156
157
|
import {
|
|
157
158
|
assignBundledRuntimeCompositionIds,
|
|
158
159
|
buildVariablesByCompScript,
|
|
@@ -9974,6 +9975,75 @@ import { extname as extname3 } from "path";
|
|
|
9974
9975
|
import { spawn } from "child_process";
|
|
9975
9976
|
import { mkdtempSync as mkdtempSync3, renameSync as renameSync3, rmSync as rmSync7 } from "fs";
|
|
9976
9977
|
import { dirname as dirname8, join as join24 } from "path";
|
|
9978
|
+
|
|
9979
|
+
// ../producer/src/services/render/audioTruePeak.ts
|
|
9980
|
+
var toDbfs = (token) => token.toLowerCase() === "-inf" ? Number.NEGATIVE_INFINITY : Number(token);
|
|
9981
|
+
function checkedDbfs(value) {
|
|
9982
|
+
if (Number.isNaN(value) || value === Number.POSITIVE_INFINITY) {
|
|
9983
|
+
throw new Error("[audioTruePeak] FFmpeg did not report AAC true peak");
|
|
9984
|
+
}
|
|
9985
|
+
return value;
|
|
9986
|
+
}
|
|
9987
|
+
async function scanTruePeak(audioPath, trim, timeoutMs, signal) {
|
|
9988
|
+
let firstBlock;
|
|
9989
|
+
let laterBlocks = Number.NEGATIVE_INFINITY;
|
|
9990
|
+
let partialLine = "";
|
|
9991
|
+
const readLines = (chunk) => {
|
|
9992
|
+
const lines = (partialLine + chunk).split(/\r|\n/);
|
|
9993
|
+
partialLine = lines.pop() ?? "";
|
|
9994
|
+
for (const line of lines) {
|
|
9995
|
+
const ftpk = /FTPK:([^d]*)dBFS/.exec(line)?.[1];
|
|
9996
|
+
if (!ftpk) continue;
|
|
9997
|
+
const block = Math.max(...ftpk.trim().split(/\s+/).map(toDbfs));
|
|
9998
|
+
if (firstBlock === void 0) firstBlock = block;
|
|
9999
|
+
else laterBlocks = Math.max(laterBlocks, block);
|
|
10000
|
+
}
|
|
10001
|
+
};
|
|
10002
|
+
const result = await runFfmpeg(
|
|
10003
|
+
["-i", audioPath, "-map", "0:a:0", "-vn", "-af", `${trim}ebur128=peak=true`, "-f", "null", "-"],
|
|
10004
|
+
{ signal, timeout: timeoutMs, onStderr: readLines }
|
|
10005
|
+
);
|
|
10006
|
+
if (!result.success) {
|
|
10007
|
+
throw new Error(`[audioTruePeak] ${describeFfmpegFailure(result, timeoutMs)}`);
|
|
10008
|
+
}
|
|
10009
|
+
const summary = [...result.stderr.matchAll(/^\s*Peak:\s*([+-]?(?:[\d.]+|inf)) dBFS$/gim)];
|
|
10010
|
+
return {
|
|
10011
|
+
peak: checkedDbfs(toDbfs(summary.at(-1)?.[1] ?? "nan")),
|
|
10012
|
+
firstBlock: checkedDbfs(firstBlock ?? Number.NEGATIVE_INFINITY),
|
|
10013
|
+
laterBlocks: checkedDbfs(laterBlocks)
|
|
10014
|
+
};
|
|
10015
|
+
}
|
|
10016
|
+
async function measureTruePeakDbfs(audioPath, options) {
|
|
10017
|
+
const { timeoutMs, signal, segments } = options;
|
|
10018
|
+
const wholeFile = async () => (await scanTruePeak(audioPath, "", timeoutMs, signal)).peak;
|
|
10019
|
+
const block = 4800;
|
|
10020
|
+
const count = segments?.sampleRate === 48e3 ? aacSegmentCount(segments.durationSeconds) : 1;
|
|
10021
|
+
if (!segments || count === 1) return wholeFile();
|
|
10022
|
+
const cut = (k) => k * Math.floor(segments.durationSeconds * 10 / count) * block;
|
|
10023
|
+
const peers = new AbortController();
|
|
10024
|
+
const segmentSignal = signal ? AbortSignal.any([signal, peers.signal]) : peers.signal;
|
|
10025
|
+
const scans = await Promise.all(
|
|
10026
|
+
Array.from({ length: count }, (_, k) => {
|
|
10027
|
+
const start = k === 0 ? 0 : cut(k) - block;
|
|
10028
|
+
const end = k === count - 1 ? "" : `:end_sample=${cut(k + 1)}`;
|
|
10029
|
+
return scanTruePeak(
|
|
10030
|
+
audioPath,
|
|
10031
|
+
`atrim=start_sample=${start}${end},`,
|
|
10032
|
+
timeoutMs,
|
|
10033
|
+
segmentSignal
|
|
10034
|
+
);
|
|
10035
|
+
})
|
|
10036
|
+
).catch((error) => {
|
|
10037
|
+
peers.abort();
|
|
10038
|
+
throw error;
|
|
10039
|
+
});
|
|
10040
|
+
const last = scans[count - 1];
|
|
10041
|
+
const counted = Math.max(scans[0].peak, ...scans.slice(1).map((scan) => scan.laterBlocks));
|
|
10042
|
+
if (last.peak > last.firstBlock || last.peak <= counted) return Math.max(counted, last.peak);
|
|
10043
|
+
return wholeFile();
|
|
10044
|
+
}
|
|
10045
|
+
|
|
10046
|
+
// ../producer/src/services/render/audioPadTrim.ts
|
|
9977
10047
|
var AUDIO_DURATION_TOLERANCE_SECONDS = 1e-3;
|
|
9978
10048
|
var AAC_DELIVERY_TRUE_PEAK_DBFS = -1;
|
|
9979
10049
|
var AAC_TRUE_PEAK_CORRECTION_HEADROOM_DB = 0.5;
|
|
@@ -10073,7 +10143,7 @@ async function padOrTrimAudioToVideoFrameCount(input) {
|
|
|
10073
10143
|
const probeAudio = input.probeAudioInfo ?? defaultProbeAudioInfo;
|
|
10074
10144
|
const timeoutMs = input.timeoutMs ?? DEFAULT_CONFIG.ffmpegProcessTimeout;
|
|
10075
10145
|
const runner = input.runFfmpeg ?? ((args) => defaultRunFfmpeg(args, timeoutMs, input.signal));
|
|
10076
|
-
const probeTruePeak = input.probeAudioTruePeakDbfs ?? (input.runFfmpeg ? void 0 : (audioPath, signal) =>
|
|
10146
|
+
const probeTruePeak = input.probeAudioTruePeakDbfs ?? (input.runFfmpeg ? void 0 : (audioPath, signal) => measureTruePeakDbfs(audioPath, { timeoutMs, signal }));
|
|
10077
10147
|
const [videoResult, audioResult] = await Promise.allSettled([
|
|
10078
10148
|
probeVideo(input.videoPath),
|
|
10079
10149
|
probeAudio(input.audioPath, input.signal)
|
|
@@ -10182,7 +10252,11 @@ async function constrainAacTruePeak(input) {
|
|
|
10182
10252
|
audioPath: input.audioPath,
|
|
10183
10253
|
targetDurationSeconds: input.targetDurationSeconds,
|
|
10184
10254
|
signal: input.signal,
|
|
10185
|
-
probeTruePeak: (audioPath, signal) =>
|
|
10255
|
+
probeTruePeak: async (audioPath, signal) => {
|
|
10256
|
+
const { sampleRate } = await extractAudioMetadata(audioPath, { signal });
|
|
10257
|
+
const segments = { durationSeconds: input.targetDurationSeconds, sampleRate };
|
|
10258
|
+
return measureTruePeakDbfs(audioPath, { timeoutMs, signal, segments });
|
|
10259
|
+
},
|
|
10186
10260
|
runner: (args) => defaultRunFfmpeg(args, timeoutMs, input.signal)
|
|
10187
10261
|
});
|
|
10188
10262
|
}
|
|
@@ -10319,22 +10393,6 @@ async function defaultProbeAudioInfo(audioPath, signal) {
|
|
|
10319
10393
|
audioCodec: metadata.audioCodec
|
|
10320
10394
|
};
|
|
10321
10395
|
}
|
|
10322
|
-
async function defaultProbeAudioTruePeakDbfs(audioPath, timeoutMs, signal) {
|
|
10323
|
-
const result = await runFfmpeg(
|
|
10324
|
-
["-i", audioPath, "-map", "0:a:0", "-vn", "-af", "ebur128=peak=true", "-f", "null", "-"],
|
|
10325
|
-
{ signal, timeout: timeoutMs }
|
|
10326
|
-
);
|
|
10327
|
-
if (!result.success) {
|
|
10328
|
-
throw new Error(`[audioPadTrim] ${describeFfmpegFailure(result, timeoutMs)}`);
|
|
10329
|
-
}
|
|
10330
|
-
const matches = [...result.stderr.matchAll(/^\s*Peak:\s*([+-]?(?:[\d.]+|inf)) dBFS$/gim)];
|
|
10331
|
-
const token = matches.at(-1)?.[1]?.toLowerCase();
|
|
10332
|
-
const value = token === "-inf" ? Number.NEGATIVE_INFINITY : Number(token);
|
|
10333
|
-
if (Number.isNaN(value) || value === Number.POSITIVE_INFINITY) {
|
|
10334
|
-
throw new Error("[audioPadTrim] FFmpeg did not report AAC true peak");
|
|
10335
|
-
}
|
|
10336
|
-
return value;
|
|
10337
|
-
}
|
|
10338
10396
|
async function defaultRunFfmpeg(args, timeoutMs, signal) {
|
|
10339
10397
|
const result = await runFfmpeg(args, { signal, timeout: timeoutMs });
|
|
10340
10398
|
if (result.success) return { success: true };
|
|
@@ -15209,7 +15267,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15209
15267
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15210
15268
|
if (probeResult.probeSession) {
|
|
15211
15269
|
try {
|
|
15212
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15270
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-RDSWHMJS.js");
|
|
15213
15271
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15214
15272
|
} catch (err) {
|
|
15215
15273
|
log.warn("[plan] probe session close failed", {
|
|
@@ -16803,7 +16861,7 @@ function startServer(options = {}) {
|
|
|
16803
16861
|
});
|
|
16804
16862
|
async function shutdown(signal) {
|
|
16805
16863
|
log.info(`Received ${signal}, shutting down`);
|
|
16806
|
-
const { drainBrowserPool } = await import("./src-
|
|
16864
|
+
const { drainBrowserPool } = await import("./src-RDSWHMJS.js");
|
|
16807
16865
|
await drainBrowserPool().catch(() => {
|
|
16808
16866
|
});
|
|
16809
16867
|
const handle = await Promise.race([
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5E5EYPZO.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K26FR4SM.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OJDXABUF.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
12
|
} from "./chunk-IZM562YJ.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V2UNZ7QP.js";
|
|
20
20
|
import {
|
|
21
21
|
gotoWhenSent,
|
|
22
22
|
launchManagedBrowser,
|
|
23
23
|
resolveManagedGpuMode
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IL3GTCQY.js";
|
|
25
25
|
import {
|
|
26
26
|
pageNavigationTimeoutMs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XSRUVMXK.js";
|
|
28
28
|
import {
|
|
29
29
|
defineCommand
|
|
30
30
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VAJIPSN6.js";
|
|
42
42
|
import {
|
|
43
43
|
normalizeErrorMessage
|
|
44
44
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
728
728
|
async function runLayoutAudit(projectDir, opts) {
|
|
729
729
|
const { ensureBrowser } = await import("./manager-V2QCCPOJ.js");
|
|
730
730
|
const puppeteer = await import("puppeteer-core");
|
|
731
|
-
const { buildChromeArgs } = await import("./src-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-RDSWHMJS.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-4NNXESM7.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|
|
@@ -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-XEWHUPFS.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|