hyperframes 0.9.4 → 0.9.6
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-KGLQRDOR.js → add-FI2ERBMZ.js} +11 -11
- package/dist/{agentPromptGenerator-43OTO3ZQ.js → agentPromptGenerator-DZTXHJV3.js} +5 -5
- package/dist/{animatedGifPrep-AELBI6OZ.js → animatedGifPrep-GXQA4KCD.js} +5 -5
- package/dist/api.d.ts +2 -0
- package/dist/api.js +19 -19
- package/dist/{asset-IDDA6YDA.js → asset-BRSG6JNL.js} +2 -2
- package/dist/{assetCataloger-3ODHJX74.js → assetCataloger-KVWF4SRK.js} +6 -6
- package/dist/{audio-YL5WE2ZH.js → audio-BVZOX6LU.js} +502 -143
- package/dist/{auth-73AQ4C6J.js → auth-HFFN7USX.js} +2 -2
- package/dist/{autoUpdate-PRACQEE2.js → autoUpdate-JNGMUXLZ.js} +2 -2
- package/dist/{backgroundChecks-GF7DD3CT.js → backgroundChecks-O4ADPXOL.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-PHXZBVEA.js → batchRender-A2HW6QW7.js} +3 -3
- package/dist/{beats-RIYL6FAW.js → beats-F7Q3G6VW.js} +7 -7
- package/dist/{benchmark-ZXWBR4Q2.js → benchmark-4BDMIYTW.js} +8 -8
- package/dist/{billing-FFWAEIQ6.js → billing-35NVMZWK.js} +1 -1
- package/dist/{browser-RQVUIRKR.js → browser-S6ADXSB7.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-U23CIGZT.js → bundleWithLocalizedFonts-EE27EYEU.js} +2 -2
- package/dist/{capture-XLIZO7S4.js → capture-CXDJO524.js} +18 -18
- package/dist/{capture-DKLV3MKZ.js → capture-LWWBL6SH.js} +3 -3
- package/dist/{captureCompositionFrame-IDLA33HO.js → captureCompositionFrame-BB2ZGM6R.js} +10 -10
- package/dist/{catalog-GCEMAJ2A.js → catalog-RQ6HIUBG.js} +18 -15
- package/dist/{catch-up-JGEVDQYE.js → catch-up-PBAXR7FI.js} +4 -4
- package/dist/{check-UFFVDSOH.js → check-O4V4UWE3.js} +35 -35
- package/dist/{checkAudio-AJHD4QXP.js → checkAudio-EUT3AO3L.js} +8 -8
- package/dist/{checkBrowser-HZPWQLY6.js → checkBrowser-QQUBR4QI.js} +29 -29
- package/dist/{chunk-R4KSPN37.js → chunk-27AVZR7K.js} +17 -17
- package/dist/{chunk-Y5PWLNW3.js → chunk-2FNUCIHD.js} +1 -1
- package/dist/{chunk-KXU3FDXG.js → chunk-2KO357TJ.js} +1 -1
- package/dist/chunk-2KYY75JP.js +134 -0
- package/dist/{chunk-HVWZ5V2N.js → chunk-3SB24TVT.js} +1 -1
- package/dist/{chunk-BXE6GDIL.js → chunk-44T2V4EW.js} +1 -1
- package/dist/{chunk-LSFXDBHZ.js → chunk-47IBOMXH.js} +3 -3
- package/dist/{chunk-VUGARSNN.js → chunk-4E7G2GME.js} +1 -1
- package/dist/{chunk-VBR3OBZU.js → chunk-4III3SDC.js} +9 -9
- package/dist/{chunk-CS6UO5NC.js → chunk-4VOK22DG.js} +1 -1
- package/dist/{chunk-G5X2YP75.js → chunk-5BCFV2HE.js} +3 -3
- package/dist/{chunk-5T2D2XYR.js → chunk-6GZB32Q5.js} +1 -1
- package/dist/{chunk-HWIGWPIG.js → chunk-6JMNJYYR.js} +1 -1
- package/dist/{chunk-SYHDFH34.js → chunk-6UOHLXVU.js} +2 -2
- package/dist/{chunk-T6NMZNAE.js → chunk-7DKGU6CY.js} +2 -2
- package/dist/{chunk-CPXT5NUE.js → chunk-AB3ZXWI3.js} +1 -1
- package/dist/{chunk-OKMXRVAN.js → chunk-APVBITVZ.js} +55 -16
- package/dist/{chunk-AVJDYPVP.js → chunk-BIJBGCF4.js} +1 -1
- package/dist/{chunk-C3OOOE6D.js → chunk-BMRZP6X6.js} +1 -1
- package/dist/{chunk-EYYILEMR.js → chunk-BQQTZET2.js} +2 -2
- package/dist/{chunk-RDE3O5OK.js → chunk-BUDP4GF4.js} +1 -1
- package/dist/{chunk-VSDUDDHB.js → chunk-C47ZGVKT.js} +7 -7
- package/dist/{chunk-7UVXHPVS.js → chunk-CUAZHDVV.js} +3 -3
- package/dist/{chunk-XZ2DZYFD.js → chunk-DETBSOYO.js} +1 -1
- package/dist/{chunk-DAF2SYII.js → chunk-DUSSDJJC.js} +2 -2
- package/dist/{chunk-CQL77BAS.js → chunk-E2VWKW2A.js} +2 -2
- package/dist/{chunk-IWMVCOUX.js → chunk-FB366S4I.js} +5 -5
- package/dist/{chunk-YL6X26WT.js → chunk-FDZXVTBY.js} +1 -1
- package/dist/{chunk-W6NEVGAE.js → chunk-FIIFME5M.js} +1 -1
- package/dist/{chunk-OOGTMIN4.js → chunk-FM7VWSN3.js} +1 -1
- package/dist/{chunk-MYTROPEC.js → chunk-FP37FSOT.js} +2 -2
- package/dist/{chunk-SEFLUI7L.js → chunk-G4VDT5D7.js} +1 -1
- package/dist/{chunk-WRIA42TA.js → chunk-GKVERDJ2.js} +1 -1
- package/dist/{chunk-XHLPTVXH.js → chunk-GP7OHHXR.js} +1 -1
- package/dist/{chunk-KW2ZREKY.js → chunk-GR3LU4D5.js} +1 -1
- package/dist/{chunk-QAB2ZMFL.js → chunk-GYPSZFRF.js} +2 -2
- package/dist/{chunk-ZDBN76JQ.js → chunk-HTTGTROQ.js} +1 -1
- package/dist/{chunk-UWNLBTFA.js → chunk-I2OMLFBJ.js} +1 -1
- package/dist/{chunk-LBETJASR.js → chunk-I47SIQGX.js} +4 -4
- package/dist/{chunk-K3AKRESE.js → chunk-IG3GSBHB.js} +2 -2
- package/dist/{chunk-6LDW4TLQ.js → chunk-IVFZG3CU.js} +2 -2
- package/dist/{chunk-HZMM3D6P.js → chunk-JFIBO4CZ.js} +1 -1
- package/dist/{chunk-2RLI5ISA.js → chunk-JLKEXS4I.js} +2 -2
- package/dist/{chunk-SGTO3Y2K.js → chunk-JLLNDU2F.js} +84 -8
- package/dist/{chunk-TGX5AWVQ.js → chunk-KAWNVSAE.js} +7 -7
- package/dist/{chunk-DUZII3C4.js → chunk-KJDQS24S.js} +2 -2
- package/dist/{chunk-NYQRWXZZ.js → chunk-KJLZZ4MY.js} +1 -1
- package/dist/{chunk-EOVTVB5X.js → chunk-KXAGCBVO.js} +250 -137
- package/dist/{chunk-7SYZRT4L.js → chunk-L6MNWJTL.js} +1 -1
- package/dist/{chunk-Q4PFOT6Z.js → chunk-LS4CCRTK.js} +1 -1
- package/dist/{chunk-VGARKT5Y.js → chunk-M4WEGGF7.js} +2 -2
- package/dist/{chunk-ZXD4YXXC.js → chunk-ODKXNWDL.js} +2 -2
- package/dist/{chunk-6U4EV64B.js → chunk-P5GOQDA2.js} +8 -8
- package/dist/{chunk-GS4C2FNZ.js → chunk-PWYAOU4I.js} +1 -1
- package/dist/{chunk-IIBNGLEX.js → chunk-QDB7EFLI.js} +259 -50
- package/dist/{chunk-5PKNT2BQ.js → chunk-RYNMIBZM.js} +2 -2
- package/dist/{chunk-65ERKMRH.js → chunk-SAWXMCHB.js} +1 -1
- package/dist/{chunk-A2PZLDHN.js → chunk-SWWDVPVO.js} +7 -4
- package/dist/{chunk-KBKDDTOZ.js → chunk-T57ARBNR.js} +7 -7
- package/dist/{chunk-VGIEM4JZ.js → chunk-TIXW6JWD.js} +1 -1
- package/dist/chunk-TNWWLO4T.js +5030 -0
- package/dist/{chunk-R5XOR2IO.js → chunk-TS4HYR6I.js} +1 -1
- package/dist/{chunk-AQW3ZDDM.js → chunk-VFOCEFRZ.js} +5 -5
- package/dist/{chunk-SXGR4GCO.js → chunk-VG4JPJMI.js} +2 -2
- package/dist/{chunk-TLYTMIXP.js → chunk-VWRIARRR.js} +12 -12
- package/dist/{chunk-T46SP3UD.js → chunk-W3G7DNCR.js} +2 -2
- package/dist/{chunk-6OBVJUMS.js → chunk-WCET3OHQ.js} +4 -4
- package/dist/{chunk-U7DQYDRQ.js → chunk-XC3LDNBH.js} +1 -1
- package/dist/{chunk-VVPDROQU.js → chunk-YDG5LVIK.js} +4 -4
- package/dist/{chunk-QT7F5JKP.js → chunk-YFISKULK.js} +2 -2
- package/dist/{chunk-F4LQGW5F.js → chunk-YIWNZ2CI.js} +13 -13
- package/dist/{chunk-WTUIK6Y4.js → chunk-YOZPHSYV.js} +2 -0
- package/dist/{chunk-DRXVRDUX.js → chunk-YUMVQB2F.js} +1 -1
- package/dist/{chunk-YBFS5PCE.js → chunk-YVUOJW4H.js} +1 -1
- package/dist/{chunk-FI7SOWBQ.js → chunk-YY7YI2FW.js} +1 -1
- package/dist/{chunk-RISL4HHS.js → chunk-ZP3LPFTA.js} +9 -9
- package/dist/{chunk-5NWS6KLM.js → chunk-ZR2GMFNH.js} +2 -2
- package/dist/{chunk-H7KAHDJJ.js → chunk-ZV5GD5LV.js} +3 -3
- package/dist/{clean-T7DQNAR2.js → clean-2AFJGFIG.js} +15 -15
- package/dist/cli.js +58 -57
- package/dist/{cloud-S4DTHZEW.js → cloud-JM5MFMVV.js} +4 -4
- package/dist/{cloudrun-TWSNNKIV.js → cloudrun-PNVETMPA.js} +4 -4
- package/dist/{compare-UZS33RAM.js → compare-ST4DXEMX.js} +26 -26
- package/dist/{compiler-SKQTN3EA.js → compiler-UCX3MZVN.js} +2 -2
- package/dist/{component-RHX4425M.js → component-ECFJIDUD.js} +3 -3
- package/dist/{compositions-PE5F4Z6K.js → compositions-ZCAD47PD.js} +9 -9
- package/dist/{curve-NFVM6GS3.js → curve-NYXZWGPO.js} +9 -9
- package/dist/{cuts-EKHMAUOZ.js → cuts-CKUCNNOX.js} +10 -10
- package/dist/{delete-IQQLQS7T.js → delete-MVGSOWSC.js} +2 -2
- package/dist/{deploy-GG24Q4EE.js → deploy-WBKPSWPG.js} +4 -4
- package/dist/{describeProject-DCUVSIOQ.js → describeProject-ZDI5B6JO.js} +6 -6
- package/dist/{diff-IQVYEYA3.js → diff-3UYDXIEZ.js} +21 -21
- package/dist/{dist-4KKPG6A5.js → dist-XRAW3URT.js} +2 -2
- package/dist/{doctor-BEFL6PWV.js → doctor-A4HMMBII.js} +9 -9
- package/dist/{energy-LZY5CQVP.js → energy-RN6KTYH6.js} +10 -10
- package/dist/{events-C335VVXI.js → events-6NE2NRCQ.js} +12 -12
- package/dist/{events-VSDE4FFW.js → events-AO3FEPL3.js} +3 -3
- package/dist/{events-Z4I2YBA4.js → events-LSEMS2LO.js} +2 -2
- package/dist/{extract-N4KV7KUQ.js → extract-6UO4QR77.js} +10 -10
- package/dist/{face-DCKACTUC.js → face-FTKPGC2O.js} +10 -10
- package/dist/{feedback-FQ2P62K7.js → feedback-GSKVBGA7.js} +6 -6
- package/dist/{ffmpeg-HYYU3M6K.js → ffmpeg-HPMQUKY4.js} +5 -5
- package/dist/{figma-JWZLYFMJ.js → figma-UIWB3XSX.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-Z6ATQUGJ.js → frames-U3LLSXSV.js} +11 -11
- package/dist/{generate-FHVQMXVB.js → generate-AFCKBHGB.js} +13 -13
- package/dist/{get-FBUXTOJS.js → get-J3TJCAZW.js} +2 -2
- package/dist/{gpuPolicy-MNPLXHRJ.js → gpuPolicy-W2OEEW7Y.js} +5 -5
- package/dist/{grade-compare-ELKVVO7W.js → grade-compare-AOXNJ53Z.js} +27 -27
- package/dist/{heifImagePrep-ALPO36IR.js → heifImagePrep-4RSVCLPX.js} +6 -6
- package/dist/{help-JHGASQ27.js → help-5NYIBLJJ.js} +2 -1
- package/dist/{history-R3MGVTZ2.js → history-KAXYCLVT.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +90 -3
- package/dist/{info-G4NZMSC5.js → info-Z6KNUMH6.js} +7 -7
- package/dist/{init-DS4YZTWE.js → init-GSMXQX3U.js} +30 -27
- package/dist/{ink-6KESLHVK.js → ink-IPPBJFH3.js} +10 -10
- package/dist/{inspect-T3YH6Y7Z.js → inspect-MXIGEN6Z.js} +27 -27
- package/dist/{installer-YVNEAOSW.js → installer-JXI2JC3T.js} +4 -4
- package/dist/{keyframes-6QMTPUAB.js → keyframes-Z53YGH5F.js} +6 -6
- package/dist/{lambda-PVKMQ5RR.js → lambda-KD7ZRYVK.js} +9 -9
- package/dist/{layout-ZNH7EW6L.js → layout-NLDWEPDQ.js} +27 -27
- package/dist/{lint-FF7YK3QK.js → lint-MSZMGQO5.js} +6 -6
- package/dist/{list-TJTH6NN6.js → list-OLNBKKB4.js} +2 -2
- package/dist/{localPage-TUWJD4GJ.js → localPage-BQ2LKHED.js} +5 -5
- package/dist/{login-3GRKVAMH.js → login-TBJVG5PZ.js} +4 -4
- package/dist/{look-5ZFSZPPB.js → look-T5V6JBD5.js} +10 -10
- package/dist/{manager-POO6RLB4.js → manager-FHVSGJNR.js} +6 -6
- package/dist/{measure-OYR7XHOE.js → measure-KI3XY2MJ.js} +11 -11
- package/dist/{media-treatment-PJ3NZ2PR.js → media-treatment-UZI55RS3.js} +11 -11
- package/dist/{media-use-PQUFJ2ZJ.js → media-use-2PIPVWX4.js} +1 -1
- package/dist/{models-RCJQAORM.js → models-MV4HBZKZ.js} +9 -9
- package/dist/{motionShot-2UAWH6B2.js → motionShot-A3TWOBRE.js} +13 -13
- package/dist/{normalize-audio-ESIM3KEX.js → normalize-audio-37WYHLP4.js} +8 -8
- package/dist/{open-A3DRPHEK.js → open-4PPPV45S.js} +11 -11
- package/dist/{parakeetRunner-W2EYPYLF.js → parakeetRunner-J22MMWSM.js} +10 -10
- package/dist/{pipeline-KIFB5R5M.js → pipeline-GE4LBTRO.js} +8 -8
- package/dist/{play-26X5I67T.js → play-MZSW7GIL.js} +18 -18
- package/dist/{preflight-RF5UZJUA.js → preflight-NXMN7P4B.js} +6 -6
- package/dist/{present-7IFGQBVD.js → present-TWZLASXI.js} +14 -14
- package/dist/{preview-IAMB4ULR.js → preview-OEXP2RPO.js} +16 -16
- package/dist/probe-HNAD6ACH.js +69 -0
- package/dist/{producer-6NKNMOIT.js → producer-E4AN4ADM.js} +1 -1
- package/dist/{projectConfig-MYKQOOIG.js → projectConfig-HKWVTV5Q.js} +10 -6
- package/dist/{publication-BS2YATIF.js → publication-DTIE7G2E.js} +2 -2
- package/dist/{publish-3BUTNKVA.js → publish-CUU5W6CP.js} +8 -8
- package/dist/{remove-background-PEJXPBJA.js → remove-background-2MRQ3YH4.js} +9 -9
- package/dist/{render-W72TDIHA.js → render-EEIQAOGV.js} +34 -15
- package/dist/{render-3FANM5MO.js → render-JP6JUXWP.js} +5 -5
- package/dist/{render-HGGE5CBB.js → render-QRWGJUCD.js} +37 -32
- package/dist/{render-batch-DPWJHKFY.js → render-batch-46SYPMYV.js} +5 -5
- package/dist/{resolver-5IXI5IFJ.js → resolver-DPRCISSD.js} +4 -4
- package/dist/reverse-MY6DSOXL.js +32 -0
- package/dist/{run-MTGSR5HH.js → run-2VGZ3URU.js} +1 -1
- package/dist/{sherpa-4GLU4QU7.js → sherpa-5LOEXZ46.js} +9 -9
- package/dist/{skills-3IEY3EGH.js → skills-BBHR4SHX.js} +5 -5
- package/dist/{skillsUpdateCheck-6HQLY6GT.js → skillsUpdateCheck-HBOVCIXG.js} +3 -3
- package/dist/{snapshot-UNRFRCCW.js → snapshot-S264O54Z.js} +31 -31
- package/dist/{src-FT34LZAJ.js → src-G2EK32ZO.js} +15 -7
- package/dist/{src-VWCIVPJX.js → src-GLO4X3WA.js} +20 -4
- package/dist/start-6AFMEXPO.js +226 -0
- package/dist/{staticProjectServer-WFK4N6P3.js → staticProjectServer-KWSV5IRS.js} +16 -16
- package/dist/{status-Z5BPMROD.js → status-5ZRM4R4N.js} +1 -1
- package/dist/studio/assets/hyperframes-player-CGO8wE5a.js +565 -0
- package/dist/studio/assets/{index-EB7sh_Tw.js → index-COtefOSM.js} +1 -1
- package/dist/studio/assets/{index-h1lPtzPa.js → index-DHPJjAUV.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-OTNMLH4B.js → studio-api-JJO6VEFD.js} +8 -8
- package/dist/{studioServer-3CHSYLFZ.js → studioServer-YFZIESIH.js} +45 -45
- package/dist/{sync-2IZJ7HAC.js → sync-DBMNZ32Z.js} +10 -10
- package/dist/{telemetry-DHLLX5EC.js → telemetry-OPZTKPDG.js} +3 -3
- package/dist/{timeline-TK4RV66K.js → timeline-MCJUCDME.js} +16 -16
- package/dist/{tokens-PV67HFRX.js → tokens-3DREMPWC.js} +2 -2
- package/dist/{transcribe-HJ3AWR2D.js → transcribe-AU7TPKMU.js} +8 -8
- package/dist/{transcribe-5HXQG64W.js → transcribe-TMGPK6FM.js} +17 -17
- package/dist/{updateCheck-EI4WIVIS.js → updateCheck-YKTRFFFV.js} +2 -2
- package/dist/{upgrade-ADM4CRK4.js → upgrade-UAKM3KAT.js} +2 -2
- package/dist/{urlDownloader-6TM5CH5Q.js → urlDownloader-77YL7TXO.js} +4 -4
- package/dist/{validate-K27UCOGM.js → validate-SR35R3QM.js} +21 -21
- package/dist/{video-KAN4FULD.js → video-GNMQTE4D.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +1 -1
- package/dist/chunk-2YQ2XYO5.js +0 -5030
- package/dist/probe-EZS36TUR.js +0 -179
- package/dist/studio/assets/hyperframes-player--MmARLPY.js +0 -478
|
@@ -6,6 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
9
|
+
BT709_LIMITED,
|
|
9
10
|
BrowserLeasePool,
|
|
10
11
|
CaptureFailure,
|
|
11
12
|
DEFAULT_CONFIG,
|
|
@@ -36,6 +37,7 @@ import {
|
|
|
36
37
|
PROVENANCE_RENDERER_TAG,
|
|
37
38
|
PROVENANCE_VERSION,
|
|
38
39
|
PROVENANCE_VERSION_TAG,
|
|
40
|
+
REFERENCE_BACKGROUND_FIELD,
|
|
39
41
|
SDR_RGB_TO_BT709_FILTER,
|
|
40
42
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
41
43
|
SwiftShaderAssertionError,
|
|
@@ -69,6 +71,7 @@ import {
|
|
|
69
71
|
blitRgb48leRegion,
|
|
70
72
|
blitRgba8OverRgb48le,
|
|
71
73
|
buildChromeArgs,
|
|
74
|
+
buildChunkStreamingArgs,
|
|
72
75
|
buildConcatArgs,
|
|
73
76
|
buildEncoderArgs,
|
|
74
77
|
buildHdrChromeArgs,
|
|
@@ -99,6 +102,7 @@ import {
|
|
|
99
102
|
createFileServer,
|
|
100
103
|
createFrameLookupTable,
|
|
101
104
|
createFrameReorderBuffer,
|
|
105
|
+
createReferenceBackgroundRecorder,
|
|
102
106
|
createVideoFrameInjector,
|
|
103
107
|
declareContentAddressedUrl,
|
|
104
108
|
declareProbeFactsUrl,
|
|
@@ -211,11 +215,13 @@ import {
|
|
|
211
215
|
qualifyVideoLayer,
|
|
212
216
|
queryElementStacking,
|
|
213
217
|
queryVideoElementBounds,
|
|
218
|
+
readReferenceBackground,
|
|
214
219
|
readRenderProvenance,
|
|
215
220
|
readWebGlVendorInfo,
|
|
216
221
|
readWebGlVendorInfoFromCanvas,
|
|
217
222
|
rebaseVideoToWindow,
|
|
218
223
|
recaptureDrawElementFrameForVerify,
|
|
224
|
+
referenceBackgroundResult,
|
|
219
225
|
releaseBrowser,
|
|
220
226
|
removeDomLayerMask,
|
|
221
227
|
renderProvenanceArgs,
|
|
@@ -227,6 +233,7 @@ import {
|
|
|
227
233
|
resolveFinalFrameExtractionWindow,
|
|
228
234
|
resolveFrameFormat,
|
|
229
235
|
resolveHeadlessShellPath,
|
|
236
|
+
resolveInPageEncode,
|
|
230
237
|
resolvePageNavigationTimeout,
|
|
231
238
|
resolvePlayableVideoDuration,
|
|
232
239
|
resolveTimelineExtractionWindow,
|
|
@@ -248,6 +255,7 @@ import {
|
|
|
248
255
|
shouldClampToScreenshotForConcreteGpu,
|
|
249
256
|
shouldDisableBrowserPoolForParallelWorker,
|
|
250
257
|
showVideoElements,
|
|
258
|
+
spawnChunkStreamingEncoder,
|
|
251
259
|
spawnStreamingEncoder,
|
|
252
260
|
syncVideoFrameVisibility,
|
|
253
261
|
trackChildProcess,
|
|
@@ -261,11 +269,11 @@ import {
|
|
|
261
269
|
waitForImagesReady,
|
|
262
270
|
writeCapturedFrame,
|
|
263
271
|
writeUrlDownloadTelemetry
|
|
264
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-QDB7EFLI.js";
|
|
265
273
|
import "./chunk-Z5J67X44.js";
|
|
266
274
|
import "./chunk-5S7W3TUO.js";
|
|
267
275
|
import "./chunk-D3MUHMFG.js";
|
|
268
|
-
import "./chunk-
|
|
276
|
+
import "./chunk-JFIBO4CZ.js";
|
|
269
277
|
import {
|
|
270
278
|
collectScratchLeftovers,
|
|
271
279
|
removeScratch,
|
|
@@ -275,9 +283,9 @@ import {
|
|
|
275
283
|
import {
|
|
276
284
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
277
285
|
quantizeTimeToFrame
|
|
278
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-6JMNJYYR.js";
|
|
279
287
|
import "./chunk-MEJH7VEA.js";
|
|
280
|
-
import "./chunk-
|
|
288
|
+
import "./chunk-TNWWLO4T.js";
|
|
281
289
|
import "./chunk-VC76R6W2.js";
|
|
282
290
|
import "./chunk-OFQWTKPW.js";
|
|
283
291
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -327,6 +335,7 @@ import "./chunk-7KDQAD2W.js";
|
|
|
327
335
|
import "./chunk-M2WBOQ2Q.js";
|
|
328
336
|
export {
|
|
329
337
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
338
|
+
BT709_LIMITED,
|
|
330
339
|
BrowserLeasePool,
|
|
331
340
|
CaptureFailure,
|
|
332
341
|
DEFAULT_CONFIG,
|
|
@@ -361,6 +370,7 @@ export {
|
|
|
361
370
|
PROVENANCE_RENDERER_TAG,
|
|
362
371
|
PROVENANCE_VERSION,
|
|
363
372
|
PROVENANCE_VERSION_TAG,
|
|
373
|
+
REFERENCE_BACKGROUND_FIELD,
|
|
364
374
|
SDR_RGB_TO_BT709_FILTER,
|
|
365
375
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
366
376
|
SwiftShaderAssertionError,
|
|
@@ -395,6 +405,7 @@ export {
|
|
|
395
405
|
blitRgb48leRegion,
|
|
396
406
|
blitRgba8OverRgb48le,
|
|
397
407
|
buildChromeArgs,
|
|
408
|
+
buildChunkStreamingArgs,
|
|
398
409
|
buildConcatArgs,
|
|
399
410
|
buildEncoderArgs,
|
|
400
411
|
buildHdrChromeArgs,
|
|
@@ -428,6 +439,7 @@ export {
|
|
|
428
439
|
createFileServer,
|
|
429
440
|
createFrameLookupTable,
|
|
430
441
|
createFrameReorderBuffer,
|
|
442
|
+
createReferenceBackgroundRecorder,
|
|
431
443
|
createVideoFrameInjector,
|
|
432
444
|
crossfade,
|
|
433
445
|
declareContentAddressedUrl,
|
|
@@ -547,11 +559,13 @@ export {
|
|
|
547
559
|
quantizeTimeToFrame,
|
|
548
560
|
queryElementStacking,
|
|
549
561
|
queryVideoElementBounds,
|
|
562
|
+
readReferenceBackground,
|
|
550
563
|
readRenderProvenance,
|
|
551
564
|
readWebGlVendorInfo,
|
|
552
565
|
readWebGlVendorInfoFromCanvas,
|
|
553
566
|
rebaseVideoToWindow,
|
|
554
567
|
recaptureDrawElementFrameForVerify,
|
|
568
|
+
referenceBackgroundResult,
|
|
555
569
|
releaseBrowser,
|
|
556
570
|
removeDomLayerMask,
|
|
557
571
|
removeScratch,
|
|
@@ -566,6 +580,7 @@ export {
|
|
|
566
580
|
resolveFinalFrameExtractionWindow,
|
|
567
581
|
resolveFrameFormat,
|
|
568
582
|
resolveHeadlessShellPath,
|
|
583
|
+
resolveInPageEncode,
|
|
569
584
|
resolvePageNavigationTimeout,
|
|
570
585
|
resolvePlayableVideoDuration,
|
|
571
586
|
resolveProjectRelativeSrc,
|
|
@@ -591,6 +606,7 @@ export {
|
|
|
591
606
|
shouldClampToScreenshotForConcreteGpu,
|
|
592
607
|
shouldDisableBrowserPoolForParallelWorker,
|
|
593
608
|
showVideoElements,
|
|
609
|
+
spawnChunkStreamingEncoder,
|
|
594
610
|
spawnStreamingEncoder,
|
|
595
611
|
syncVideoFrameVisibility,
|
|
596
612
|
trackChildProcess,
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
probeReport
|
|
9
|
+
} from "./chunk-2KYY75JP.js";
|
|
10
|
+
import {
|
|
11
|
+
jsonArg,
|
|
12
|
+
runMeasure,
|
|
13
|
+
videoArg
|
|
14
|
+
} from "./chunk-RYNMIBZM.js";
|
|
15
|
+
import {
|
|
16
|
+
pageUrl,
|
|
17
|
+
readPlan
|
|
18
|
+
} from "./chunk-YOZPHSYV.js";
|
|
19
|
+
import {
|
|
20
|
+
Fix
|
|
21
|
+
} from "./chunk-2KO357TJ.js";
|
|
22
|
+
import {
|
|
23
|
+
resolveCloudAuthHeaders,
|
|
24
|
+
resolveCloudBaseUrl
|
|
25
|
+
} from "./chunk-QEQEKBL7.js";
|
|
26
|
+
import "./chunk-GOPJLAMZ.js";
|
|
27
|
+
import "./chunk-PWYAOU4I.js";
|
|
28
|
+
import {
|
|
29
|
+
normalizeReverseSessionId,
|
|
30
|
+
projectConfigPath,
|
|
31
|
+
readProjectConfig,
|
|
32
|
+
recordProjectReverseSession
|
|
33
|
+
} from "./chunk-APVBITVZ.js";
|
|
34
|
+
import "./chunk-XT7X6QCP.js";
|
|
35
|
+
import "./chunk-5YPMCCCA.js";
|
|
36
|
+
import "./chunk-HVW7ABXD.js";
|
|
37
|
+
import "./chunk-3SB24TVT.js";
|
|
38
|
+
import "./chunk-JHOCK3DG.js";
|
|
39
|
+
import "./chunk-IG3GSBHB.js";
|
|
40
|
+
import "./chunk-SWWDVPVO.js";
|
|
41
|
+
import "./chunk-AWDFDFI3.js";
|
|
42
|
+
import "./chunk-P6LJ4Y32.js";
|
|
43
|
+
import "./chunk-T2WJO4XM.js";
|
|
44
|
+
import "./chunk-A4ZTSQLW.js";
|
|
45
|
+
import "./chunk-6NJVSTSY.js";
|
|
46
|
+
import {
|
|
47
|
+
defineCommand
|
|
48
|
+
} from "./chunk-DL4OD7IA.js";
|
|
49
|
+
import "./chunk-S3S4TGEH.js";
|
|
50
|
+
import "./chunk-TABWG4IT.js";
|
|
51
|
+
import "./chunk-2GICKZ3I.js";
|
|
52
|
+
import "./chunk-QDB7EFLI.js";
|
|
53
|
+
import "./chunk-Z5J67X44.js";
|
|
54
|
+
import "./chunk-5S7W3TUO.js";
|
|
55
|
+
import "./chunk-D3MUHMFG.js";
|
|
56
|
+
import "./chunk-JFIBO4CZ.js";
|
|
57
|
+
import "./chunk-YWRUQ7XZ.js";
|
|
58
|
+
import "./chunk-6JMNJYYR.js";
|
|
59
|
+
import "./chunk-MEJH7VEA.js";
|
|
60
|
+
import "./chunk-TNWWLO4T.js";
|
|
61
|
+
import "./chunk-VC76R6W2.js";
|
|
62
|
+
import "./chunk-OFQWTKPW.js";
|
|
63
|
+
import "./chunk-RQVDTPGD.js";
|
|
64
|
+
import "./chunk-3GXQPCJC.js";
|
|
65
|
+
import "./chunk-TK7THLRO.js";
|
|
66
|
+
import "./chunk-FXMKHHPO.js";
|
|
67
|
+
import "./chunk-X6JUUQCM.js";
|
|
68
|
+
import "./chunk-KGPLIH7B.js";
|
|
69
|
+
import "./chunk-K4MJX7SR.js";
|
|
70
|
+
import "./chunk-WE42NVH7.js";
|
|
71
|
+
import "./chunk-NASVSJQK.js";
|
|
72
|
+
import "./chunk-HYRPH6LL.js";
|
|
73
|
+
import "./chunk-WVRAFHJU.js";
|
|
74
|
+
import "./chunk-CZGHFATT.js";
|
|
75
|
+
import "./chunk-C2KEGBR3.js";
|
|
76
|
+
import "./chunk-T5ELONXY.js";
|
|
77
|
+
import "./chunk-FR7YBU3H.js";
|
|
78
|
+
import "./chunk-DPVXBVLL.js";
|
|
79
|
+
import "./chunk-GWTIFRF5.js";
|
|
80
|
+
import "./chunk-2RY2LWAA.js";
|
|
81
|
+
import "./chunk-EPQC3FGZ.js";
|
|
82
|
+
import "./chunk-WC4MTXGN.js";
|
|
83
|
+
import "./chunk-FBN2M2HK.js";
|
|
84
|
+
import "./chunk-766MOTIZ.js";
|
|
85
|
+
import "./chunk-L6MNWJTL.js";
|
|
86
|
+
import "./chunk-BR2JQQC5.js";
|
|
87
|
+
import "./chunk-BLBMPEBX.js";
|
|
88
|
+
import "./chunk-ISN5GRYI.js";
|
|
89
|
+
import "./chunk-ADVVQX4I.js";
|
|
90
|
+
import "./chunk-66W5IWLO.js";
|
|
91
|
+
import "./chunk-J3RXEDR2.js";
|
|
92
|
+
import "./chunk-QBXDU24O.js";
|
|
93
|
+
import "./chunk-ODKXNWDL.js";
|
|
94
|
+
import "./chunk-E63BDV4Z.js";
|
|
95
|
+
import "./chunk-G7VEYUZ2.js";
|
|
96
|
+
import "./chunk-XT6MXC7A.js";
|
|
97
|
+
import "./chunk-7KDQAD2W.js";
|
|
98
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
99
|
+
|
|
100
|
+
// src/commands/reverse/start.ts
|
|
101
|
+
import { existsSync } from "fs";
|
|
102
|
+
|
|
103
|
+
// src/heygen/reverse.ts
|
|
104
|
+
var isRecord = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
105
|
+
var api2BaseUrl = () => resolveCloudBaseUrl().replace("://api.", "://api2.");
|
|
106
|
+
function reverseSurface(env = process.env) {
|
|
107
|
+
return env["HYPERFRAMES_CLIENT"]?.trim() ? "desktop" : "cli";
|
|
108
|
+
}
|
|
109
|
+
var PLANS = ["free", "pro", "unknown"];
|
|
110
|
+
var GATES = ["record", "block"];
|
|
111
|
+
function oneOf(value, options) {
|
|
112
|
+
return options.find((option) => option === value);
|
|
113
|
+
}
|
|
114
|
+
function parseSession(body) {
|
|
115
|
+
const data = isRecord(body) && isRecord(body.data) ? body.data : body;
|
|
116
|
+
if (!isRecord(data)) return void 0;
|
|
117
|
+
const sessionId = normalizeReverseSessionId(data.session_id);
|
|
118
|
+
const plan = oneOf(data.plan, PLANS);
|
|
119
|
+
const gate = oneOf(data.gate, GATES);
|
|
120
|
+
if (!sessionId || !plan || !gate) return void 0;
|
|
121
|
+
const upgradeUrl = typeof data.upgrade_url === "string" ? { upgradeUrl: data.upgrade_url } : {};
|
|
122
|
+
return { sessionId, plan, gate, ...upgradeUrl };
|
|
123
|
+
}
|
|
124
|
+
async function fallbackPlan() {
|
|
125
|
+
const plan = await readPlan();
|
|
126
|
+
if (!plan) return void 0;
|
|
127
|
+
return plan.plan === "none" ? "free" : "pro";
|
|
128
|
+
}
|
|
129
|
+
function reverseUpgradeUrl(session) {
|
|
130
|
+
return session?.upgradeUrl ?? pageUrl("plans", { feature: "reverse", rs: session?.sessionId });
|
|
131
|
+
}
|
|
132
|
+
async function startReverseSession(opts = {}) {
|
|
133
|
+
let headers;
|
|
134
|
+
try {
|
|
135
|
+
headers = await resolveCloudAuthHeaders();
|
|
136
|
+
} catch {
|
|
137
|
+
return { recorded: false, reason: "not_signed_in" };
|
|
138
|
+
}
|
|
139
|
+
try {
|
|
140
|
+
const res = await fetch(`${api2BaseUrl()}/v1/hyperframes/reverse/start`, {
|
|
141
|
+
method: "POST",
|
|
142
|
+
headers: { ...headers, "content-type": "application/json", accept: "application/json" },
|
|
143
|
+
body: JSON.stringify({
|
|
144
|
+
surface: opts.surface ?? reverseSurface(),
|
|
145
|
+
...opts.resumeSessionId ? { session_id: opts.resumeSessionId } : {}
|
|
146
|
+
}),
|
|
147
|
+
signal: AbortSignal.timeout(1e4)
|
|
148
|
+
});
|
|
149
|
+
const session = res.ok ? parseSession(await res.json().catch(() => null)) : void 0;
|
|
150
|
+
if (session) return { recorded: true, session };
|
|
151
|
+
} catch {
|
|
152
|
+
}
|
|
153
|
+
const plan = await fallbackPlan().catch(() => void 0);
|
|
154
|
+
return { recorded: false, reason: "unavailable", ...plan ? { plan } : {} };
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// src/commands/reverse/start.ts
|
|
158
|
+
var examples = [
|
|
159
|
+
[
|
|
160
|
+
"Note the run with HeyGen, save its session in the project, and probe the video",
|
|
161
|
+
"hyperframes reverse start ref.mp4 --dir my-rebuild"
|
|
162
|
+
],
|
|
163
|
+
["Resume inside an existing project", "hyperframes reverse start original.mp4"]
|
|
164
|
+
];
|
|
165
|
+
var SKILL = "reverse-any-video";
|
|
166
|
+
function summary(started, savedTo) {
|
|
167
|
+
if (!started.recorded) {
|
|
168
|
+
return {
|
|
169
|
+
signed_in: started.reason !== "not_signed_in",
|
|
170
|
+
plan: started.plan ?? null,
|
|
171
|
+
recorded: false,
|
|
172
|
+
...started.plan === "free" ? { upgrade_url: reverseUpgradeUrl() } : {}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
const { session } = started;
|
|
176
|
+
return {
|
|
177
|
+
signed_in: true,
|
|
178
|
+
plan: session.plan === "unknown" ? null : session.plan,
|
|
179
|
+
recorded: true,
|
|
180
|
+
session_id: session.sessionId,
|
|
181
|
+
gate: session.gate,
|
|
182
|
+
saved_to: savedTo ?? null,
|
|
183
|
+
...session.plan === "free" ? { upgrade_url: reverseUpgradeUrl(session) } : {}
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function refusalWhenServerBlocksFree(session) {
|
|
187
|
+
if (session.gate !== "block" || session.plan !== "free") return void 0;
|
|
188
|
+
const link = reverseUpgradeUrl(session);
|
|
189
|
+
return new Fix(
|
|
190
|
+
`Reverse is part of HyperFrames Pro. Upgrade here, then run reverse start again: ${link}`,
|
|
191
|
+
link
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
var start_default = defineCommand({
|
|
195
|
+
meta: {
|
|
196
|
+
name: "start",
|
|
197
|
+
description: "Note a reverse run with HeyGen (signed in: saves its session in the project), then print the video's probe; stops only when HeyGen blocks a Free account"
|
|
198
|
+
},
|
|
199
|
+
args: {
|
|
200
|
+
video: videoArg,
|
|
201
|
+
dir: {
|
|
202
|
+
type: "string",
|
|
203
|
+
description: "Project folder that keeps the session in hyperframes.json (created when absent; init keeps it). Default: the current folder, when it is a project"
|
|
204
|
+
},
|
|
205
|
+
json: jsonArg
|
|
206
|
+
},
|
|
207
|
+
async run({ args }) {
|
|
208
|
+
await runMeasure(async () => {
|
|
209
|
+
const probe = probeReport(String(args.video));
|
|
210
|
+
const dir = args.dir === void 0 ? void 0 : String(args.dir);
|
|
211
|
+
const projectDir = dir ?? ".";
|
|
212
|
+
const started = await startReverseSession({
|
|
213
|
+
resumeSessionId: readProjectConfig(projectDir)?.reverseSessionId
|
|
214
|
+
});
|
|
215
|
+
const save = started.recorded && (dir !== void 0 || existsSync(projectConfigPath(".")));
|
|
216
|
+
const savedTo = save ? recordProjectReverseSession(projectDir, started.session.sessionId, SKILL) : void 0;
|
|
217
|
+
const refused = started.recorded ? refusalWhenServerBlocksFree(started.session) : void 0;
|
|
218
|
+
if (refused) throw refused;
|
|
219
|
+
return { reverse: summary(started, savedTo), ...probe };
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
export {
|
|
224
|
+
start_default as default,
|
|
225
|
+
examples
|
|
226
|
+
};
|
|
@@ -7,27 +7,27 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
inProcessAnswer,
|
|
9
9
|
serveStaticProjectHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KAWNVSAE.js";
|
|
11
11
|
import "./chunk-X7MTZ4T2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZV5GD5LV.js";
|
|
13
13
|
import "./chunk-XUHOIDKG.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-P5GOQDA2.js";
|
|
15
|
+
import "./chunk-JLKEXS4I.js";
|
|
16
|
+
import "./chunk-FP37FSOT.js";
|
|
17
17
|
import "./chunk-AW3XJY4S.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-W3G7DNCR.js";
|
|
19
|
+
import "./chunk-4VOK22DG.js";
|
|
20
20
|
import "./chunk-UGUYWTWD.js";
|
|
21
21
|
import "./chunk-ALVXFXUG.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GR3LU4D5.js";
|
|
23
|
+
import "./chunk-APVBITVZ.js";
|
|
24
24
|
import "./chunk-XT7X6QCP.js";
|
|
25
25
|
import "./chunk-5YPMCCCA.js";
|
|
26
26
|
import "./chunk-HVW7ABXD.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-3SB24TVT.js";
|
|
28
28
|
import "./chunk-JHOCK3DG.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-IG3GSBHB.js";
|
|
30
|
+
import "./chunk-SWWDVPVO.js";
|
|
31
31
|
import "./chunk-AWDFDFI3.js";
|
|
32
32
|
import "./chunk-P6LJ4Y32.js";
|
|
33
33
|
import "./chunk-T2WJO4XM.js";
|
|
@@ -37,15 +37,15 @@ import "./chunk-TABWG4IT.js";
|
|
|
37
37
|
import "./chunk-VEIGTKYZ.js";
|
|
38
38
|
import "./chunk-EVMY7IPL.js";
|
|
39
39
|
import "./chunk-7FMUTGOH.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-QDB7EFLI.js";
|
|
41
41
|
import "./chunk-Z5J67X44.js";
|
|
42
42
|
import "./chunk-5S7W3TUO.js";
|
|
43
43
|
import "./chunk-D3MUHMFG.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-JFIBO4CZ.js";
|
|
45
45
|
import "./chunk-YWRUQ7XZ.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-6JMNJYYR.js";
|
|
47
47
|
import "./chunk-MEJH7VEA.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-TNWWLO4T.js";
|
|
49
49
|
import "./chunk-VC76R6W2.js";
|
|
50
50
|
import "./chunk-OFQWTKPW.js";
|
|
51
51
|
import "./chunk-RQVDTPGD.js";
|