hyperframes 0.9.50 → 0.9.52
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-MHBYQHUR.js → add-Z6G2DLNE.js} +7 -7
- package/dist/{agentPromptGenerator-LJHTM6QS.js → agentPromptGenerator-RCTC2XXL.js} +10 -11
- package/dist/{animatedGifPrep-V5SQRWAT.js → animatedGifPrep-X7KILCDI.js} +6 -5
- package/dist/api.d.ts +1 -0
- package/dist/api.js +27 -26
- package/dist/{asset-2QF7W45V.js → asset-A3ENWWCU.js} +2 -2
- package/dist/{assetCataloger-HBGLL5OY.js → assetCataloger-TIMZTOYH.js} +5 -5
- package/dist/{audio-ERHWZM2O.js → audio-HMCUO2CV.js} +12 -12
- package/dist/{auth-JNM2N5FK.js → auth-NXR3QM4C.js} +2 -2
- package/dist/{autoUpdate-2A3PNPOQ.js → autoUpdate-TY7P2Z4F.js} +2 -2
- package/dist/{avatars-UXJM3YOF.js → avatars-36MYJUPA.js} +8 -8
- package/dist/{backgroundChecks-FM7JOSDW.js → backgroundChecks-EWWJEGF6.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-BAZOHGIS.js → beats-Z4B4B4KM.js} +7 -7
- package/dist/{benchmark-AWDTJZW2.js → benchmark-PLGO2THH.js} +9 -8
- package/dist/{billing-M7FIGUG3.js → billing-ZIXACCLR.js} +7 -6
- package/dist/{browser-BJBAMHOZ.js → browser-VZFBNASB.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-NWMD2BBQ.js → bundleWithLocalizedFonts-XD2XDEQL.js} +1 -1
- package/dist/{capture-GKI3WNTE.js → capture-BAFLHNDI.js} +28 -15
- package/dist/{capture-V3KIGAHK.js → capture-GC4F54XT.js} +4 -4
- package/dist/{captureCompositionFrame-C3QPXFZZ.js → captureCompositionFrame-YBVEFKWM.js} +7 -7
- package/dist/{catalog-5VRQXFNE.js → catalog-LHOCJUO2.js} +7 -7
- package/dist/{catch-up-IWRZL3T6.js → catch-up-6FNQ6I7Q.js} +7 -6
- package/dist/{check-3TTCBOR5.js → check-S7T5LE6V.js} +28 -27
- package/dist/{checkAudio-WNVIHTTH.js → checkAudio-AKOI4AWK.js} +7 -7
- package/dist/{checkBrowser-IQR4HWS6.js → checkBrowser-NABXGNNM.js} +22 -21
- package/dist/{chunk-HCPT6BJD.js → chunk-24M5C5EQ.js} +1 -1
- package/dist/{chunk-ZI5QVXG4.js → chunk-2AZMG6DR.js} +2 -2
- package/dist/{chunk-JQPR3J5V.js → chunk-2MNSS7PH.js} +2 -2
- package/dist/{chunk-GOZNQ2BU.js → chunk-42JBYXIQ.js} +9 -9
- package/dist/{chunk-QE2G4RUL.js → chunk-445BBSZS.js} +1 -1
- package/dist/{chunk-QLHNKVBG.js → chunk-4FWR7OE3.js} +4 -4
- package/dist/{chunk-CX5Y3TUU.js → chunk-4OHV7UZZ.js} +1 -1
- package/dist/{chunk-VNIVH2ZQ.js → chunk-5B425ZB3.js} +1 -1
- package/dist/{chunk-7H6NEDNA.js → chunk-64T46P7K.js} +2 -2
- package/dist/{chunk-PGY4WFKL.js → chunk-6NGJ55V5.js} +1 -1
- package/dist/{chunk-62R36CZW.js → chunk-6PXVXIC7.js} +21 -5
- package/dist/{chunk-G5M6MZPP.js → chunk-7GVHPY7W.js} +1 -1
- package/dist/{chunk-5SIOKBKO.js → chunk-7QM73IH2.js} +2 -2
- package/dist/chunk-7RLMDAUO.js +60 -0
- package/dist/{chunk-FLDJ5AYW.js → chunk-7SZ7QQJ3.js} +2 -2
- package/dist/{chunk-OHC6GZAK.js → chunk-7VQ3RAKO.js} +9 -9
- package/dist/{chunk-U4CJQ4AU.js → chunk-AMWWQXTC.js} +3 -3
- package/dist/{chunk-4OWHB6Y4.js → chunk-APT2TSYC.js} +1 -1
- package/dist/{chunk-CB3GR7GV.js → chunk-C66O6A2J.js} +2 -2
- package/dist/{chunk-AVBZSLK5.js → chunk-CDK23M57.js} +4 -4
- package/dist/{chunk-747XM6QN.js → chunk-CIGQUDEV.js} +2 -2
- package/dist/{chunk-DSKX5OD2.js → chunk-CIMOTEZB.js} +2 -2
- package/dist/{chunk-GVYDYPMK.js → chunk-CQ5VQNOD.js} +1 -1
- package/dist/{chunk-CGHWDZXR.js → chunk-DE7Q2LWF.js} +2 -2
- package/dist/{chunk-OUABE6YT.js → chunk-DYYAFCZH.js} +1 -1
- package/dist/{chunk-H6GW4MUA.js → chunk-E2KJT7JR.js} +2 -2
- package/dist/{chunk-YTO34UZE.js → chunk-ETXOQXWT.js} +4 -4
- package/dist/{chunk-CII7LO6I.js → chunk-G6QCHM2N.js} +1 -1
- package/dist/{chunk-7YKLBEIC.js → chunk-GEIWJSWN.js} +6 -6
- package/dist/{chunk-XP5X4TKU.js → chunk-H4S3WY2N.js} +1 -1
- package/dist/{chunk-T47SZ3SP.js → chunk-HLXZFHEY.js} +5 -5
- package/dist/{chunk-I4PWEIZK.js → chunk-HS7LT4PL.js} +1 -1
- package/dist/{chunk-D3UYYHU2.js → chunk-HT4FWRIT.js} +1 -1
- package/dist/{chunk-M3MXR3HG.js → chunk-I6SCA2ME.js} +22 -11
- package/dist/{chunk-S2Z46FMO.js → chunk-IB722ALN.js} +1 -1
- package/dist/{chunk-ULPGXTB4.js → chunk-IZQDQ5AN.js} +1 -1
- package/dist/{chunk-M2UX3RAP.js → chunk-J45SCYTD.js} +7 -7
- package/dist/{chunk-R76QWLJI.js → chunk-JJLPGVTA.js} +1 -1
- package/dist/{chunk-7CLDXOEJ.js → chunk-KLIVZ5VG.js} +2 -1
- package/dist/{chunk-WXNVVZCC.js → chunk-KUZTIMY3.js} +41 -16
- package/dist/{chunk-YYF4HKW5.js → chunk-L2KUIV56.js} +1 -1
- package/dist/chunk-L2U4ISSS.js +93 -0
- package/dist/{chunk-E2QJFCYC.js → chunk-L56WTLQP.js} +3 -3
- package/dist/{chunk-LSL3XC2T.js → chunk-LIPVGXPV.js} +4 -4
- package/dist/{chunk-A5LYBVBC.js → chunk-LNZHSISH.js} +9 -9
- package/dist/{chunk-LS2FSESG.js → chunk-LZTBL7SR.js} +66 -4
- package/dist/{chunk-ZX52DCZH.js → chunk-M4E7CMYS.js} +2 -2
- package/dist/{chunk-ZPMIIPDH.js → chunk-M6TIOPL5.js} +2 -2
- package/dist/{chunk-CIZB4MFK.js → chunk-MF53JVZ5.js} +1 -1
- package/dist/{chunk-W4JWPYLU.js → chunk-MQGRMXFN.js} +50 -11
- package/dist/{chunk-GWTNXGIH.js → chunk-NFRKPLTJ.js} +1 -1
- package/dist/{chunk-62LL7YPC.js → chunk-NQ3NHCF6.js} +2 -2
- package/dist/{chunk-5YF3NCZV.js → chunk-NXDFCWF2.js} +1 -1
- package/dist/{chunk-TW6S6A2B.js → chunk-O45HB74L.js} +20 -20
- package/dist/{chunk-DV5KH45B.js → chunk-P27QDOID.js} +1 -1
- package/dist/{chunk-UJRRUNWQ.js → chunk-P37ZACC6.js} +2 -2
- package/dist/{chunk-PNL7SMWV.js → chunk-POGZYVM2.js} +1 -1
- package/dist/{chunk-7W3MLVDC.js → chunk-PRG42HNH.js} +1 -1
- package/dist/{chunk-QIKIHGPS.js → chunk-QP7MQ43Y.js} +1 -1
- package/dist/{chunk-JHNICCT2.js → chunk-RIHRYTNB.js} +10 -10
- package/dist/{chunk-3LTJKGJQ.js → chunk-RMO7KIFX.js} +4 -4
- package/dist/{chunk-F7Z7UDAV.js → chunk-RULKJFRT.js} +1 -1
- package/dist/{chunk-2M7GGAXG.js → chunk-S5EMQAKL.js} +2 -2
- package/dist/{chunk-T44NTM2R.js → chunk-SQ64IEA7.js} +2 -2
- package/dist/{chunk-RJEX3RRW.js → chunk-TDQUQAW5.js} +2 -2
- package/dist/{chunk-ARIBOM26.js → chunk-TI7JN55F.js} +1 -1
- package/dist/{chunk-HYMWSWKM.js → chunk-U3LWQGCD.js} +7 -2
- package/dist/{chunk-4QRYBCP5.js → chunk-UB44XZOI.js} +1 -1
- package/dist/{chunk-QARZ5SCV.js → chunk-UFET7UTU.js} +2 -2
- package/dist/{chunk-NOSZSEN6.js → chunk-UIIQA7DN.js} +1 -1
- package/dist/{chunk-AOITLZJO.js → chunk-UX2KMUKC.js} +6 -2
- package/dist/{chunk-YIKOKVHE.js → chunk-VXX4S2PH.js} +26 -15
- package/dist/{chunk-I7UACFVY.js → chunk-WPC2FKNB.js} +10 -9
- package/dist/{chunk-37NCCCVV.js → chunk-WSZJS4QC.js} +5 -34
- package/dist/{chunk-NLHR5VAJ.js → chunk-X3IULMVV.js} +1 -1
- package/dist/{chunk-NLTJMUK6.js → chunk-XHUFLQGD.js} +1 -1
- package/dist/{chunk-TMAF33SA.js → chunk-YJFIGFON.js} +1 -1
- package/dist/{chunk-6Q7QF4UD.js → chunk-YPURY3MW.js} +2 -2
- package/dist/{chunk-KDT2WX7M.js → chunk-YXQA6MKA.js} +1 -1
- package/dist/{chunk-LRKSFIYI.js → chunk-YXR5MVBM.js} +2 -2
- package/dist/{chunk-ARREGNEF.js → chunk-ZG6BVWQ7.js} +4 -4
- package/dist/{chunk-Z5TKOD2D.js → chunk-ZGWOCGSJ.js} +2 -2
- package/dist/{chunk-XBD5NV2F.js → chunk-ZW6ZUKBB.js} +1 -1
- package/dist/{chunk-NYUTPQQ3.js → chunk-ZXMZSU5Y.js} +11 -11
- package/dist/{clean-BT36HK75.js → clean-Y6YIQRPM.js} +16 -15
- package/dist/cli.js +61 -61
- package/dist/{cloud-R2QOPFMH.js → cloud-A5U7YYNA.js} +4 -4
- package/dist/{compare-RUB5AIPD.js → compare-6XCTMUF3.js} +18 -17
- package/dist/{component-NBW4NP3J.js → component-JDQIZSAL.js} +3 -3
- package/dist/{compositions-FHO2G54H.js → compositions-HZDEOSRL.js} +9 -9
- package/dist/{curve-2MSCLXM7.js → curve-SE7ZAMI6.js} +8 -8
- package/dist/{cuts-ND6ZL5AI.js → cuts-AEFJGBFP.js} +9 -9
- package/dist/{delete-FMQCJAHX.js → delete-EQUQ7Z2K.js} +2 -2
- package/dist/{deploy-5UOYKYXF.js → deploy-NSLC6BYZ.js} +2 -2
- package/dist/{describeProject-OIK763B5.js → describeProject-FTJBPDL3.js} +4 -4
- package/dist/{destroy-MLAFCH6B.js → destroy-4O4T3KL3.js} +2 -2
- package/dist/{diff-KKJRQKFR.js → diff-VJ3CS7YE.js} +22 -22
- package/dist/{dist-UMYCC5T5.js → dist-MNFB4YKV.js} +5 -4
- package/dist/{doctor-5DILJANT.js → doctor-RR7SNO6X.js} +10 -10
- package/dist/{energy-BLU27H7G.js → energy-PN23W2UJ.js} +9 -9
- package/dist/{events-GRLM5BLQ.js → events-4ECJEB2W.js} +6 -5
- package/dist/{events-AXNHFZTY.js → events-5OLO73VJ.js} +11 -11
- package/dist/{events-35CZGWGO.js → events-NR6UPBHG.js} +5 -4
- package/dist/{execute-FRDHPWNT.js → execute-TS3BP65F.js} +17 -16
- package/dist/{extract-ILQCKYWJ.js → extract-GCZ5HSEN.js} +9 -9
- package/dist/{face-S3YZLPEO.js → face-QKMYBRV3.js} +9 -9
- package/dist/{feedback-LTEDBBL2.js → feedback-3H43EK7N.js} +11 -10
- package/dist/{ffmpeg-OJIIUEQQ.js → ffmpeg-JRNM74WY.js} +4 -4
- package/dist/{figma-DXIX3JW2.js → figma-JGP2UGGU.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -8
- package/dist/{frames-E7GSMQMG.js → frames-OYSWKB3F.js} +10 -10
- package/dist/{generate-5BV3VOF5.js → generate-TDXLUFMR.js} +15 -15
- package/dist/{get-LO5YZK5S.js → get-UB2MNBYO.js} +2 -2
- package/dist/{gpuPolicy-L6YX2UOM.js → gpuPolicy-6CTTH3NY.js} +4 -4
- package/dist/{grade-compare-45DGL4FX.js → grade-compare-2DXT4RWV.js} +19 -18
- package/dist/{heifImagePrep-HZWZ6RCU.js → heifImagePrep-VDZVZ4G7.js} +7 -6
- package/dist/{help-NXUWIQZJ.js → help-RGKY4DR4.js} +1 -1
- package/dist/{history-B2VYYYFA.js → history-AVDXYNAP.js} +9 -8
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6BK7QHQN.js → info-NGTQABZC.js} +11 -11
- package/dist/{init-5NJNDMW5.js → init-C3EARHDW.js} +22 -22
- package/dist/{ink-I2VH46VQ.js → ink-ISO3VXRQ.js} +9 -9
- package/dist/{inspect-VMCKQEOT.js → inspect-V6MPU5I5.js} +20 -19
- package/dist/{keyframes-2ZZUDJD7.js → keyframes-PTJDE47Y.js} +9 -8
- package/dist/{lambda-BHLB7JHL.js → lambda-JTO5YD2I.js} +6 -6
- package/dist/{layout-4Y2DWTXM.js → layout-QMLEZP5T.js} +20 -19
- package/dist/{lint-QPQRY5WD.js → lint-6BWOQAW6.js} +8 -8
- package/dist/{list-SPRUZTEJ.js → list-7E4VD7JA.js} +2 -2
- package/dist/{localPage-TZFDEA6W.js → localPage-BQOYZAOW.js} +4 -4
- package/dist/{login-JOQCOSOK.js → login-37MSZXCY.js} +4 -4
- package/dist/{look-3UNLVDPJ.js → look-5GXW3NVP.js} +9 -9
- package/dist/{manager-7IV66O64.js → manager-J2IRAOR7.js} +5 -5
- package/dist/{manager-25RJ4IZN.js → manager-TMKN4DX5.js} +3 -3
- package/dist/{measure-PFOIM7OJ.js → measure-23IL23BL.js} +11 -11
- package/dist/{media-treatment-WR2EYI6J.js → media-treatment-7ODBREPX.js} +10 -10
- package/dist/{media-use-VRMLASYM.js → media-use-QJA6NB3V.js} +3 -3
- package/dist/{models-6BN6ZA2T.js → models-2Z6SURXU.js} +8 -8
- package/dist/{motionShot-SX6BQ2A3.js → motionShot-CYS3L6FK.js} +10 -10
- package/dist/{normalize-audio-E2EMJIJU.js → normalize-audio-6YVF4LED.js} +9 -8
- package/dist/{open-N4SZ4OC6.js → open-WQ6NRHCN.js} +7 -6
- package/dist/{parakeetRunner-GVZ2XLDV.js → parakeetRunner-R7KK6ZHD.js} +10 -10
- package/dist/{pipeline-Z4RAIXQM.js → pipeline-HRCK2JQL.js} +7 -7
- package/dist/{plan-NJKLH5DY.js → plan-FQNKACYR.js} +11 -11
- package/dist/{play-2P3J4O6N.js → play-UJZBNX2O.js} +14 -13
- package/dist/{preflight-VQ366D6O.js → preflight-VIMLSE3I.js} +7 -7
- package/dist/{present-HCY6XKUF.js → present-JIOVM3ZH.js} +14 -13
- package/dist/{preview-ZE435ZVI.js → preview-HCYGBEWR.js} +11 -11
- package/dist/{probe-J2KN3Y3Z.js → probe-6YQA2ZZC.js} +9 -9
- package/dist/{producer-G6AH4NES.js → producer-JIM74BGL.js} +1 -1
- package/dist/{publicNetwork-CWKAKZXP.js → publicNetwork-F3ZXSVOD.js} +3 -1
- package/dist/{publish-CMIRMUVW.js → publish-3TTCO4R4.js} +11 -10
- package/dist/{remove-background-2HPZDKTN.js → remove-background-XTICO22L.js} +8 -8
- package/dist/{render-WXDAMYQU.js → render-PFBZJRAN.js} +26 -25
- package/dist/{render-FYWFWCL7.js → render-WYDOZEZ5.js} +20 -19
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{reverse-XNTL6ILN.js → reverse-TV524NFW.js} +1 -1
- package/dist/{run-GGMHXAKM.js → run-NQBD5RDR.js} +2 -2
- package/dist/{screenshotCapture-4FFWYCKV.js → screenshotCapture-OUZMH7EQ.js} +4 -4
- package/dist/{service-BW7NT4R2.js → service-UIHDIMFM.js} +9 -9
- package/dist/{share-JJ6G2SRE.js → share-WD7MCA4I.js} +12 -12
- package/dist/{sherpa-ZARNRTUF.js → sherpa-H67ZJICN.js} +9 -9
- package/dist/{skills-H6QD7AIP.js → skills-7TUSQF6W.js} +9 -8
- package/dist/{skillsUpdateCheck-BBSSMBNI.js → skillsUpdateCheck-HF6SQWRA.js} +3 -3
- package/dist/{snapshot-AIASY7ZT.js → snapshot-P7ZSTKED.js} +26 -25
- package/dist/{src-RNWDJRGO.js → src-H2EUJUV3.js} +13 -7
- package/dist/{src-IVCOSSDJ.js → src-TQQ743H4.js} +13 -7
- package/dist/{start-CVUWN3EJ.js → start-7ZTAKHD4.js} +13 -13
- package/dist/{staticProjectServer-XHYEFNOX.js → staticProjectServer-X4PARIVN.js} +9 -8
- package/dist/{status-TCUB55VV.js → status-ELQXIXIB.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-DHIxqu8A.js → hyperframes-player-D7LhzIg1.js} +1 -1
- package/dist/studio/assets/{index-CefNftWO.js → index-CQ7o0CBU.js} +1 -1
- package/dist/studio/assets/{index-CU24FmKd.css → index-CRiuMxyq.css} +1 -1
- package/dist/studio/assets/{index-CuCj-ntQ.js → index-D3WxJaqm.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-Dy-s5uPt.js → pausedVideoDecoder-BVUmBgn0.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-HPYJHSZY.js → studio-api-OJEU24EG.js} +5 -4
- package/dist/{studioServer-RIYJYGVD.js → studioServer-E5CLZC46.js} +36 -35
- package/dist/{sync-ILVIJDYI.js → sync-VEJWMKDP.js} +9 -9
- package/dist/{system-BONOLEJX.js → system-I5KGZTUG.js} +3 -2
- package/dist/{telemetry-Q6X3TCN6.js → telemetry-3U4UGQ5V.js} +6 -5
- package/dist/{templates-64NH2NZF.js → templates-AUAOWIYA.js} +7 -6
- package/dist/{timeline-CR4YEFN4.js → timeline-YO27AP66.js} +15 -14
- package/dist/{tokens-NISS5JD7.js → tokens-UXLQGLVG.js} +2 -2
- package/dist/{transcribe-AP3PUNHX.js → transcribe-FZ3TE4FK.js} +8 -8
- package/dist/{transcribe-R7K7NSGF.js → transcribe-I7MTUH4M.js} +18 -18
- package/dist/{update-OI6DZTRT.js → update-KBKSO3SH.js} +10 -9
- package/dist/{updateCheck-7ZCJ7FNE.js → updateCheck-MUYN55HR.js} +2 -2
- package/dist/{upgrade-D6VGQSRH.js → upgrade-CRCX7CCK.js} +3 -3
- package/dist/{urlDownloader-KE7AXBCY.js → urlDownloader-4EM6GLN4.js} +3 -3
- package/dist/{validate-LZBOVEFV.js → validate-Y2KF2DU3.js} +19 -18
- package/dist/{video-7KEKO4H2.js → video-HG6SINBD.js} +5 -5
- package/dist/{voices-6EOBOCEU.js → voices-O4UHHFZS.js} +13 -13
- package/dist/warmCheck.js +28 -27
- package/package.json +1 -1
- package/dist/chunk-47JAY366.js +0 -44
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X3IULMVV.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YXR5MVBM.js";
|
|
16
16
|
import {
|
|
17
17
|
chargedCredits,
|
|
18
18
|
idempotencyKey,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
publicVoices,
|
|
23
23
|
runJob,
|
|
24
24
|
senderScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CIMOTEZB.js";
|
|
26
26
|
import {
|
|
27
27
|
Fix,
|
|
28
28
|
probeSeconds,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
round,
|
|
32
32
|
runFfmpeg,
|
|
33
33
|
videoClip
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DYYAFCZH.js";
|
|
35
35
|
import {
|
|
36
36
|
loadSharp
|
|
37
37
|
} from "./chunk-YTHXSYYB.js";
|
|
@@ -353,7 +353,7 @@ async function uploaded(paths) {
|
|
|
353
353
|
if (!paths.length) return ids;
|
|
354
354
|
const { createCloudClient } = await import("./cloud-5C5SCK4H.js");
|
|
355
355
|
const { uploadAssetViaDirectUpload } = await import("./upload-PEY7EYFV.js");
|
|
356
|
-
const { getMimeType } = await import("./dist-
|
|
356
|
+
const { getMimeType } = await import("./dist-MNFB4YKV.js");
|
|
357
357
|
const client = await createCloudClient();
|
|
358
358
|
for (const path of paths) {
|
|
359
359
|
const asset = await uploadAssetViaDirectUpload({
|
|
@@ -7,7 +7,11 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MQGRMXFN.js";
|
|
11
|
+
import {
|
|
12
|
+
MEDIA_INPUT_ARGS,
|
|
13
|
+
NOT_MEDIA
|
|
14
|
+
} from "./chunk-7RLMDAUO.js";
|
|
11
15
|
import {
|
|
12
16
|
isLinkFreeWithinProject
|
|
13
17
|
} from "./chunk-SZGQU7EB.js";
|
|
@@ -41,7 +45,7 @@ import {
|
|
|
41
45
|
scanHtmlOpeningTags
|
|
42
46
|
} from "./chunk-M425BL2U.js";
|
|
43
47
|
|
|
44
|
-
// ../studio-server/dist/chunk-
|
|
48
|
+
// ../studio-server/dist/chunk-WSUEYGY3.js
|
|
45
49
|
import { statSync } from "fs";
|
|
46
50
|
import { sep } from "path";
|
|
47
51
|
import { spawn } from "child_process";
|
|
@@ -269,7 +273,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
269
273
|
return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
|
|
270
274
|
}
|
|
271
275
|
|
|
272
|
-
// ../studio-server/dist/chunk-
|
|
276
|
+
// ../studio-server/dist/chunk-E2IWTNJW.js
|
|
273
277
|
import { spawn as spawn2 } from "child_process";
|
|
274
278
|
import { randomUUID } from "crypto";
|
|
275
279
|
import {
|
|
@@ -1020,6 +1024,7 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
|
|
|
1020
1024
|
}
|
|
1021
1025
|
async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limitSeconds, signal, onProgress, isBackground = () => false) {
|
|
1022
1026
|
const metadata = await probeMediaMetadata(sourcePath);
|
|
1027
|
+
if (metadata.probeError === NOT_MEDIA) throw new ProxyTranscodeError(NOT_MEDIA, null, "");
|
|
1023
1028
|
const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
|
|
1024
1029
|
if (!ffmpegPath) {
|
|
1025
1030
|
throw new FfmpegUnavailableError();
|
|
@@ -1047,6 +1052,7 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limi
|
|
|
1047
1052
|
"-nostats",
|
|
1048
1053
|
...range ? ["-ss", String(range.startSeconds)] : [],
|
|
1049
1054
|
...decoderArgs,
|
|
1055
|
+
...MEDIA_INPUT_ARGS,
|
|
1050
1056
|
"-i",
|
|
1051
1057
|
sourcePath,
|
|
1052
1058
|
...streamArgs,
|
|
@@ -1366,17 +1372,22 @@ function resolveStill(projectDir, absoluteSourcePath, atSeconds, box) {
|
|
|
1366
1372
|
async function makeStill(source, at, box, cachePath) {
|
|
1367
1373
|
const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
|
|
1368
1374
|
if (!ffmpegPath) throw new FfmpegUnavailableError();
|
|
1369
|
-
const
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
await probeMediaMetadata(source.sourcePath),
|
|
1373
|
-
false,
|
|
1374
|
-
box
|
|
1375
|
-
);
|
|
1375
|
+
const metadata = await probeMediaMetadata(source.sourcePath);
|
|
1376
|
+
if (metadata.probeError === NOT_MEDIA) throw new ProxyTranscodeError(NOT_MEDIA, null, "");
|
|
1377
|
+
const filter = await buildVideoFilter(ffmpegPath, source.sourcePath, metadata, false, box);
|
|
1376
1378
|
mkdirWithinProject(source.projectDir, dirname4(cachePath));
|
|
1377
1379
|
const tempPath = join4(dirname4(cachePath), `.tmp-${randomUUID()}-${basename3(cachePath)}`);
|
|
1378
1380
|
try {
|
|
1379
|
-
const args = [
|
|
1381
|
+
const args = [
|
|
1382
|
+
"-y",
|
|
1383
|
+
"-ss",
|
|
1384
|
+
String(at),
|
|
1385
|
+
...MEDIA_INPUT_ARGS,
|
|
1386
|
+
"-i",
|
|
1387
|
+
source.sourcePath,
|
|
1388
|
+
"-map",
|
|
1389
|
+
"0:V:0"
|
|
1390
|
+
];
|
|
1380
1391
|
args.push("-frames:v", "1", "-vf", filter, "-pix_fmt", "yuvj420p", "-q:v", "3", tempPath);
|
|
1381
1392
|
await spawnFfmpeg(ffmpegPath, args, TRANSCODE_STALL_MS, new AbortController().signal);
|
|
1382
1393
|
renameSync(tempPath, cachePath);
|
|
@@ -6,34 +6,34 @@ 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-24M5C5EQ.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UFET7UTU.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CIMOTEZB.js";
|
|
20
20
|
import {
|
|
21
21
|
projectOf,
|
|
22
22
|
runFfmpeg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DYYAFCZH.js";
|
|
24
24
|
import {
|
|
25
25
|
initialModelForLanguage,
|
|
26
26
|
transcribe
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4FWR7OE3.js";
|
|
28
28
|
import {
|
|
29
29
|
createRenderCancellationScope,
|
|
30
30
|
stoppedByCancelSignal
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HS7LT4PL.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MODEL,
|
|
34
34
|
findWhisper,
|
|
35
35
|
isWhisperUnavailable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YXQA6MKA.js";
|
|
37
37
|
import {
|
|
38
38
|
formatSrt,
|
|
39
39
|
formatVtt,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
trackEvent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZGWOCGSJ.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/uploadLeftOut.ts
|
|
12
12
|
function leftOutCounts(references) {
|
|
@@ -21,7 +21,7 @@ function requiredBinary(name) {
|
|
|
21
21
|
if (!path) throw new Error(`${name} is required to analyze audio; run: npx hyperframes doctor`);
|
|
22
22
|
return path;
|
|
23
23
|
}
|
|
24
|
-
async function probeAudio(file) {
|
|
24
|
+
async function probeAudio(file, inputArgs = []) {
|
|
25
25
|
const { stdout } = await run(
|
|
26
26
|
requiredBinary("ffprobe"),
|
|
27
27
|
[
|
|
@@ -33,6 +33,7 @@ async function probeAudio(file) {
|
|
|
33
33
|
"-show_format",
|
|
34
34
|
"-of",
|
|
35
35
|
"json",
|
|
36
|
+
...inputArgs,
|
|
36
37
|
"--",
|
|
37
38
|
file
|
|
38
39
|
],
|
|
@@ -13,23 +13,25 @@ import {
|
|
|
13
13
|
rewriteHtmlAttributes,
|
|
14
14
|
rewriteStyleBlocks,
|
|
15
15
|
stagedSize
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TDQUQAW5.js";
|
|
17
17
|
import {
|
|
18
18
|
probeAudio
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KLIVZ5VG.js";
|
|
20
20
|
import {
|
|
21
21
|
findFFmpeg,
|
|
22
22
|
findFFprobe,
|
|
23
23
|
getFFmpegInstallHint
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
AUDIO_EXTS,
|
|
27
|
-
CONVERTIBLE_IMAGE_EXTS,
|
|
28
|
-
VIDEO_EXTS
|
|
29
|
-
} from "./chunk-37NCCCVV.js";
|
|
24
|
+
} from "./chunk-G6QCHM2N.js";
|
|
30
25
|
import {
|
|
31
26
|
formatBytes
|
|
32
27
|
} from "./chunk-ZLTB7ZCQ.js";
|
|
28
|
+
import {
|
|
29
|
+
AUDIO_EXTS,
|
|
30
|
+
CONVERTIBLE_IMAGE_EXTS,
|
|
31
|
+
MEDIA_INPUT_ARGS,
|
|
32
|
+
VIDEO_EXTS,
|
|
33
|
+
startsAsMediaPlaylist
|
|
34
|
+
} from "./chunk-7RLMDAUO.js";
|
|
33
35
|
import {
|
|
34
36
|
parseAnimatedGifMetadata
|
|
35
37
|
} from "./chunk-U7ZCBWNM.js";
|
|
@@ -268,6 +270,7 @@ async function probeVideo(path) {
|
|
|
268
270
|
"stream=codec_name,pix_fmt,color_primaries,color_transfer,color_space:stream_tags",
|
|
269
271
|
"-of",
|
|
270
272
|
"json",
|
|
273
|
+
...MEDIA_INPUT_ARGS,
|
|
271
274
|
"--",
|
|
272
275
|
path
|
|
273
276
|
]);
|
|
@@ -304,10 +307,16 @@ function hdrColorArgs({ color }) {
|
|
|
304
307
|
}
|
|
305
308
|
var seconds = (t) => (Math.floor(t * 1e6) / 1e6).toFixed(6);
|
|
306
309
|
async function segmentArgs(sourcePath, decoder, segments, media) {
|
|
307
|
-
if (media === "image") return [...decoder, "-i", sourcePath];
|
|
310
|
+
if (media === "image") return [...decoder, ...MEDIA_INPUT_ARGS, "-i", sourcePath];
|
|
308
311
|
const audio = await keptAudio(sourcePath, media);
|
|
309
312
|
const cuts = segments?.length ? segments : [void 0];
|
|
310
|
-
const inputs = cuts.flatMap((s) => [
|
|
313
|
+
const inputs = cuts.flatMap((s) => [
|
|
314
|
+
...decoder,
|
|
315
|
+
...seekArgs(s),
|
|
316
|
+
...MEDIA_INPUT_ARGS,
|
|
317
|
+
"-i",
|
|
318
|
+
sourcePath
|
|
319
|
+
]);
|
|
311
320
|
const video = media === "video";
|
|
312
321
|
return [
|
|
313
322
|
...inputs,
|
|
@@ -315,7 +324,7 @@ async function segmentArgs(sourcePath, decoder, segments, media) {
|
|
|
315
324
|
];
|
|
316
325
|
}
|
|
317
326
|
async function keptAudio(sourcePath, media) {
|
|
318
|
-
const audio = (await probeAudio(sourcePath))?.audioStream ?? null;
|
|
327
|
+
const audio = (await probeAudio(sourcePath, MEDIA_INPUT_ARGS))?.audioStream ?? null;
|
|
319
328
|
if (media === "audio" && audio === null) {
|
|
320
329
|
throw new Error("the file has no audio track ffmpeg can decode");
|
|
321
330
|
}
|
|
@@ -354,7 +363,15 @@ async function durationSeconds(sourcePath) {
|
|
|
354
363
|
const ffprobe = findFFprobe();
|
|
355
364
|
if (!ffprobe) return null;
|
|
356
365
|
const { stdout } = await execFileAsync(ffprobe, [
|
|
357
|
-
|
|
366
|
+
"-v",
|
|
367
|
+
"error",
|
|
368
|
+
"-show_entries",
|
|
369
|
+
"format=duration",
|
|
370
|
+
"-of",
|
|
371
|
+
"csv=p=0",
|
|
372
|
+
...MEDIA_INPUT_ARGS,
|
|
373
|
+
"--",
|
|
374
|
+
sourcePath
|
|
358
375
|
]);
|
|
359
376
|
const value = Number(stdout.trim());
|
|
360
377
|
return Number.isFinite(value) && value > 0 ? value : null;
|
|
@@ -425,6 +442,7 @@ async function isAnimatedImage(path) {
|
|
|
425
442
|
"stream=nb_frames",
|
|
426
443
|
"-of",
|
|
427
444
|
"csv=p=0",
|
|
445
|
+
...MEDIA_INPUT_ARGS,
|
|
428
446
|
"--",
|
|
429
447
|
path
|
|
430
448
|
]);
|
|
@@ -447,6 +465,7 @@ async function trimGrid(sourcePath, kind) {
|
|
|
447
465
|
"stream=r_frame_rate,avg_frame_rate",
|
|
448
466
|
"-of",
|
|
449
467
|
"csv=p=0",
|
|
468
|
+
...MEDIA_INPUT_ARGS,
|
|
450
469
|
"--",
|
|
451
470
|
sourcePath
|
|
452
471
|
]);
|
|
@@ -471,6 +490,7 @@ async function hasVideoStream(sourcePath) {
|
|
|
471
490
|
"stream=codec_type",
|
|
472
491
|
"-of",
|
|
473
492
|
"csv=p=0",
|
|
493
|
+
...MEDIA_INPUT_ARGS,
|
|
474
494
|
"--",
|
|
475
495
|
sourcePath
|
|
476
496
|
]);
|
|
@@ -543,10 +563,14 @@ function readHead(file) {
|
|
|
543
563
|
closeSync(fd);
|
|
544
564
|
}
|
|
545
565
|
}
|
|
566
|
+
function mediaFileKind(path, file) {
|
|
567
|
+
const kind = mediaKind(path);
|
|
568
|
+
return kind && !startsAsMediaPlaylist(readHead(file)) ? kind : null;
|
|
569
|
+
}
|
|
546
570
|
async function planFile(ctx, path, file) {
|
|
547
|
-
let kind = mediaKind(path);
|
|
548
571
|
const size = stagedSize(file);
|
|
549
|
-
|
|
572
|
+
let kind = size < OFFLOAD_MIN_BYTES ? null : mediaFileKind(path, file);
|
|
573
|
+
if (!kind) return null;
|
|
550
574
|
const ext = extname(path).toLowerCase();
|
|
551
575
|
const accepted = ACCEPTED[ext];
|
|
552
576
|
let asIs = accepted !== void 0 && size <= accepted.maxBytes && bytesMatchExtension(ext, readHead(file));
|
|
@@ -630,7 +654,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
630
654
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
631
655
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
632
656
|
if (!sourceAssets) return;
|
|
633
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
657
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-H2EUJUV3.js")).prepareAnimatedGifInputs;
|
|
634
658
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
635
659
|
ctx.tempFiles.push(outputDir);
|
|
636
660
|
const result = await prep(html, {
|
|
@@ -639,7 +663,8 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
639
663
|
outputDir,
|
|
640
664
|
outputSrcPrefix: posix.relative(posix.dirname(entryPath), GIF_PREFIX),
|
|
641
665
|
cacheDir: hyperframesCacheDir("animated-gif"),
|
|
642
|
-
sourceAssets
|
|
666
|
+
sourceAssets,
|
|
667
|
+
assetRoot: outputDir
|
|
643
668
|
});
|
|
644
669
|
if (result.preparedGifs.length === 0) return;
|
|
645
670
|
fileMap.set(entryPath, Buffer.from(result.html, "utf-8"));
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
isEnvOrGitPath,
|
|
9
|
+
isPrivateOutsideFile,
|
|
10
|
+
linksOutside
|
|
11
|
+
} from "./chunk-WSZJS4QC.js";
|
|
12
|
+
import {
|
|
13
|
+
isPrivateProjectFile,
|
|
14
|
+
realFilePath
|
|
15
|
+
} from "./chunk-SZGQU7EB.js";
|
|
16
|
+
|
|
17
|
+
// src/utils/privateProjectFile.ts
|
|
18
|
+
import { lstatSync, readFileSync, realpathSync, statSync } from "fs";
|
|
19
|
+
import { dirname, join, relative, resolve, sep } from "path";
|
|
20
|
+
function linksToPrivateOutsideFile(projectDir, filePath) {
|
|
21
|
+
return linksOutside(projectDir, filePath) && isPrivateOutsideFile(projectDir, filePath);
|
|
22
|
+
}
|
|
23
|
+
var RECEIVED_RECORD = join(".hyperframes", "received-files.json");
|
|
24
|
+
function recordFileAt(dir) {
|
|
25
|
+
try {
|
|
26
|
+
return statSync(join(dir, RECEIVED_RECORD)).isFile();
|
|
27
|
+
} catch {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function readRecord(dir, ownFolder) {
|
|
32
|
+
if (!ownFolder && !recordFileAt(dir)) return null;
|
|
33
|
+
try {
|
|
34
|
+
return { listed: JSON.parse(readFileSync(join(dir, RECEIVED_RECORD), "utf-8")).files };
|
|
35
|
+
} catch (error) {
|
|
36
|
+
const code = error.code;
|
|
37
|
+
return ownFolder && (code === "ENOENT" || code === "ENOTDIR") ? null : { listed: void 0 };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function nearestReceivedRecordAtOrAbove(projectDir) {
|
|
41
|
+
let start;
|
|
42
|
+
try {
|
|
43
|
+
start = realpathSync(projectDir);
|
|
44
|
+
} catch {
|
|
45
|
+
start = resolve(projectDir);
|
|
46
|
+
}
|
|
47
|
+
for (let dir = start; ; ) {
|
|
48
|
+
const record = readRecord(dir, dir === start);
|
|
49
|
+
if (record)
|
|
50
|
+
return {
|
|
51
|
+
root: dir,
|
|
52
|
+
projectDirFromRoot: relative(dir, start).split(sep).join("/"),
|
|
53
|
+
...record
|
|
54
|
+
};
|
|
55
|
+
const parent = dirname(dir);
|
|
56
|
+
if (parent === dir) return null;
|
|
57
|
+
dir = parent;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function fileIdentity(path) {
|
|
61
|
+
try {
|
|
62
|
+
const stat = lstatSync(path, { bigint: true });
|
|
63
|
+
return stat.ino === 0n ? null : `${stat.dev}:${stat.ino}`;
|
|
64
|
+
} catch {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function receivedFiles(projectDir) {
|
|
69
|
+
const record = nearestReceivedRecordAtOrAbove(projectDir);
|
|
70
|
+
if (!record) return () => false;
|
|
71
|
+
if (!Array.isArray(record.listed)) return () => true;
|
|
72
|
+
const listed = record.listed.map((path) => String(path).normalize("NFC"));
|
|
73
|
+
const files = new Set(listed);
|
|
74
|
+
const keyOf = (path) => (record.projectDirFromRoot ? `${record.projectDirFromRoot}/${path}` : path).normalize("NFC");
|
|
75
|
+
let listedOnDisk;
|
|
76
|
+
const sameFileAsListed = (path) => {
|
|
77
|
+
listedOnDisk ??= new Set(
|
|
78
|
+
listed.flatMap((entry) => fileIdentity(join(record.root, entry)) ?? [])
|
|
79
|
+
);
|
|
80
|
+
const identity = fileIdentity(join(projectDir, path));
|
|
81
|
+
return identity !== null && listedOnDisk.has(identity);
|
|
82
|
+
};
|
|
83
|
+
return (path) => files.has(keyOf(path)) || sameFileAsListed(path);
|
|
84
|
+
}
|
|
85
|
+
function isPrivateCompositionFile(projectDir, filePath) {
|
|
86
|
+
return isEnvOrGitPath(relative(projectDir, filePath)) || isEnvOrGitPath(relative(realFilePath(projectDir), realFilePath(filePath))) || isPrivateProjectFile(projectDir, filePath);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
linksToPrivateOutsideFile,
|
|
91
|
+
receivedFiles,
|
|
92
|
+
isPrivateCompositionFile
|
|
93
|
+
};
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MR7VKWYT.js";
|
|
10
10
|
import {
|
|
11
11
|
injectMediaCodecMapIntoHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6PXVXIC7.js";
|
|
13
13
|
import {
|
|
14
14
|
PROXY_VARIANT_CONFIG,
|
|
15
15
|
ProxyCapacityError,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
recordProxyRequest,
|
|
21
21
|
resolveProxy,
|
|
22
22
|
resolveProxyVariantRequest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I6SCA2ME.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveAutoProxy
|
|
26
26
|
} from "./chunk-FCNMU7LC.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-4QFWV5GQ.js";
|
|
33
33
|
import {
|
|
34
34
|
listenOnBrowserSafePort
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LZTBL7SR.js";
|
|
36
36
|
import {
|
|
37
37
|
stripSdrPngColourTags
|
|
38
38
|
} from "./chunk-UBHBB3TB.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G6QCHM2N.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DE7Q2LWF.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VXX4S2PH.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-TQQ743H4.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "./chunk-262C25DQ.js";
|
|
19
19
|
import {
|
|
20
20
|
pageNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XHUFLQGD.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DE7Q2LWF.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NQ3NHCF6.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-JCNPHRGX.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VXX4S2PH.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-TQQ743H4.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-X4PARIVN.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-TQQ743H4.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -221,10 +221,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
221
221
|
}
|
|
222
222
|
async function launchCompositionBrowser(html, noListen, options) {
|
|
223
223
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
224
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
224
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-TMKN4DX5.js");
|
|
225
225
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
226
226
|
const puppeteer = await import("puppeteer-core");
|
|
227
|
-
const { buildChromeArgs } = await import("./src-
|
|
227
|
+
const { buildChromeArgs } = await import("./src-TQQ743H4.js");
|
|
228
228
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
229
229
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
230
230
|
let softwareWebGpu = false;
|