hyperframes 0.8.226 → 0.8.227
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-3NBOSGKQ.js → add-XX23UL2L.js} +11 -11
- package/dist/{agentPromptGenerator-GQSDTAV5.js → agentPromptGenerator-IMNWTMHM.js} +5 -5
- package/dist/{animatedGifPrep-UXFFDGA7.js → animatedGifPrep-MPU6T26Y.js} +5 -5
- package/dist/api.d.ts +122 -1
- package/dist/api.js +25 -17
- package/dist/{asset-VQVAYC7E.js → asset-FZSKOSMO.js} +2 -2
- package/dist/{assetCataloger-C6KNE2IQ.js → assetCataloger-SITUNOV5.js} +6 -6
- package/dist/{audio-2KULGXHA.js → audio-T5RHG57J.js} +11 -11
- package/dist/{auth-QNMLPJOW.js → auth-CMGIWJ6S.js} +1 -1
- package/dist/{autoUpdate-VFQQ47UD.js → autoUpdate-NNHBVLHN.js} +2 -2
- package/dist/{backgroundChecks-SSQ2U3ZY.js → backgroundChecks-HQYOBCV2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-Y45PZC3Q.js → batchRender-5URYGOLM.js} +3 -3
- package/dist/{beats-YSJT4NUG.js → beats-J7IBNLP4.js} +7 -7
- package/dist/{benchmark-6UOMMUXF.js → benchmark-Q2BILDRB.js} +8 -8
- package/dist/{browser-GM4ZTCRQ.js → browser-EERGHDRV.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-CUTSKVRK.js → bundleWithLocalizedFonts-FKU44QSO.js} +2 -2
- package/dist/{capture-SZ65WG5Z.js → capture-5W7BR36Q.js} +3 -3
- package/dist/{capture-J24XSJTZ.js → capture-IRJ7DO45.js} +10 -10
- package/dist/{captureCompositionFrame-5UUXIOF2.js → captureCompositionFrame-R4LFCHHV.js} +11 -11
- package/dist/{catalog-5EQFE3BC.js → catalog-IRFBKRFP.js} +11 -11
- package/dist/{catch-up-ASBRKHDL.js → catch-up-RGQAFA3E.js} +4 -4
- package/dist/{check-BA4SSXPY.js → check-EXLZVGDY.js} +36 -36
- package/dist/{checkAudio-TU4GPHIR.js → checkAudio-K3XKXNEN.js} +8 -8
- package/dist/{checkBrowser-27SFNNPD.js → checkBrowser-ZOU5XFMN.js} +30 -30
- package/dist/{chunk-RRT5S42U.js → chunk-27JEDDX5.js} +1 -1
- package/dist/{chunk-6EQSJ7MT.js → chunk-2M6LMJ32.js} +1 -1
- package/dist/{chunk-LVV5EUSO.js → chunk-3TWAMQF6.js} +2 -2
- package/dist/{chunk-6CU2ZQGW.js → chunk-5ETFQB5F.js} +28 -23
- package/dist/{chunk-ZI64CTVC.js → chunk-62LATJB6.js} +1 -1
- package/dist/{chunk-7LUZ4RQX.js → chunk-65LMGFJ5.js} +12 -12
- package/dist/{chunk-CRIVUWLA.js → chunk-6HPCEV3U.js} +2 -2
- package/dist/{chunk-Y2NSHQVE.js → chunk-6PQXDPKV.js} +2 -2
- package/dist/{chunk-EYDV3MHA.js → chunk-6RSOEYIG.js} +7 -7
- package/dist/{chunk-7UKRCWBO.js → chunk-6TXW6LHH.js} +75 -21
- package/dist/{chunk-DW7W4J7D.js → chunk-7XNMKKXI.js} +2 -2
- package/dist/{chunk-3V3XMQEF.js → chunk-A3UIADPB.js} +1 -1
- package/dist/{chunk-GUJ45PRX.js → chunk-AI6Z7BVD.js} +1 -1
- package/dist/{chunk-OMT75FQI.js → chunk-AJREH4PX.js} +2 -2
- package/dist/{chunk-JIYNPDH6.js → chunk-AQ2C6AQH.js} +1 -1
- package/dist/{chunk-RKDMYKGL.js → chunk-AXRFHQRS.js} +1 -1
- package/dist/{chunk-5TXYCG4M.js → chunk-BKK57WEL.js} +4 -4
- package/dist/{chunk-WESIEW2M.js → chunk-BW3CQT3A.js} +3 -3
- package/dist/{chunk-V2N747YM.js → chunk-CQKK7S4I.js} +7 -7
- package/dist/{chunk-5X65O5WM.js → chunk-E2GNVQSH.js} +1 -1
- package/dist/{chunk-ZNXUM4D2.js → chunk-FD7Z5BDR.js} +2 -2
- package/dist/{chunk-ZJE2XWQC.js → chunk-FFCQR7AP.js} +2 -2
- package/dist/{chunk-HYB3WSJL.js → chunk-GIGZYW5Q.js} +1 -1
- package/dist/{chunk-37PS2IPO.js → chunk-HGEFDPRP.js} +1 -1
- package/dist/{chunk-ETH6WXKZ.js → chunk-HNB7DA2F.js} +1 -1
- package/dist/{chunk-PHUTMTHB.js → chunk-IN2355UQ.js} +1 -1
- package/dist/{chunk-XDTRM4OS.js → chunk-IQFLDX7I.js} +4 -4
- package/dist/{chunk-7WNPWUJP.js → chunk-ISEHEDSN.js} +40 -11
- package/dist/{chunk-KQARKGEJ.js → chunk-IUQCPWHU.js} +10 -9
- package/dist/{chunk-XCGPPU32.js → chunk-IZRC24DI.js} +1 -1
- package/dist/{chunk-XH7SSJSQ.js → chunk-JP6C673M.js} +1 -1
- package/dist/{chunk-2JBCK6DX.js → chunk-K6YHKCVX.js} +1 -1
- package/dist/{chunk-B243Y7MM.js → chunk-K7LS42XC.js} +3 -3
- package/dist/{chunk-3XYDZQJF.js → chunk-KLTD64CP.js} +1 -1
- package/dist/{chunk-P7TDUSPH.js → chunk-KU6VRNJF.js} +1 -1
- package/dist/{chunk-Z257R7TN.js → chunk-L2XYH5SQ.js} +1 -1
- package/dist/{chunk-PXSCN6X5.js → chunk-M63U54H7.js} +2 -2
- package/dist/{chunk-BJ3Q3XK7.js → chunk-MBS45ZKL.js} +8 -8
- package/dist/{chunk-UXHGYMX4.js → chunk-MR7I3L6N.js} +1 -1
- package/dist/{chunk-PZ6VVOOE.js → chunk-NFUJ35XX.js} +1 -1
- package/dist/{chunk-EQGBGOQQ.js → chunk-NQ4MVBNC.js} +9 -9
- package/dist/{chunk-YTQSLNIA.js → chunk-OG3S6SE6.js} +1 -1
- package/dist/{chunk-ABNPD4NF.js → chunk-OJW6TC57.js} +1 -1
- package/dist/{chunk-S4UDVFAN.js → chunk-OVLO32XC.js} +2 -2
- package/dist/{chunk-WGVREWKN.js → chunk-OWJTWCE6.js} +2 -2
- package/dist/{chunk-VB77RRT7.js → chunk-PFGBFTNS.js} +1 -1
- package/dist/{chunk-76N526VX.js → chunk-PSRFHITV.js} +13 -13
- package/dist/{chunk-CU3SVSKX.js → chunk-PVLG6IY4.js} +1 -1
- package/dist/chunk-PXH3TD4X.js +760 -0
- package/dist/{chunk-PCH3O6I6.js → chunk-Q7S4JN73.js} +5 -5
- package/dist/{chunk-OSCRZUEB.js → chunk-RABQDJMA.js} +1 -1
- package/dist/{chunk-6AEHVBMX.js → chunk-RG7WG2BC.js} +1 -1
- package/dist/{chunk-BD2CQDXP.js → chunk-RVKHNBJI.js} +17 -17
- package/dist/{chunk-B7OI3WAR.js → chunk-SANQC4QD.js} +1 -1
- package/dist/chunk-SBQV5FLG.js +5030 -0
- package/dist/{chunk-U6LQ4BTL.js → chunk-SPN4SJV7.js} +1 -1
- package/dist/{chunk-HSXV7QPC.js → chunk-SQJNSPL5.js} +1 -1
- package/dist/{chunk-2IQONCMF.js → chunk-SZVMN7L3.js} +7 -7
- package/dist/{chunk-EJEHDDVX.js → chunk-T53C5UTH.js} +1 -1
- package/dist/{chunk-GADKBSZ5.js → chunk-TG5RBLCM.js} +2 -2
- package/dist/{chunk-UIJLEBHQ.js → chunk-TJ6G325N.js} +1 -1
- package/dist/{chunk-PVBSCPZI.js → chunk-TJPZYMYX.js} +3 -3
- package/dist/{chunk-AMTAKSKJ.js → chunk-TMTZ5M4R.js} +9 -9
- package/dist/{chunk-4XYLQYUE.js → chunk-TNPFF5TQ.js} +2 -2
- package/dist/{chunk-OQYGHP3E.js → chunk-UIDZKSF6.js} +1 -1
- package/dist/{chunk-PWHOMCFB.js → chunk-V7BBBD5C.js} +2 -2
- package/dist/{chunk-RBYSMHB7.js → chunk-VHREBR3T.js} +1 -1
- package/dist/{chunk-35LAWHTD.js → chunk-VO55NLTM.js} +32 -9
- package/dist/{chunk-A23K6P7L.js → chunk-WISN2ACZ.js} +1 -1
- package/dist/{chunk-APCGOECM.js → chunk-XZULISH5.js} +2 -2
- package/dist/{chunk-DGQOBTFQ.js → chunk-YKOHWGUC.js} +1 -1
- package/dist/{chunk-B52P2FU2.js → chunk-YTMWGLEQ.js} +1 -1
- package/dist/{chunk-MWQNQA77.js → chunk-ZAE5Q7D5.js} +2 -2
- package/dist/{chunk-JE5ZPFN2.js → chunk-ZSZKNGSQ.js} +3 -3
- package/dist/{chunk-MF6KVPWF.js → chunk-ZU5GYVRG.js} +2 -2
- package/dist/{clean-X5VL4ILR.js → clean-IXG2MEQ6.js} +16 -16
- package/dist/cli.js +56 -56
- package/dist/{cloud-4GUUYRD3.js → cloud-C2SUZ4ML.js} +4 -4
- package/dist/{cloudrun-KPL32MBI.js → cloudrun-SWS7AI67.js} +4 -4
- package/dist/{compare-CVEB5SQC.js → compare-HKONJNY4.js} +27 -27
- package/dist/{compiler-RRTQNBUH.js → compiler-67X7VCNS.js} +2 -2
- package/dist/{component-TZ2SIYOX.js → component-YBGAFPNS.js} +3 -3
- package/dist/{compositions-KRTRDV72.js → compositions-B5T65NKW.js} +9 -9
- package/dist/{curve-ZXUAGU4T.js → curve-QZCRRLBS.js} +9 -9
- package/dist/{cuts-GY2K2CTK.js → cuts-5DIKHPDZ.js} +10 -10
- package/dist/{delete-ZT4FCUX2.js → delete-GHNNYUXL.js} +2 -2
- package/dist/{deploy-DVKSQTC7.js → deploy-IARSTZY6.js} +1 -1
- package/dist/{describeProject-L4ZW5CI7.js → describeProject-6DA3FMM2.js} +6 -6
- package/dist/{diff-AFOP2B3Y.js → diff-JWNEN6CO.js} +19 -19
- package/dist/{dist-DPOLFG5U.js → dist-AY2X5DPM.js} +2 -2
- package/dist/{doctor-Y7YVL34W.js → doctor-BMUGN4C2.js} +9 -9
- package/dist/{energy-YFLFELFX.js → energy-DSK2FPBK.js} +10 -10
- package/dist/{events-VL7JKI2K.js → events-6VLVSDSN.js} +3 -3
- package/dist/{events-C5QV2MQG.js → events-HD5CYSPO.js} +2 -2
- package/dist/{events-THASMGN6.js → events-KKH2U7U5.js} +11 -11
- package/dist/{extract-GTNBVQ63.js → extract-IFMYI2DA.js} +10 -10
- package/dist/{face-BSRKCB5W.js → face-JD2ZVOH3.js} +10 -10
- package/dist/{feedback-MCQ2FKCC.js → feedback-LI55MDGG.js} +11 -11
- package/dist/{ffmpeg-3QNN3TQ5.js → ffmpeg-A4M2I6R3.js} +5 -5
- package/dist/{figma-IGXE3KWU.js → figma-CNVJZ7BL.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-XIFLB5KC.js → frames-MOAPFEBS.js} +11 -11
- package/dist/{generate-55FZPR3J.js → generate-ZRQYOJ3I.js} +12 -12
- package/dist/{get-2MHD7XFA.js → get-2RNNB5KC.js} +2 -2
- package/dist/{gpuPolicy-REJFNHWD.js → gpuPolicy-MXPGQGRO.js} +5 -5
- package/dist/{grade-compare-CM45H7CR.js → grade-compare-CQHZR7LX.js} +28 -28
- package/dist/{heifImagePrep-O3UZHGWR.js → heifImagePrep-PRXKTL2U.js} +6 -6
- package/dist/{help-V2GGIKP2.js → help-MDT2MEPS.js} +1 -1
- package/dist/{history-NUOQVUNY.js → history-N7H2FN6R.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-5CMRZEJA.js → info-NXYRDRHE.js} +7 -7
- package/dist/{init-JNL5R27I.js → init-DJ5EJAQI.js} +25 -25
- package/dist/{ink-HGQUC6L3.js → ink-WZSITVIW.js} +10 -10
- package/dist/{inspect-GGOCM324.js → inspect-JAXBBYA3.js} +28 -28
- package/dist/{installer-BBY3T5MJ.js → installer-N5OHXI5C.js} +4 -4
- package/dist/{keyframes-2D4ZS6HE.js → keyframes-TXNYBMOV.js} +6 -6
- package/dist/{lambda-TY2ZCPEN.js → lambda-4LVII6VK.js} +9 -9
- package/dist/{layout-X5GT4O2L.js → layout-AS4FJ53O.js} +28 -28
- package/dist/{lint-NVOUXE2L.js → lint-DCAYD4CN.js} +6 -6
- package/dist/{list-CB4UDTID.js → list-7Z6YRO6I.js} +2 -2
- package/dist/{localPage-EYPZRIGY.js → localPage-FUOBAMSA.js} +5 -5
- package/dist/{login-L7JTVKV5.js → login-JZ4COLEB.js} +4 -4
- package/dist/{look-VHQA2JSS.js → look-QELVFTKU.js} +10 -10
- package/dist/{manager-FGQKQMI7.js → manager-ZJPSMHK6.js} +6 -6
- package/dist/{measure-5F7QZLO5.js → measure-2I5VAVHN.js} +11 -11
- package/dist/{media-treatment-RRFIZKSA.js → media-treatment-MDTQ6564.js} +11 -11
- package/dist/{media-use-5YGFOFKI.js → media-use-NFGRWEGA.js} +1 -1
- package/dist/{models-5B2RGGBT.js → models-DKSUFPQ6.js} +9 -9
- package/dist/{motionShot-JJBQLYCC.js → motionShot-BJARRLMN.js} +14 -14
- package/dist/{normalize-audio-LWTNZWDJ.js → normalize-audio-EW5JUESE.js} +8 -8
- package/dist/{open-PGRJXREV.js → open-737GUSFD.js} +12 -12
- package/dist/{parakeetRunner-OV4NSPB3.js → parakeetRunner-OIVHACYW.js} +10 -10
- package/dist/{pipeline-HXGPFQZC.js → pipeline-UTNPWFMF.js} +8 -8
- package/dist/{play-JONX6CIM.js → play-ZCYUVL2Y.js} +19 -19
- package/dist/{preflight-7OKMMUWG.js → preflight-HWFWGTIG.js} +6 -6
- package/dist/{present-EHU52MSU.js → present-AO3XZKSL.js} +15 -15
- package/dist/{preview-DCEIITM6.js → preview-ORIRMNIU.js} +17 -17
- package/dist/{probe-EA4N3WOT.js → probe-HYO2KC2E.js} +9 -9
- package/dist/{producer-FGAOUR7O.js → producer-B4VCP4D2.js} +1 -1
- package/dist/{projectConfig-N3ZRVJKB.js → projectConfig-HUR4LZME.js} +6 -6
- package/dist/{publication-ZKY2LVN5.js → publication-YH74GUD4.js} +2 -2
- package/dist/{publish-RZVDFTBX.js → publish-WIEB5ON4.js} +18 -18
- package/dist/{remove-background-V5UXYPJS.js → remove-background-NHLEPVOM.js} +9 -9
- package/dist/{render-NEZLBRAY.js → render-3WFVN7HO.js} +38 -38
- package/dist/{render-YZSDHP3U.js → render-DQSNIKEG.js} +30 -763
- package/dist/{render-UJCPQXGB.js → render-GBJSUM3R.js} +5 -5
- package/dist/{render-batch-KPGYARDI.js → render-batch-YZF2XMYL.js} +8 -8
- package/dist/{resolver-HWNPLSXK.js → resolver-KGTY7RJU.js} +4 -4
- package/dist/{sherpa-HSBYKUQC.js → sherpa-B3T3I2PX.js} +9 -9
- package/dist/skills/media-use/references/heygen.md +2 -1
- package/dist/{skills-CW23U675.js → skills-FATGE2YZ.js} +5 -5
- package/dist/{skillsUpdateCheck-LGBNNYLI.js → skillsUpdateCheck-AHDI2POI.js} +3 -3
- package/dist/{snapshot-RK7ED6DW.js → snapshot-SELBWDZ7.js} +52 -36
- package/dist/{src-ZDLQFZ4B.js → src-55VXHZM5.js} +7 -7
- package/dist/{src-KORQVG7O.js → src-6H4ENHBH.js} +4 -4
- package/dist/{staticProjectServer-TFWT5G2L.js → staticProjectServer-E4BZ4YZO.js} +16 -16
- package/dist/studio/assets/{hyperframes-player-qeY0knUZ.js → hyperframes-player-merzSkao.js} +1 -1
- package/dist/studio/assets/{index-B9O4nOYD.js → index-B4XEg_n-.js} +1 -1
- package/dist/studio/assets/{index-BhZkOhf2.js → index-DoXOJGW5.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-OIZEPWHS.js → studio-api-IERYGFXT.js} +8 -8
- package/dist/{studioServer-62MG7LJR.js → studioServer-3RCCQB3T.js} +46 -46
- package/dist/{sync-Q3XYLXTX.js → sync-VV7L5GRE.js} +10 -10
- package/dist/{telemetry-3YDPEGQK.js → telemetry-KZRSFUC6.js} +3 -3
- package/dist/{timeline-VDLKFZZ7.js → timeline-ALU6E3WE.js} +17 -17
- package/dist/{tokens-ZZ4G2VKC.js → tokens-XEZF2LGB.js} +2 -2
- package/dist/{transcribe-2D6UIVAE.js → transcribe-HJX65J5D.js} +8 -8
- package/dist/{transcribe-OYRCZUZM.js → transcribe-OVOOUYK7.js} +16 -16
- package/dist/{updateCheck-ZRG5DR74.js → updateCheck-FEOJQNLJ.js} +2 -2
- package/dist/{upgrade-ZU6BHCTC.js → upgrade-VM2DGLXZ.js} +2 -2
- package/dist/{urlDownloader-5WPUC6C6.js → urlDownloader-YENOMQQF.js} +4 -4
- package/dist/{validate-OZRPF6YZ.js → validate-HXTL5C7J.js} +22 -22
- package/dist/{video-N2KXXYS3.js → video-3BIRQK2N.js} +6 -6
- package/dist/warmCheck.js +36 -36
- package/package.json +1 -1
- package/dist/chunk-XINVBLXA.js +0 -5030
|
@@ -6,23 +6,23 @@ 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-UIDZKSF6.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IUQCPWHU.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BW3CQT3A.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K6YHKCVX.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TG5RBLCM.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SBQV5FLG.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-C2KEGBR3.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SANQC4QD.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-B4VCP4D2.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,9 +273,9 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-67X7VCNS.js");
|
|
277
277
|
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-E4BZ4YZO.js");
|
|
279
279
|
const { lintProject } = await import("./lintProject-54CNQ4HT.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-6H4ENHBH.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-MXPGQGRO.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OWJTWCE6.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6TXW6LHH.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VO55NLTM.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E2GNVQSH.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -7,32 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HGEFDPRP.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-62LATJB6.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YTMWGLEQ.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XZULISH5.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RABQDJMA.js";
|
|
30
30
|
import {
|
|
31
31
|
readJsonFlag
|
|
32
32
|
} from "./chunk-EHZESMRB.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OG3S6SE6.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IZRC24DI.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IZRC24DI.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-SBQV5FLG.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -6464,7 +6464,7 @@ async function pollVideosReady(page, skipIds, timeoutMs, intervalMs = 100) {
|
|
|
6464
6464
|
if (ve.readyState >= 2) return true;
|
|
6465
6465
|
if (ve.error) return true;
|
|
6466
6466
|
if (ve.networkState === HTMLMediaElement.NETWORK_NO_SOURCE) return true;
|
|
6467
|
-
return
|
|
6467
|
+
return !ve.getAttribute("src") && !ve.querySelector("source");
|
|
6468
6468
|
});
|
|
6469
6469
|
}, skipIds)
|
|
6470
6470
|
);
|
|
@@ -6533,6 +6533,7 @@ async function collectMediaReadinessWarnings(page, skipIds, timeoutMs) {
|
|
|
6533
6533
|
for (const media of document.querySelectorAll("video")) {
|
|
6534
6534
|
const mediaElement = media;
|
|
6535
6535
|
if (skipped.has(mediaElement.id)) continue;
|
|
6536
|
+
if (!mediaElement.getAttribute("src") && !mediaElement.querySelector("source")) continue;
|
|
6536
6537
|
const src = mediaElement.currentSrc || mediaElement.getAttribute("src") || "(no src)";
|
|
6537
6538
|
const failed = Boolean(mediaElement.error) || mediaElement.networkState === HTMLMediaElement.NETWORK_NO_SOURCE;
|
|
6538
6539
|
const pending = !failed && mediaElement.readyState < HTMLMediaElement.HAVE_CURRENT_DATA;
|
|
@@ -8753,9 +8754,9 @@ async function selectUsableGpuEncoder(candidates, isUsable) {
|
|
|
8753
8754
|
}
|
|
8754
8755
|
return null;
|
|
8755
8756
|
}
|
|
8756
|
-
async function
|
|
8757
|
-
const ffmpeg = spawn2(getFfmpegBinary(),
|
|
8758
|
-
stdio: ["
|
|
8757
|
+
async function ffmpegStdout(args, deadlineMs, terminationGraceMs) {
|
|
8758
|
+
const ffmpeg = spawn2(getFfmpegBinary(), args, {
|
|
8759
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
8759
8760
|
// See runFfmpeg.ts: keeps a console window off the user's desktop on Windows.
|
|
8760
8761
|
windowsHide: true
|
|
8761
8762
|
});
|
|
@@ -8765,9 +8766,14 @@ async function detectGpuEncoder() {
|
|
|
8765
8766
|
stdout += data.toString();
|
|
8766
8767
|
});
|
|
8767
8768
|
const outcome = await new ManagedChildProcess(ffmpeg, {
|
|
8768
|
-
deadlineAtMs: Date.now() +
|
|
8769
|
+
deadlineAtMs: Date.now() + deadlineMs,
|
|
8770
|
+
terminationGraceMs
|
|
8769
8771
|
}).wait();
|
|
8770
|
-
|
|
8772
|
+
return outcome.reason === "exit" && outcome.exitCode === 0 ? stdout : null;
|
|
8773
|
+
}
|
|
8774
|
+
async function detectGpuEncoder() {
|
|
8775
|
+
const stdout = await ffmpegStdout(["-encoders"], 3e4);
|
|
8776
|
+
if (stdout === null) return null;
|
|
8771
8777
|
const candidates = getCompiledGpuEncoders(stdout);
|
|
8772
8778
|
return selectUsableGpuEncoder(candidates, canUseGpuEncoder).catch(() => null);
|
|
8773
8779
|
}
|
|
@@ -8886,9 +8892,11 @@ var QSV_PRESET_MAP = {
|
|
|
8886
8892
|
superfast: "veryfast",
|
|
8887
8893
|
placebo: "veryslow"
|
|
8888
8894
|
};
|
|
8889
|
-
function mapPresetForGpuEncoder(encoder, preset) {
|
|
8895
|
+
function mapPresetForGpuEncoder(encoder, preset, nvencPresets) {
|
|
8890
8896
|
switch (encoder) {
|
|
8891
8897
|
case "nvenc":
|
|
8898
|
+
if (nvencPresets && nvencPresets.size > 0 && !nvencPresets.has("p4"))
|
|
8899
|
+
return legacyNvencPreset(preset, nvencPresets);
|
|
8892
8900
|
if (/^p[1-7]$/.test(preset)) return preset;
|
|
8893
8901
|
return NVENC_PRESET_MAP[preset] ?? "p4";
|
|
8894
8902
|
case "qsv":
|
|
@@ -8897,6 +8905,49 @@ function mapPresetForGpuEncoder(encoder, preset) {
|
|
|
8897
8905
|
return preset;
|
|
8898
8906
|
}
|
|
8899
8907
|
}
|
|
8908
|
+
var LEGACY_NVENC_PRESET_MAP = {
|
|
8909
|
+
ultrafast: "hp",
|
|
8910
|
+
superfast: "hp",
|
|
8911
|
+
veryfast: "hp",
|
|
8912
|
+
faster: "fast",
|
|
8913
|
+
fast: "fast",
|
|
8914
|
+
medium: "medium",
|
|
8915
|
+
slow: "slow",
|
|
8916
|
+
slower: "slow",
|
|
8917
|
+
veryslow: "slow",
|
|
8918
|
+
placebo: "slow"
|
|
8919
|
+
};
|
|
8920
|
+
function legacyNvencPreset(preset, accepted) {
|
|
8921
|
+
if (accepted.has(preset) && !/^p[1-7]$/.test(preset)) return preset;
|
|
8922
|
+
const mapped = LEGACY_NVENC_PRESET_MAP[preset] ?? "medium";
|
|
8923
|
+
return accepted.has(mapped) ? mapped : "default";
|
|
8924
|
+
}
|
|
8925
|
+
function parseEncoderPresetNames(helpText) {
|
|
8926
|
+
const names = /* @__PURE__ */ new Set();
|
|
8927
|
+
let inPreset = false;
|
|
8928
|
+
for (const line of helpText.split(/\r?\n/)) {
|
|
8929
|
+
if (/^\s{1,3}-\S/.test(line)) {
|
|
8930
|
+
inPreset = /^\s{1,3}-preset\s/.test(line);
|
|
8931
|
+
continue;
|
|
8932
|
+
}
|
|
8933
|
+
const entry = inPreset ? /^\s{4,}([a-z][a-z0-9_]*)\s+-?\d+\s+[E.]\S{3}/.exec(line) : null;
|
|
8934
|
+
if (entry) names.add(entry[1]);
|
|
8935
|
+
}
|
|
8936
|
+
return names;
|
|
8937
|
+
}
|
|
8938
|
+
var cachedNvencPresets = void 0;
|
|
8939
|
+
function getCachedNvencPresets() {
|
|
8940
|
+
cachedNvencPresets ??= readNvencPresets();
|
|
8941
|
+
return cachedNvencPresets;
|
|
8942
|
+
}
|
|
8943
|
+
async function readNvencPresets() {
|
|
8944
|
+
const help = await ffmpegStdout(
|
|
8945
|
+
["-hide_banner", "-h", "encoder=h264_nvenc"],
|
|
8946
|
+
GPU_PROBE_TIMEOUT_MS2,
|
|
8947
|
+
GPU_PROBE_KILL_GRACE_MS
|
|
8948
|
+
).catch(() => null);
|
|
8949
|
+
return help === null ? /* @__PURE__ */ new Set() : parseEncoderPresetNames(help);
|
|
8950
|
+
}
|
|
8900
8951
|
|
|
8901
8952
|
// ../engine/src/utils/hdr.ts
|
|
8902
8953
|
function isHdrColorSpace(cs) {
|
|
@@ -10251,7 +10302,7 @@ function appendRateCapArgs(args, options) {
|
|
|
10251
10302
|
}
|
|
10252
10303
|
args.push("-maxrate", String(Math.round(cap)), "-bufsize", String(Math.round(buffer)));
|
|
10253
10304
|
}
|
|
10254
|
-
function buildEncoderArgs(options, inputArgs, outputPath, gpuEncoder = null) {
|
|
10305
|
+
function buildEncoderArgs(options, inputArgs, outputPath, gpuEncoder = null, nvencPresets) {
|
|
10255
10306
|
const {
|
|
10256
10307
|
fps,
|
|
10257
10308
|
codec = "h264",
|
|
@@ -10277,7 +10328,7 @@ function buildEncoderArgs(options, inputArgs, outputPath, gpuEncoder = null) {
|
|
|
10277
10328
|
args.push("-c:v", encoderName);
|
|
10278
10329
|
switch (gpuEncoder) {
|
|
10279
10330
|
case "nvenc":
|
|
10280
|
-
args.push("-preset", mapPresetForGpuEncoder("nvenc", preset));
|
|
10331
|
+
args.push("-preset", mapPresetForGpuEncoder("nvenc", preset, nvencPresets));
|
|
10281
10332
|
if (bitrate) args.push("-b:v", bitrate);
|
|
10282
10333
|
else args.push("-cq", String(quality));
|
|
10283
10334
|
break;
|
|
@@ -10458,7 +10509,8 @@ async function encodeFramesFromDir(framesDir, framePattern, outputPath, options,
|
|
|
10458
10509
|
}
|
|
10459
10510
|
const inputPath = frameSequencePath(framesDir, framePattern);
|
|
10460
10511
|
const inputArgs = ["-framerate", fpsToFfmpegArg(options.fps), "-i", inputPath];
|
|
10461
|
-
const
|
|
10512
|
+
const nvencPresets = gpuEncoder === "nvenc" ? await getCachedNvencPresets() : void 0;
|
|
10513
|
+
const args = buildEncoderArgs(options, inputArgs, outputPath, gpuEncoder, nvencPresets);
|
|
10462
10514
|
const encodeTimeout = config?.ffmpegEncodeTimeout ?? DEFAULT_CONFIG.ffmpegEncodeTimeout;
|
|
10463
10515
|
let framesRead = 0;
|
|
10464
10516
|
const result = await runFfmpeg(args, {
|
|
@@ -10586,7 +10638,8 @@ async function encodeFramesChunkedConcat(framesDir, framePattern, outputPath, op
|
|
|
10586
10638
|
];
|
|
10587
10639
|
let gpuEncoder = null;
|
|
10588
10640
|
if (options.useGpu) gpuEncoder = await getCachedGpuEncoder();
|
|
10589
|
-
const
|
|
10641
|
+
const nvencPresets = gpuEncoder === "nvenc" ? await getCachedNvencPresets() : void 0;
|
|
10642
|
+
const args = buildEncoderArgs(options, inputArgs, chunkPath, gpuEncoder, nvencPresets);
|
|
10590
10643
|
const encodeTimeout = config?.ffmpegEncodeTimeout ?? DEFAULT_CONFIG.ffmpegEncodeTimeout;
|
|
10591
10644
|
let framesRead = 0;
|
|
10592
10645
|
const processResult = await runFfmpeg(args, {
|
|
@@ -10925,7 +10978,7 @@ function createFrameReorderBuffer(startFrame, endFrame) {
|
|
|
10925
10978
|
};
|
|
10926
10979
|
return { waitForFrame, advanceTo, waitForAllDone, abort };
|
|
10927
10980
|
}
|
|
10928
|
-
function buildStreamingArgs(options, outputPath, gpuEncoder = null) {
|
|
10981
|
+
function buildStreamingArgs(options, outputPath, gpuEncoder = null, nvencPresets) {
|
|
10929
10982
|
const {
|
|
10930
10983
|
fps,
|
|
10931
10984
|
codec = "h264",
|
|
@@ -10988,7 +11041,7 @@ function buildStreamingArgs(options, outputPath, gpuEncoder = null) {
|
|
|
10988
11041
|
args.push("-c:v", encoderName);
|
|
10989
11042
|
switch (gpuEncoder) {
|
|
10990
11043
|
case "nvenc":
|
|
10991
|
-
args.push("-preset", mapPresetForGpuEncoder("nvenc", preset));
|
|
11044
|
+
args.push("-preset", mapPresetForGpuEncoder("nvenc", preset, nvencPresets));
|
|
10992
11045
|
if (bitrate) args.push("-b:v", bitrate);
|
|
10993
11046
|
else args.push("-cq", String(quality));
|
|
10994
11047
|
break;
|
|
@@ -11104,7 +11157,7 @@ function buildStreamingArgs(options, outputPath, gpuEncoder = null) {
|
|
|
11104
11157
|
);
|
|
11105
11158
|
args.push(
|
|
11106
11159
|
"-filter_complex",
|
|
11107
|
-
`${video};[0:v]format=rgba[o];[v][o]overlay=format=gbrp,${tail2}[vout]`,
|
|
11160
|
+
`${video};[0:v]format=rgba[o];[v][o]overlay=eof_action=endall:format=gbrp,${tail2}[vout]`,
|
|
11108
11161
|
"-map",
|
|
11109
11162
|
"[vout]"
|
|
11110
11163
|
);
|
|
@@ -11131,7 +11184,8 @@ async function spawnStreamingEncoder(outputPath, options, signal, config) {
|
|
|
11131
11184
|
if (options.useGpu) {
|
|
11132
11185
|
gpuEncoder = await getCachedGpuEncoder();
|
|
11133
11186
|
}
|
|
11134
|
-
const
|
|
11187
|
+
const nvencPresets = gpuEncoder === "nvenc" ? await getCachedNvencPresets() : void 0;
|
|
11188
|
+
const args = buildStreamingArgs(options, outputPath, gpuEncoder, nvencPresets);
|
|
11135
11189
|
const ffmpeg = spawn5(getFfmpegBinary(), args, {
|
|
11136
11190
|
stdio: ["pipe", "pipe", "pipe"],
|
|
11137
11191
|
// See runFfmpeg.ts: keeps a console window off the user's desktop on Windows.
|
|
@@ -13404,9 +13458,10 @@ function videoFilterChain(input) {
|
|
|
13404
13458
|
}
|
|
13405
13459
|
return (seek) => [...head, ...sampling(seek), ...tail2];
|
|
13406
13460
|
}
|
|
13461
|
+
var VIDEO_LAYER_TAIL_SLACK_SECONDS = 0.5;
|
|
13407
13462
|
async function buildVideoLayerInput(videoPath, startTime, duration, fps, canvas, fit = "fill") {
|
|
13408
13463
|
const metadata = await extractMediaMetadata(videoPath);
|
|
13409
|
-
if (startTime + duration > resolvePlayableVideoDuration(metadata) +
|
|
13464
|
+
if (startTime + duration > resolvePlayableVideoDuration(metadata) + VIDEO_LAYER_TAIL_SLACK_SECONDS || isHdrColorSpace(metadata.colorSpace) || metadata.isVFR || metadata.hasAlpha || codecMayHaveAlpha(metadata.videoCodec)) {
|
|
13410
13465
|
return void 0;
|
|
13411
13466
|
}
|
|
13412
13467
|
const chain = videoFilterChain({
|
|
@@ -13423,6 +13478,7 @@ async function buildVideoLayerInput(videoPath, startTime, duration, fps, canvas,
|
|
|
13423
13478
|
fit === "cover" ? `scale=${canvas.width}:${canvas.height}:force_original_aspect_ratio=increase:flags=bicubic,crop=${canvas.width}:${canvas.height}` : `scale=${canvas.width}:${canvas.height}:flags=bicubic`
|
|
13424
13479
|
);
|
|
13425
13480
|
}
|
|
13481
|
+
filters.push(`tpad=stop_mode=clone:stop_duration=${VIDEO_LAYER_TAIL_SLACK_SECONDS * 2}`);
|
|
13426
13482
|
return {
|
|
13427
13483
|
inputArgs: [
|
|
13428
13484
|
"-noaccurate_seek",
|
|
@@ -13430,9 +13486,7 @@ async function buildVideoLayerInput(videoPath, startTime, duration, fps, canvas,
|
|
|
13430
13486
|
formatFfmpegSeconds(ffmpegSeekSeconds(metadata, startTime)),
|
|
13431
13487
|
...urlInputArgs(videoPath),
|
|
13432
13488
|
"-i",
|
|
13433
|
-
videoPath
|
|
13434
|
-
"-t",
|
|
13435
|
-
formatFfmpegSeconds(duration)
|
|
13489
|
+
videoPath
|
|
13436
13490
|
],
|
|
13437
13491
|
filters
|
|
13438
13492
|
};
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6TXW6LHH.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-6H4ENHBH.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-E2GNVQSH.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SANQC4QD.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -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-RG7WG2BC.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-AW3XJY4S.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AI6Z7BVD.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6TXW6LHH.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IZRC24DI.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SBQV5FLG.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveReferencedDuration,
|
|
37
37
|
resolveReferencedStart
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AI6Z7BVD.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-5LOZWO2M.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6TXW6LHH.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IZRC24DI.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -6,33 +6,33 @@ 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-SPN4SJV7.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FFCQR7AP.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PVLG6IY4.js";
|
|
20
20
|
import {
|
|
21
21
|
runFfmpeg
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-E2GNVQSH.js";
|
|
23
23
|
import {
|
|
24
24
|
initialModelForLanguage,
|
|
25
25
|
transcribe
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TJPZYMYX.js";
|
|
27
27
|
import {
|
|
28
28
|
createRenderCancellationScope,
|
|
29
29
|
stoppedByCancelSignal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VHREBR3T.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_MODEL,
|
|
33
33
|
findWhisper,
|
|
34
34
|
isWhisperUnavailable
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-YKOHWGUC.js";
|
|
36
36
|
import {
|
|
37
37
|
formatSrt,
|
|
38
38
|
formatVtt,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KU6VRNJF.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SBQV5FLG.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TJPZYMYX.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VHREBR3T.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K6YHKCVX.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-T5ELONXY.js";
|
|
@@ -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-V7BBBD5C.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|