hyperframes 0.9.56 → 0.9.58
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-KW7OTOWF.js → add-JQUKPSEZ.js} +30 -28
- package/dist/{agentPromptGenerator-NNXUWNU4.js → agentPromptGenerator-3NEY7FPP.js} +15 -14
- package/dist/{animatedGifPrep-6ATQHQON.js → animatedGifPrep-VMUZ6IVJ.js} +17 -15
- package/dist/api.js +60 -59
- package/dist/{appHistory-KHX53SGI.js → appHistory-JNI6IOR6.js} +5 -4
- package/dist/{asset-QVINGJRK.js → asset-ZT3VXZ67.js} +3 -2
- package/dist/{assetCataloger-DENJPUBH.js → assetCataloger-D2DV65BA.js} +16 -15
- package/dist/{audio-LB7HQYPJ.js → audio-LD5H2R5V.js} +37 -36
- package/dist/{auth-7AGRVI5A.js → auth-4FPYYMSH.js} +4 -4
- package/dist/{autoUpdate-ITCP2JDM.js → autoUpdate-5ZKSFCG4.js} +5 -5
- package/dist/{avatars-2K2C74EQ.js → avatars-DCLFE7VG.js} +25 -24
- package/dist/{backgroundChecks-UOTBCWPN.js → backgroundChecks-UZA3F46H.js} +6 -6
- package/dist/backgroundChecksWorker.js +6 -6
- package/dist/{batchRender-Z7ESYQDS.js → batchRender-TAUW3CT2.js} +11 -8
- package/dist/{beats-TG6ZB3XH.js → beats-X3LCR6OG.js} +16 -15
- package/dist/{benchmark-RU5MLZHE.js → benchmark-DNZQT3YQ.js} +23 -22
- package/dist/{billing-VB5PYYSN.js → billing-4BFUAHWX.js} +44 -29
- package/dist/{browser-VSQRY5GG.js → browser-5J2MTDB6.js} +13 -12
- package/dist/{bundleWithLocalizedFonts-XDPJE355.js → bundleWithLocalizedFonts-XWK47ZVF.js} +1 -1
- package/dist/{capture-M4FL7MWI.js → capture-2YSVFKWV.js} +39 -38
- package/dist/{capture-TQCFWPAT.js → capture-TVYTKWTG.js} +4 -4
- package/dist/{captureCompositionFrame-XF67Q6YK.js → captureCompositionFrame-L765HLCT.js} +21 -20
- package/dist/{captureFile-F254H22J.js → captureFile-DOCK42K3.js} +4 -3
- package/dist/{catalog-24EGH662.js → catalog-CHGGRRQX.js} +30 -28
- package/dist/{catch-up-L23HGDLB.js → catch-up-OCFU6ZR3.js} +16 -15
- package/dist/{check-F4HQVV2M.js → check-LWK4Z7FI.js} +64 -63
- package/dist/{checkAudio-6DT3ONR7.js → checkAudio-R5ORBXBO.js} +26 -23
- package/dist/{checkBrowser-S7P4X7QV.js → checkBrowser-6SH73T47.js} +55 -54
- package/dist/{chunk-MK4RH5L7.js → chunk-23SG3B6M.js} +1 -1
- package/dist/{chunk-QBADK3LD.js → chunk-2GRCLLKU.js} +1 -1
- package/dist/chunk-2RUCE54M.js +5083 -0
- package/dist/{chunk-SGWDJLFL.js → chunk-2SJNGWSY.js} +1 -1
- package/dist/{chunk-RFULFCYW.js → chunk-2WA62M3B.js} +3 -3
- package/dist/{chunk-FGGRBKWL.js → chunk-37VS6QY6.js} +1 -1
- package/dist/{chunk-ZIF44RW2.js → chunk-37Y334MN.js} +11 -8
- package/dist/{chunk-3GVHDPEP.js → chunk-3GKGBYW3.js} +7 -27
- package/dist/{chunk-BZXW5QU7.js → chunk-3VMZQQUI.js} +1 -1
- package/dist/{chunk-B6BWLFAF.js → chunk-4LZSNWFJ.js} +2 -2
- package/dist/{chunk-L5NPBGQB.js → chunk-4N3WOFP3.js} +21 -21
- package/dist/{chunk-7DKWEIH4.js → chunk-4NNYYCJN.js} +15 -15
- package/dist/{chunk-5GSCSZOS.js → chunk-4QPT3IEL.js} +5 -5
- package/dist/{chunk-JQKCRTVQ.js → chunk-5IUVWP3A.js} +2 -2
- package/dist/{chunk-APCVZGU6.js → chunk-5SGGOZNL.js} +84 -46
- package/dist/{chunk-T5HYPGST.js → chunk-7ECPFKQV.js} +4 -4
- package/dist/{chunk-BZULWFMJ.js → chunk-7FIJRDUG.js} +45 -10
- package/dist/{chunk-BA33QNKK.js → chunk-7IMHPBSH.js} +51 -19
- package/dist/{chunk-TVZTTWU7.js → chunk-7WAWUQDQ.js} +3 -3
- package/dist/{chunk-QNIID7EN.js → chunk-7WYJXKIG.js} +17 -7
- package/dist/{chunk-CZCZ5YXT.js → chunk-7ZHBY7T5.js} +1 -1
- package/dist/{chunk-WHX2OV4C.js → chunk-A4L7G74T.js} +1 -1
- package/dist/{chunk-LK7F7P2X.js → chunk-A4YRESMH.js} +2 -2
- package/dist/{chunk-MDRLJ737.js → chunk-AJ7YRQS4.js} +1 -1
- package/dist/{chunk-CBG6MIT2.js → chunk-ALD7JBPV.js} +2 -2
- package/dist/{chunk-7F4RAWDS.js → chunk-AM4Y3XMR.js} +2 -2
- package/dist/{chunk-D3WRRPHI.js → chunk-AM6UYKVR.js} +10 -10
- package/dist/{chunk-YDNBMPP3.js → chunk-AMS7Q7P7.js} +4 -4
- package/dist/{chunk-VC4YMXUQ.js → chunk-BSDUTNFX.js} +1 -1
- package/dist/{chunk-IRZUZ32B.js → chunk-BSFTB6AM.js} +4 -4
- package/dist/{chunk-XKNNZ4WR.js → chunk-CGJIMWNU.js} +5 -2
- package/dist/{chunk-WFB4XPJR.js → chunk-CGODFJZ7.js} +9 -9
- package/dist/{chunk-BMVUB2CY.js → chunk-CPDPSNSB.js} +8 -8
- package/dist/{chunk-OXT2LXZB.js → chunk-CRPLPK6J.js} +8 -8
- package/dist/{chunk-PPLFDG7N.js → chunk-CVTIGS5K.js} +3 -3
- package/dist/{chunk-IDGWNOBX.js → chunk-D2LSYXLW.js} +1 -1
- package/dist/{chunk-5ZDNSYTO.js → chunk-D3M5VOC5.js} +3 -3
- package/dist/{chunk-PGHROSLJ.js → chunk-DH3M5X3Y.js} +4 -4
- package/dist/{chunk-LRQEIKFT.js → chunk-DHVRVI7F.js} +5 -5
- package/dist/{chunk-PUTPYYE4.js → chunk-DL6PEJWH.js} +5 -2
- package/dist/{chunk-DDCXMXAD.js → chunk-DWFWF6IR.js} +30 -22
- package/dist/{chunk-BUG5AOPJ.js → chunk-DX5Y3L5B.js} +2 -2
- package/dist/{chunk-52XHPMCX.js → chunk-E26Z73S3.js} +1 -1
- package/dist/{chunk-YWH7HWDP.js → chunk-E4IR34CF.js} +332 -328
- package/dist/{chunk-BTJYK56C.js → chunk-ELRE6LVJ.js} +3 -3
- package/dist/{chunk-XLP34AJR.js → chunk-EOXNEA4Z.js} +2 -2
- package/dist/{chunk-7E7VKASF.js → chunk-ERDQIRUL.js} +4 -4
- package/dist/{chunk-MPOWSPBD.js → chunk-EWKJDXH6.js} +3 -3
- package/dist/{chunk-MVLAPENI.js → chunk-EZJHKHWU.js} +3 -3
- package/dist/{chunk-TY7EHE4Q.js → chunk-FFOFGL2O.js} +2 -2
- package/dist/{chunk-UHVKV5IF.js → chunk-FNXU56VT.js} +1 -1
- package/dist/{chunk-PHAZT6EB.js → chunk-G3U5CUF3.js} +1 -1
- package/dist/{chunk-ON3CGL3V.js → chunk-GDIBE57N.js} +2 -2
- package/dist/{chunk-VVXSMYXQ.js → chunk-GEOJA37C.js} +3 -3
- package/dist/{chunk-CUO2HF4M.js → chunk-GIVMQDSK.js} +2 -2
- package/dist/{chunk-NFST2HIM.js → chunk-GRSZAGJB.js} +2 -2
- package/dist/{chunk-AGTBMLNM.js → chunk-GVIJFPZV.js} +2 -2
- package/dist/{chunk-CKIYT34K.js → chunk-H3LEOZVK.js} +1 -1
- package/dist/{chunk-UIMXEY4U.js → chunk-H7DTMLAR.js} +7 -7
- package/dist/{chunk-7HQC5MDZ.js → chunk-HFIVZJJD.js} +1 -1
- package/dist/{chunk-IT2QBRVS.js → chunk-HFUI6LVF.js} +1 -1
- package/dist/chunk-HOIEN7O4.js +31 -0
- package/dist/{chunk-WGWKT7ME.js → chunk-HTGJOOXE.js} +12 -4
- package/dist/{chunk-GWSMTN55.js → chunk-IE6BIB3L.js} +53 -1
- package/dist/{chunk-YFWFCKKF.js → chunk-IGZQYMZA.js} +7638 -7451
- package/dist/{chunk-IO7PRQQC.js → chunk-J6VYWZSO.js} +1 -1
- package/dist/{chunk-OZDELWQP.js → chunk-JKLWQUSV.js} +1 -1
- package/dist/{chunk-WUY74LHU.js → chunk-JOOKM2NC.js} +2 -2
- package/dist/{chunk-BR7GOCQJ.js → chunk-JQZ5WP7L.js} +1 -1
- package/dist/{chunk-EBRN4YJH.js → chunk-JZVI2TMX.js} +3 -3
- package/dist/{chunk-R2LP7QPB.js → chunk-K2EJQ44S.js} +1 -1
- package/dist/{chunk-YOMFN6HH.js → chunk-KYKQO4VN.js} +2 -2
- package/dist/{chunk-QJDMX53S.js → chunk-LO5USUM4.js} +1 -1
- package/dist/{chunk-L5CBCPUH.js → chunk-M3IHARIW.js} +13 -13
- package/dist/{chunk-664QGMR4.js → chunk-M5TTYUZM.js} +2 -2
- package/dist/{chunk-IJYIIHGK.js → chunk-MK23FXLH.js} +1 -1
- package/dist/{chunk-7QFLMCTD.js → chunk-MPC3OODR.js} +36 -5
- package/dist/{chunk-DUZ6Z2ZN.js → chunk-MSC5KBCE.js} +1 -1
- package/dist/{chunk-KRYXZVA2.js → chunk-N6PAWR5C.js} +3 -3
- package/dist/{chunk-RRT6URIP.js → chunk-NJPLH762.js} +2 -2
- package/dist/{chunk-Q2TT62RQ.js → chunk-NLVIE7VN.js} +4 -4
- package/dist/{chunk-XD5T43S7.js → chunk-O2BLY7PO.js} +1 -1
- package/dist/{chunk-SEC76O65.js → chunk-O2INZCGB.js} +1 -1
- package/dist/{chunk-NCJSN6SV.js → chunk-O4K22EFS.js} +5 -5
- package/dist/{chunk-L27Z3PZT.js → chunk-O5U3Y5DX.js} +1 -1
- package/dist/{chunk-MP52CUHL.js → chunk-OD7XWF5T.js} +2 -2
- package/dist/{chunk-7QFFS657.js → chunk-OEGWTN6N.js} +1 -1
- package/dist/{chunk-2GRCTZNS.js → chunk-OL7RHRNJ.js} +1 -1
- package/dist/{chunk-EKSS3KI7.js → chunk-OMZSPAK5.js} +1 -1
- package/dist/{chunk-RCGNYXWK.js → chunk-OPSGEOCO.js} +27 -19
- package/dist/{chunk-IHX3AFTY.js → chunk-PGITR2WX.js} +7 -4
- package/dist/{chunk-XEVAW42J.js → chunk-PS7WBIPK.js} +10 -10
- package/dist/{chunk-HVG656G6.js → chunk-PYTF6VHF.js} +6 -4
- package/dist/{chunk-OIO7YMBP.js → chunk-QGQCWG7F.js} +1 -1
- package/dist/{chunk-CXFW7YPT.js → chunk-ROESFEBP.js} +62 -47
- package/dist/{chunk-VCSQLM36.js → chunk-RV3HR3BZ.js} +5 -5
- package/dist/{chunk-UVPLW55S.js → chunk-SALNTRJA.js} +10 -2
- package/dist/{chunk-LKWWY6WN.js → chunk-SE4NOUB6.js} +1 -1
- package/dist/{chunk-JPEIUGS5.js → chunk-SM5PNCDI.js} +1 -1
- package/dist/{chunk-W4AR7UZH.js → chunk-SNKBI4YB.js} +2 -2
- package/dist/{chunk-43CQTZGB.js → chunk-SV72WLBE.js} +2 -2
- package/dist/{chunk-JDXALWOM.js → chunk-SYKUNH25.js} +1 -1
- package/dist/{chunk-CNXZCMJZ.js → chunk-TAXMLPTE.js} +2 -2
- package/dist/{chunk-QTZICZWT.js → chunk-TLDIP7Y3.js} +16 -12
- package/dist/{chunk-EGR2ZFFP.js → chunk-TLGQQ324.js} +4 -4
- package/dist/{chunk-CWIOKI2R.js → chunk-U5MILT4G.js} +1 -1
- package/dist/{chunk-YQSVPHOS.js → chunk-UDLWVQ74.js} +8 -5
- package/dist/{chunk-6XRXUMFG.js → chunk-UGKUGYHD.js} +1 -1
- package/dist/{chunk-EUP7ODOV.js → chunk-UJTLTFB6.js} +1 -1
- package/dist/{chunk-4GPKDDQZ.js → chunk-V3O4AFO3.js} +9 -9
- package/dist/{chunk-2ZOJCSLJ.js → chunk-VBEDZGBW.js} +3 -3
- package/dist/{chunk-PVF32NRA.js → chunk-VI2LLFW6.js} +2 -2
- package/dist/{chunk-6LONEKJR.js → chunk-VLFBOKZX.js} +5743 -5615
- package/dist/{chunk-Z72VXQPN.js → chunk-VSM7OIG2.js} +2 -2
- package/dist/{chunk-4RPIEGL3.js → chunk-VXE46PXX.js} +1 -1
- package/dist/{chunk-LH5FRVAO.js → chunk-W2OXNTHG.js} +3 -3
- package/dist/{chunk-4DJGUZJR.js → chunk-WEU6WLVT.js} +2 -2
- package/dist/{chunk-BPYNILOZ.js → chunk-WGHJUGNU.js} +11 -9
- package/dist/{chunk-HOCV5AW6.js → chunk-WJIWXHXK.js} +8 -4
- package/dist/{chunk-CPSD7337.js → chunk-WLNHZ2OM.js} +9 -9
- package/dist/{chunk-HCQXGGVY.js → chunk-WQZQMADW.js} +14 -14
- package/dist/{chunk-DY7PQLIE.js → chunk-WTJZ5QFR.js} +42 -5
- package/dist/{chunk-CKIVYAKG.js → chunk-X3IVUSOX.js} +2 -2
- package/dist/{chunk-LRWWCTSJ.js → chunk-X3UXEB2U.js} +2 -2
- package/dist/{chunk-ICDGP335.js → chunk-XMT4MG6W.js} +9 -9
- package/dist/{chunk-4WSJ5MUN.js → chunk-XYP4T6TQ.js} +1 -1
- package/dist/{chunk-PGJYA6I3.js → chunk-Y6CZFX5X.js} +65 -20
- package/dist/{chunk-GTC2STHN.js → chunk-Z642P33A.js} +4 -4
- package/dist/{chunk-CLRHKYOK.js → chunk-ZAWQJOTW.js} +8 -8
- package/dist/{chunk-BW4H55SU.js → chunk-ZCLC3KVY.js} +1 -1
- package/dist/{chunk-PCKKKICA.js → chunk-ZFOV3R2L.js} +4 -4
- package/dist/{chunk-ANYW22IT.js → chunk-ZO5NHAF3.js} +1 -1
- package/dist/{chunk-AN6KWGYI.js → chunk-ZYNNZ5DE.js} +2 -2
- package/dist/{clean-VB6BH3FV.js → clean-6ODSABBF.js} +34 -32
- package/dist/cli.js +70 -70
- package/dist/{cloud-7KRPD2K4.js → cloud-IMYQB5RC.js} +4 -4
- package/dist/{cloud-A67BW6OH.js → cloud-NTKLXMBS.js} +9 -8
- package/dist/{cloudrun-VKBARVVT.js → cloudrun-JNLDP33J.js} +12 -11
- package/dist/{compare-SE55PMC3.js → compare-VLYZ6ZS4.js} +54 -52
- package/dist/{compiler-WK7ABGRW.js → compiler-7M2UCEWG.js} +7 -6
- package/dist/{component-XT2AT3RY.js → component-KMUHKZ4R.js} +4 -3
- package/dist/{compositions-ZZWLQNDQ.js → compositions-ESLWNOMS.js} +23 -23
- package/dist/{contactSheet-MXOASCDR.js → contactSheet-4YF7U6U7.js} +5 -4
- package/dist/contract/path-policy.json +12 -2
- package/dist/{curve-4RQQKZ2K.js → curve-7RPSNRPE.js} +21 -20
- package/dist/{cuts-M3QU2CBE.js → cuts-KBAAZSPS.js} +22 -21
- package/dist/{delete-5ZZNPK5G.js → delete-EP5Z7HKF.js} +14 -13
- package/dist/{deploy-VR5SQP4U.js → deploy-MVR63JLD.js} +14 -13
- package/dist/{describeProject-NU5BVVIA.js → describeProject-NBVZT5EN.js} +15 -14
- package/dist/{destroy-FFS62PAW.js → destroy-DQKIT574.js} +13 -12
- package/dist/{deterministicFonts-FQQNGORI.js → deterministicFonts-LYBMXXBW.js} +5 -4
- package/dist/{diff-NQGTF6GR.js → diff-RI3FTMOZ.js} +57 -56
- package/dist/{dist-6GYOC3BU.js → dist-G7VFX23I.js} +8 -4
- package/dist/{dist-APXZ5EN2.js → dist-LRGTXDSM.js} +3 -3
- package/dist/{dist-B7IBHWIW.js → dist-TOOMD57O.js} +19 -17
- package/dist/{doctor-FATJGTPD.js → doctor-43YNRCRB.js} +24 -23
- package/dist/{energy-PHDK6SKL.js → energy-YCH36KCC.js} +22 -21
- package/dist/{events-OIWXSBZA.js → events-6RJBITYN.js} +24 -23
- package/dist/{events-RXVHG2NT.js → events-JCPYG3CD.js} +6 -6
- package/dist/{events-25VQ2O66.js → events-VUR27EF6.js} +12 -11
- package/dist/{execute-MKP4Z573.js → execute-OXMKWIFI.js} +44 -43
- package/dist/{extract-YYNYXPOC.js → extract-XGD2RDEX.js} +24 -23
- package/dist/{face-JSTMFQRM.js → face-XCNWNTGN.js} +23 -22
- package/dist/{feedback-PY6LMZCX.js → feedback-JNFDVBFV.js} +27 -26
- package/dist/{ffmpeg-KLIB55FK.js → ffmpeg-YQLAJUEA.js} +14 -13
- package/dist/{figma-ACFOXVPM.js → figma-XXGHYEB3.js} +3 -3
- package/dist/fontLocalizeCli.js +22 -20
- package/dist/{frames-BLZCBXO7.js → frames-PEMWFRRY.js} +24 -23
- package/dist/{generate-DMVEKZEV.js → generate-H5M4QSJR.js} +41 -40
- package/dist/{get-3WZDQ5YM.js → get-R6Y2OE5P.js} +14 -13
- package/dist/{gpuPolicy-TT6UCOLQ.js → gpuPolicy-2WVDQYZA.js} +14 -13
- package/dist/{grade-compare-F5DJ53XH.js → grade-compare-KFXPZFDL.js} +54 -52
- package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-RODCGO2L.js} +1 -1
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UV23RWOG.js → heifImagePrep-VLKYA5QZ.js} +18 -16
- package/dist/{help-QMP5KFYW.js → help-T3XUX5RI.js} +2 -2
- package/dist/{history-UOZ4RDEZ.js → history-QJPUCUUC.js} +25 -23
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{index-gen-OPMQ5WSN.js → index-gen-3DWPA4FO.js} +14 -12
- package/dist/{info-A6KSO64E.js → info-556DHJHJ.js} +25 -25
- package/dist/{init-OQU46K3Q.js → init-P62TPWR3.js} +46 -45
- package/dist/{ink-HGRKLGII.js → ink-SRN65OZH.js} +22 -21
- package/dist/{inspect-BKENKUXF.js → inspect-U5FWQQFB.js} +53 -52
- package/dist/{installer-Z6FTR7BJ.js → installer-3TNMANQV.js} +9 -8
- package/dist/{keyframes-UDQGWKPW.js → keyframes-FPGEFGCH.js} +63 -28
- package/dist/{lambda-SHXQFHLE.js → lambda-YJY2MYWL.js} +24 -23
- package/dist/{layout-CJAVQ4D3.js → layout-QIKSVA44.js} +53 -52
- package/dist/{lint-RAPNYPWS.js → lint-RD33ESM5.js} +20 -20
- package/dist/{lintProject-JZRM7UKH.js → lintProject-ZWLXB3A2.js} +3 -3
- package/dist/{list-4BKFMJQN.js → list-FFO3WOB2.js} +14 -13
- package/dist/{localPage-BJW2TP77.js → localPage-DHIBMNJH.js} +15 -14
- package/dist/{login-S5VZAGCI.js → login-IMFRQOEQ.js} +8 -8
- package/dist/{logout-CCATTNTL.js → logout-SLBKP67J.js} +4 -4
- package/dist/{look-V2I6BGUY.js → look-ZZHJYSPC.js} +22 -21
- package/dist/{manager-WQWU5VJ4.js → manager-U4WEPCLV.js} +4 -4
- package/dist/{manager-OS2FYJI5.js → manager-V4LGD4HB.js} +15 -14
- package/dist/{manifest-QSJYVERU.js → manifest-TSKRUXZ5.js} +5 -1
- package/dist/{measure-RO5R2SUZ.js → measure-ZRBVN45B.js} +11 -11
- package/dist/{media-treatment-CS7BVMJW.js → media-treatment-3I2CMQJZ.js} +29 -24
- package/dist/{media-use-W3DGCKFB.js → media-use-2OYJ3CCN.js} +8 -8
- package/dist/{models-ZOGYW2SC.js → models-PRW7EWSV.js} +19 -18
- package/dist/{motionShot-IMRI7W7T.js → motionShot-VWILMLHQ.js} +38 -29
- package/dist/{normalize-audio-HXTFAZUK.js → normalize-audio-42XMF35K.js} +19 -17
- package/dist/{oauth-SAVP2YM4.js → oauth-V3HSFZRE.js} +2 -2
- package/dist/{open-LJDQ37KV.js → open-D52MJZQA.js} +29 -27
- package/dist/{parakeetRunner-CKMSKDH6.js → parakeetRunner-ZR2JWQZH.js} +22 -21
- package/dist/{pipeline-ZNCYOTUH.js → pipeline-W3H4JA6H.js} +17 -16
- package/dist/{plan-NCFS5T6W.js → plan-2HQOFJO7.js} +33 -32
- package/dist/{play-5UZDFFXJ.js → play-G5XDRDIZ.js} +46 -44
- package/dist/{preflight-H5XYFKFF.js → preflight-W2JDYF3T.js} +17 -16
- package/dist/{present-EFXUFT5Y.js → present-CYMTHQFM.js} +36 -34
- package/dist/{preview-RV7ALGDQ.js → preview-DTQPQZTK.js} +46 -45
- package/dist/{probe-UB6DM2Q3.js → probe-WZJK3YQI.js} +22 -21
- package/dist/{producer-2PKB5CW5.js → producer-2BSMSO6I.js} +1 -1
- package/dist/{progress-S36VQBQW.js → progress-KRDVC24C.js} +4 -3
- package/dist/{projectConfig-EUH5DILC.js → projectConfig-BYRVYLCC.js} +12 -11
- package/dist/{publication-VI2AXXKR.js → publication-UCFJLELD.js} +7 -6
- package/dist/{publish-225GB7R4.js → publish-KXVPSWCO.js} +36 -35
- package/dist/{refresh-X5ZLKQO5.js → refresh-2GVNKDQE.js} +4 -4
- package/dist/{remove-background-W2RLEQHJ.js → remove-background-O7BZNS3X.js} +18 -17
- package/dist/{render-WMWCCMWI.js → render-DGAP4Q2Z.js} +69 -67
- package/dist/{render-Y3JKWEN4.js → render-QOWXGWQZ.js} +54 -53
- package/dist/{render-KXKBSNOQ.js → render-TYS3LCIQ.js} +10 -9
- package/dist/{render-batch-GK6CDHKN.js → render-batch-TEQRGAUC.js} +10 -9
- package/dist/renderSetupWorker.js +7 -7
- package/dist/{resolver-5CRZD5XB.js → resolver-RN2JGGQL.js} +9 -8
- package/dist/{reverse-YPYKKQSJ.js → reverse-FUARFEG2.js} +1 -1
- package/dist/{run-FQ76QNES.js → run-V722HMUG.js} +12 -11
- package/dist/{sam-A4NXDWSU.js → sam-KHLM2DJA.js} +4 -4
- package/dist/{screenshotCapture-R6VE66NR.js → screenshotCapture-4BB4LUMX.js} +17 -16
- package/dist/{service-P3IKHZFC.js → service-ZPCHJY6B.js} +23 -22
- package/dist/{share-BU4VQL3B.js → share-PXUN7AH7.js} +28 -27
- package/dist/{sherpa-44GLXY3A.js → sherpa-LT6Y7IGM.js} +21 -20
- package/dist/sherpaWorker.js +6 -5
- package/dist/{sites-TAX3JLNX.js → sites-WWCABDSX.js} +4 -3
- package/dist/skills/hyperframes/references/plugin-installation.md +12 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +47 -9
- package/dist/skills/media-use/audio/scripts/audio.mjs +24 -7
- package/dist/skills/media-use/audio/scripts/carve.mjs +10 -82
- package/dist/skills/media-use/audio/scripts/lib/audio-carve.mjs +4 -0
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +25 -7
- package/dist/skills/media-use/audio/scripts/lib/project-path.mjs +56 -0
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +66 -3
- package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +12 -7
- package/dist/skills/media-use/references/audio.md +2 -2
- package/dist/skills/media-use/references/mixing.md +1 -1
- package/dist/skills/media-use/scripts/lib/index-gen.mjs +13 -11
- package/dist/skills/media-use/scripts/lib/manifest.mjs +51 -4
- package/dist/{skills-H4OZQ6VR.js → skills-G63W5GD5.js} +17 -16
- package/dist/{skillsUpdateCheck-U3XZX7UE.js → skillsUpdateCheck-2T3JVDAA.js} +6 -6
- package/dist/{snapshot-FJQVXBFB.js → snapshot-EVSKTVDG.js} +89 -78
- package/dist/{src-O6BHCR4O.js → src-K5FSMLTB.js} +22 -20
- package/dist/{src-PAM5LJ6K.js → src-R57EQQSI.js} +28 -19
- package/dist/{start-R7CYOQ5S.js → start-XBCYKGBV.js} +40 -39
- package/dist/{state-YFRV6TQH.js → state-FO64CPYE.js} +4 -3
- package/dist/{staticProjectServer-4X2OSUN4.js → staticProjectServer-Q6VR7CXT.js} +32 -30
- package/dist/{status-VN3FAN4M.js → status-E5XIWRCQ.js} +37 -34
- package/dist/studio/assets/{hyperframes-player-SRLbmEDB.js → hyperframes-player-B78JDyI_.js} +1 -1
- package/dist/studio/assets/{index-CgyBYe2L.js → index-D7ICtobF.js} +178 -178
- package/dist/studio/assets/{index-yuN1pZrv.js → index-ww7-RmuM.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-DtvSF8bV.js → pausedVideoDecoder-Dbe8Cmab.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-V3TMIWFB.js → studio-api-GMJVYGET.js} +19 -17
- package/dist/{studioServer-GY2ZTR2E.js → studioServer-MIQCMK6U.js} +117 -101
- package/dist/subCompositionWorker.js +1162 -0
- package/dist/{sync-2V3JYCDE.js → sync-WJOFN6VN.js} +22 -21
- package/dist/{synthesize-TQELPMS5.js → synthesize-FXM7ZD6J.js} +6 -5
- package/dist/{system-2YOII5LZ.js → system-DBUN5UDD.js} +3 -3
- package/dist/{telemetry-KMRZ3IJV.js → telemetry-HZ4P4DMC.js} +12 -11
- package/dist/{templates-EEFY4FPS.js → templates-KFZZSSKW.js} +29 -28
- package/dist/{timeline-HSRGYZ3Q.js → timeline-5M6DPCXF.js} +37 -35
- package/dist/{tokens-NYFORL53.js → tokens-H4NPNRFR.js} +3 -2
- package/dist/{transcribe-CNIQYQ52.js → transcribe-6STI2ALX.js} +47 -46
- package/dist/{transcribe-GFFWRWK3.js → transcribe-7PE5UH7J.js} +18 -17
- package/dist/{tts-NPMDYSXP.js → tts-D7CLD3AD.js} +1 -1
- package/dist/{update-BDMPUNNA.js → update-H3T3AVVG.js} +19 -18
- package/dist/{updateCheck-43UZ2USJ.js → updateCheck-TLCXUNBV.js} +5 -5
- package/dist/{upgrade-Z5B57UWL.js → upgrade-BZVTMCQU.js} +9 -8
- package/dist/{urlDownloader-KDZ76BKM.js → urlDownloader-FJXNC3IM.js} +13 -12
- package/dist/{validate-UQKZNR5K.js → validate-WTRVCEL5.js} +39 -37
- package/dist/{video-VR4363OG.js → video-TVO2U5F2.js} +17 -16
- package/dist/{voices-GUWAM3TH.js → voices-F3EW43LX.js} +39 -38
- package/dist/warmCheck.js +64 -63
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-56T2OGYR.js +0 -5085
- package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +0 -46
- package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +0 -149
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +0 -231
- package/dist/skills/media-use/audio/scripts/audio.test.mjs +0 -166
- package/dist/skills/media-use/audio/scripts/carve.test.mjs +0 -254
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +0 -131
- package/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +0 -38
- package/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +0 -233
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +0 -136
- package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +0 -135
- package/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +0 -41
- package/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +0 -86
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +0 -253
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +0 -627
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +0 -239
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +0 -198
- package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +0 -331
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +0 -181
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +0 -183
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +0 -280
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +0 -21
- package/dist/skills/media-use/audio/scripts/recording.test.mjs +0 -139
- package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +0 -106
- package/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +0 -108
- package/dist/skills/media-use/scripts/compatibility.test.mjs +0 -41
- package/dist/skills/media-use/scripts/dither.test.mjs +0 -176
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +0 -143
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +0 -178
- package/dist/skills/media-use/scripts/lib/cache.test.mjs +0 -110
- package/dist/skills/media-use/scripts/lib/candidates.test.mjs +0 -155
- package/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +0 -34
- package/dist/skills/media-use/scripts/lib/config-lock.test.mjs +0 -79
- package/dist/skills/media-use/scripts/lib/coverage.test.mjs +0 -136
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +0 -39
- package/dist/skills/media-use/scripts/lib/cube-build.test.mjs +0 -80
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +0 -130
- package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/duck.test.mjs +0 -319
- package/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +0 -102
- package/dist/skills/media-use/scripts/lib/freeze.test.mjs +0 -138
- package/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +0 -285
- package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +0 -315
- package/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +0 -49
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +0 -435
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +0 -92
- package/dist/skills/media-use/scripts/lib/local-models.test.mjs +0 -220
- package/dist/skills/media-use/scripts/lib/local-run.test.mjs +0 -121
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +0 -312
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +0 -331
- package/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +0 -199
- package/dist/skills/media-use/scripts/lib/manifest.test.mjs +0 -397
- package/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +0 -197
- package/dist/skills/media-use/scripts/lib/media-home.test.mjs +0 -61
- package/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/misses.test.mjs +0 -89
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +0 -41
- package/dist/skills/media-use/scripts/lib/openverse.test.mjs +0 -219
- package/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +0 -44
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +0 -173
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +0 -245
- package/dist/skills/media-use/scripts/lib/probe.test.mjs +0 -221
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +0 -391
- package/dist/skills/media-use/scripts/lib/registry.test.mjs +0 -261
- package/dist/skills/media-use/scripts/lib/search.test.mjs +0 -32
- package/dist/skills/media-use/scripts/lib/specs.test.mjs +0 -157
- package/dist/skills/media-use/scripts/lib/stats.test.mjs +0 -165
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +0 -550
- package/dist/skills/media-use/scripts/lib/test-home.test.mjs +0 -10
- package/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +0 -33
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +0 -59
- package/dist/skills/media-use/scripts/lib/usage.test.mjs +0 -54
- package/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +0 -46
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +0 -86
- package/dist/skills/media-use/scripts/transcribe.test.mjs +0 -215
- package/dist/skills/media-use/scripts/transcript-cut.test.mjs +0 -341
- package/dist/{chunk-BAWGEGKD.js → chunk-XMAU5ZQX.js} +3 -3
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
import assert from "node:assert/strict";
|
|
2
|
-
import { execFileSync, spawnSync } from "node:child_process";
|
|
3
|
-
import { mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
4
|
-
import { tmpdir } from "node:os";
|
|
5
|
-
import { join } from "node:path";
|
|
6
|
-
import test from "node:test";
|
|
7
|
-
import { fileURLToPath } from "node:url";
|
|
8
|
-
|
|
9
|
-
const SCRIPT = fileURLToPath(new URL("./transcript-cut.mjs", import.meta.url));
|
|
10
|
-
const HAS_FFMPEG =
|
|
11
|
-
spawnSync("ffmpeg", ["-version"], { stdio: "ignore" }).status === 0 &&
|
|
12
|
-
spawnSync("ffprobe", ["-version"], { stdio: "ignore" }).status === 0;
|
|
13
|
-
|
|
14
|
-
const SAMPLE_RATE = 44100;
|
|
15
|
-
// A continuous tone's own slope between samples never exceeds amplitude * 2*pi*f/rate
|
|
16
|
-
// (~2054 for 440Hz at full scale here); a raw splice between two independently-cut
|
|
17
|
-
// points on the same tone lands at two unrelated phases, so an unfaded join jumps far
|
|
18
|
-
// past that. This threshold sits well above normal tone motion and well below a splice.
|
|
19
|
-
const MAX_CONTINUOUS_STEP = 6000;
|
|
20
|
-
const MIN_SUSPICIOUS_ZERO_RUN = 20;
|
|
21
|
-
|
|
22
|
-
function fixture() {
|
|
23
|
-
const dir = mkdtempSync(join(tmpdir(), "media-use-transcript-cut-"));
|
|
24
|
-
return { dir, cleanup: () => rmSync(dir, { recursive: true, force: true }) };
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function run(args) {
|
|
28
|
-
return spawnSync(process.execPath, [SCRIPT, ...args], { encoding: "utf8" });
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function readPcm(filePath) {
|
|
32
|
-
const raw = execFileSync("ffmpeg", [
|
|
33
|
-
"-hide_banner",
|
|
34
|
-
"-loglevel",
|
|
35
|
-
"error",
|
|
36
|
-
"-i",
|
|
37
|
-
filePath,
|
|
38
|
-
"-f",
|
|
39
|
-
"s16le",
|
|
40
|
-
"-ac",
|
|
41
|
-
"1",
|
|
42
|
-
"-ar",
|
|
43
|
-
String(SAMPLE_RATE),
|
|
44
|
-
"-",
|
|
45
|
-
]);
|
|
46
|
-
const samples = new Int16Array(raw.buffer, raw.byteOffset, raw.length / 2);
|
|
47
|
-
return samples;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Three kept ranges, none starting or ending on a frame boundary of any rate below.
|
|
51
|
-
const UNALIGNED_KEEP = "0.137-1.913,2.845-4.111,4.9-5.47";
|
|
52
|
-
const UNALIGNED_KEPT_SECONDS = 1.776 + 1.266 + 0.57;
|
|
53
|
-
|
|
54
|
-
function cutVideo(t, rate, keep = UNALIGNED_KEEP) {
|
|
55
|
-
const { dir, cleanup } = fixture();
|
|
56
|
-
t.after(cleanup);
|
|
57
|
-
|
|
58
|
-
const source = join(dir, "source.mp4");
|
|
59
|
-
execFileSync("ffmpeg", [
|
|
60
|
-
"-y",
|
|
61
|
-
"-hide_banner",
|
|
62
|
-
"-loglevel",
|
|
63
|
-
"error",
|
|
64
|
-
"-f",
|
|
65
|
-
"lavfi",
|
|
66
|
-
"-i",
|
|
67
|
-
`testsrc2=size=160x90:rate=${rate}:duration=6`,
|
|
68
|
-
"-f",
|
|
69
|
-
"lavfi",
|
|
70
|
-
"-i",
|
|
71
|
-
`sine=frequency=440:duration=6:sample_rate=${SAMPLE_RATE}`,
|
|
72
|
-
"-c:v",
|
|
73
|
-
"libx264",
|
|
74
|
-
"-preset",
|
|
75
|
-
"ultrafast",
|
|
76
|
-
"-pix_fmt",
|
|
77
|
-
"yuv420p",
|
|
78
|
-
"-c:a",
|
|
79
|
-
"aac",
|
|
80
|
-
source,
|
|
81
|
-
]);
|
|
82
|
-
|
|
83
|
-
const transcriptPath = join(dir, "transcript.json");
|
|
84
|
-
writeFileSync(transcriptPath, JSON.stringify({ words: [{ text: "tone", start: 0, end: 6 }] }));
|
|
85
|
-
|
|
86
|
-
const output = join(dir, "out.mp4");
|
|
87
|
-
const result = run([
|
|
88
|
-
"--input",
|
|
89
|
-
source,
|
|
90
|
-
"--transcript",
|
|
91
|
-
transcriptPath,
|
|
92
|
-
"--keep",
|
|
93
|
-
keep,
|
|
94
|
-
"--out",
|
|
95
|
-
output,
|
|
96
|
-
"--json",
|
|
97
|
-
]);
|
|
98
|
-
assert.equal(result.status, 0, result.stderr || result.stdout);
|
|
99
|
-
return output;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
function readVideoTimestamps(filePath) {
|
|
103
|
-
const probe = JSON.parse(
|
|
104
|
-
execFileSync(
|
|
105
|
-
"ffprobe",
|
|
106
|
-
[
|
|
107
|
-
"-v",
|
|
108
|
-
"error",
|
|
109
|
-
"-select_streams",
|
|
110
|
-
"v:0",
|
|
111
|
-
"-show_entries",
|
|
112
|
-
"stream=time_base:packet=pts",
|
|
113
|
-
"-of",
|
|
114
|
-
"json",
|
|
115
|
-
"--",
|
|
116
|
-
filePath,
|
|
117
|
-
],
|
|
118
|
-
{ encoding: "utf8" },
|
|
119
|
-
),
|
|
120
|
-
);
|
|
121
|
-
const [tickNum, tickDen] = probe.streams[0].time_base.split("/").map(Number);
|
|
122
|
-
// Packets come in decode order; B-frames put that out of presentation order.
|
|
123
|
-
const pts = probe.packets.map((packet) => Number(packet.pts)).sort((a, b) => a - b);
|
|
124
|
-
return { tickNum, tickDen, pts };
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
for (const rate of ["30", "30000/1001", "60"]) {
|
|
128
|
-
test(
|
|
129
|
-
`puts every frame of a ${rate} fps video cut on the frame grid, with no gaps`,
|
|
130
|
-
{ skip: !HAS_FFMPEG },
|
|
131
|
-
(t) => {
|
|
132
|
-
const [rateNum, rateDen = 1] = rate.split("/").map(Number);
|
|
133
|
-
const { tickNum, tickDen, pts } = readVideoTimestamps(cutVideo(t, rate));
|
|
134
|
-
assert.ok(pts.length > rateNum / rateDen, "expected several seconds of video");
|
|
135
|
-
|
|
136
|
-
// Frame i belongs at exactly i / rate seconds. Compared as integers, so a
|
|
137
|
-
// timestamp rounded to the millisecond (0.067 for 2/30) cannot pass.
|
|
138
|
-
const offGrid = pts.filter(
|
|
139
|
-
(value, index) => value * tickNum * rateNum !== index * rateDen * tickDen,
|
|
140
|
-
);
|
|
141
|
-
assert.equal(
|
|
142
|
-
offGrid.length,
|
|
143
|
-
0,
|
|
144
|
-
`${offGrid.length} of ${pts.length} frames are off the ${rate} fps grid (timestamps in units of ${tickNum}/${tickDen} s)`,
|
|
145
|
-
);
|
|
146
|
-
},
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
test(
|
|
151
|
-
"keeps the keyframes of a video cut no more than a second apart",
|
|
152
|
-
{ skip: !HAS_FFMPEG },
|
|
153
|
-
(t) => {
|
|
154
|
-
// One kept range of almost four seconds, so only the encoder decides where keyframes go.
|
|
155
|
-
const output = cutVideo(t, "30", "0.137-4.111,4.9-5.47");
|
|
156
|
-
const probe = JSON.parse(
|
|
157
|
-
execFileSync(
|
|
158
|
-
"ffprobe",
|
|
159
|
-
[
|
|
160
|
-
"-v",
|
|
161
|
-
"error",
|
|
162
|
-
"-select_streams",
|
|
163
|
-
"v:0",
|
|
164
|
-
"-show_entries",
|
|
165
|
-
"packet=pts_time,flags",
|
|
166
|
-
"-of",
|
|
167
|
-
"json",
|
|
168
|
-
"--",
|
|
169
|
-
output,
|
|
170
|
-
],
|
|
171
|
-
{ encoding: "utf8" },
|
|
172
|
-
),
|
|
173
|
-
);
|
|
174
|
-
const keyframes = probe.packets
|
|
175
|
-
.filter((packet) => packet.flags.startsWith("K"))
|
|
176
|
-
.map((packet) => Number(packet.pts_time))
|
|
177
|
-
.sort((a, b) => a - b);
|
|
178
|
-
const gaps = keyframes.slice(1).map((time, index) => time - keyframes[index]);
|
|
179
|
-
const widest = Math.max(...gaps);
|
|
180
|
-
// A frame of slack: the forced keyframe is the first frame at or after each second.
|
|
181
|
-
assert.ok(widest < 1.05, `keyframes are up to ${widest.toFixed(3)}s apart`);
|
|
182
|
-
},
|
|
183
|
-
);
|
|
184
|
-
|
|
185
|
-
test(
|
|
186
|
-
"does not pad the audio of a video cut with encoder priming at each splice",
|
|
187
|
-
{ skip: !HAS_FFMPEG },
|
|
188
|
-
(t) => {
|
|
189
|
-
const seconds = readPcm(cutVideo(t, "30")).length / SAMPLE_RATE;
|
|
190
|
-
// The single AAC encode may round the end up by a frame or two (23 ms each).
|
|
191
|
-
// Encoding every segment separately instead adds about 25 ms per splice on top.
|
|
192
|
-
assert.ok(
|
|
193
|
-
Math.abs(seconds - UNALIGNED_KEPT_SECONDS) < 0.05,
|
|
194
|
-
`audio runs ${seconds.toFixed(3)}s for ${UNALIGNED_KEPT_SECONDS.toFixed(3)}s kept`,
|
|
195
|
-
);
|
|
196
|
-
},
|
|
197
|
-
);
|
|
198
|
-
|
|
199
|
-
test(
|
|
200
|
-
"keeps a spliced tone continuous at every cut, with no raw phase jump or silence gap",
|
|
201
|
-
{ skip: !HAS_FFMPEG },
|
|
202
|
-
(t) => {
|
|
203
|
-
const { dir, cleanup } = fixture();
|
|
204
|
-
t.after(cleanup);
|
|
205
|
-
|
|
206
|
-
const source = join(dir, "tone.wav");
|
|
207
|
-
execFileSync("ffmpeg", [
|
|
208
|
-
"-y",
|
|
209
|
-
"-hide_banner",
|
|
210
|
-
"-loglevel",
|
|
211
|
-
"error",
|
|
212
|
-
"-f",
|
|
213
|
-
"lavfi",
|
|
214
|
-
"-i",
|
|
215
|
-
`sine=frequency=440:duration=6:sample_rate=${SAMPLE_RATE}`,
|
|
216
|
-
source,
|
|
217
|
-
]);
|
|
218
|
-
|
|
219
|
-
const transcriptPath = join(dir, "transcript.json");
|
|
220
|
-
writeFileSync(transcriptPath, JSON.stringify({ words: [{ text: "tone", start: 0, end: 6 }] }));
|
|
221
|
-
|
|
222
|
-
const output = join(dir, "out.wav");
|
|
223
|
-
// Two "ugly" removal ranges: neither aligned to the 440Hz period, so the kept
|
|
224
|
-
// segments' cut edges land at unrelated phases of the same continuous tone --
|
|
225
|
-
// exactly the shape that clicks without a fade, and the shape jrusso1020's
|
|
226
|
-
// review proved this branch never actually fades.
|
|
227
|
-
const result = run([
|
|
228
|
-
"--input",
|
|
229
|
-
source,
|
|
230
|
-
"--transcript",
|
|
231
|
-
transcriptPath,
|
|
232
|
-
"--remove",
|
|
233
|
-
"1.37-1.83,3.29-3.71",
|
|
234
|
-
"--out",
|
|
235
|
-
output,
|
|
236
|
-
"--json",
|
|
237
|
-
]);
|
|
238
|
-
assert.equal(result.status, 0, result.stderr || result.stdout);
|
|
239
|
-
|
|
240
|
-
const samples = readPcm(output);
|
|
241
|
-
assert.ok(samples.length > SAMPLE_RATE, "expected several seconds of audio");
|
|
242
|
-
|
|
243
|
-
let maxStep = 0;
|
|
244
|
-
let zeroRun = 0;
|
|
245
|
-
let maxZeroRun = 0;
|
|
246
|
-
for (let i = 1; i < samples.length; i++) {
|
|
247
|
-
const step = Math.abs(samples[i] - samples[i - 1]);
|
|
248
|
-
if (step > maxStep) maxStep = step;
|
|
249
|
-
if (samples[i] === 0) {
|
|
250
|
-
zeroRun++;
|
|
251
|
-
if (zeroRun > maxZeroRun) maxZeroRun = zeroRun;
|
|
252
|
-
} else {
|
|
253
|
-
zeroRun = 0;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
assert.ok(
|
|
258
|
-
maxStep <= MAX_CONTINUOUS_STEP,
|
|
259
|
-
`largest sample-to-sample step was ${maxStep}, expected <= ${MAX_CONTINUOUS_STEP} (a raw, unfaded splice)`,
|
|
260
|
-
);
|
|
261
|
-
assert.ok(
|
|
262
|
-
maxZeroRun < MIN_SUSPICIOUS_ZERO_RUN,
|
|
263
|
-
`found a run of ${maxZeroRun} consecutive zero samples, expected < ${MIN_SUSPICIOUS_ZERO_RUN} (a priming-silence gap)`,
|
|
264
|
-
);
|
|
265
|
-
},
|
|
266
|
-
);
|
|
267
|
-
|
|
268
|
-
// Frame 32 at 30 fps sits at 1.0666666 s. A -ss rounded to 1.067 lands just past
|
|
269
|
-
// it, so ffmpeg's accurate seek starts that segment on frame 33 and the cut comes
|
|
270
|
-
// out a frame short from the join on.
|
|
271
|
-
const THIRTY_FPS_FRAME_32 = 32 / 30;
|
|
272
|
-
|
|
273
|
-
test("a kept range starting on a 30 fps frame keeps that frame", { skip: !HAS_FFMPEG }, (t) => {
|
|
274
|
-
const { dir, cleanup } = fixture();
|
|
275
|
-
t.after(cleanup);
|
|
276
|
-
|
|
277
|
-
const source = join(dir, "src.mp4");
|
|
278
|
-
execFileSync("ffmpeg", [
|
|
279
|
-
"-y",
|
|
280
|
-
"-hide_banner",
|
|
281
|
-
"-loglevel",
|
|
282
|
-
"error",
|
|
283
|
-
"-f",
|
|
284
|
-
"lavfi",
|
|
285
|
-
"-i",
|
|
286
|
-
"testsrc2=size=320x180:rate=30",
|
|
287
|
-
"-f",
|
|
288
|
-
"lavfi",
|
|
289
|
-
"-i",
|
|
290
|
-
`sine=frequency=440:sample_rate=${SAMPLE_RATE}`,
|
|
291
|
-
"-t",
|
|
292
|
-
"4",
|
|
293
|
-
"-c:v",
|
|
294
|
-
"libx264",
|
|
295
|
-
"-pix_fmt",
|
|
296
|
-
"yuv420p",
|
|
297
|
-
"-c:a",
|
|
298
|
-
"aac",
|
|
299
|
-
source,
|
|
300
|
-
]);
|
|
301
|
-
|
|
302
|
-
const transcriptPath = join(dir, "transcript.json");
|
|
303
|
-
writeFileSync(transcriptPath, JSON.stringify([{ text: "a", start: 0.1, end: 3.9 }]));
|
|
304
|
-
|
|
305
|
-
const output = join(dir, "out.mp4");
|
|
306
|
-
const result = run([
|
|
307
|
-
"--input",
|
|
308
|
-
source,
|
|
309
|
-
"--transcript",
|
|
310
|
-
transcriptPath,
|
|
311
|
-
"--keep",
|
|
312
|
-
`0-1,${THIRTY_FPS_FRAME_32}-3`,
|
|
313
|
-
"--out",
|
|
314
|
-
output,
|
|
315
|
-
"--json",
|
|
316
|
-
]);
|
|
317
|
-
assert.equal(result.status, 0, result.stderr || result.stdout);
|
|
318
|
-
|
|
319
|
-
// Frames 0-29 for 0-1s, then frames 32-89 for the second segment. Rounding
|
|
320
|
-
// -ss to the millisecond drops frame 32 and yields 87.
|
|
321
|
-
const frames = Number(
|
|
322
|
-
execFileSync(
|
|
323
|
-
"ffprobe",
|
|
324
|
-
[
|
|
325
|
-
"-v",
|
|
326
|
-
"error",
|
|
327
|
-
"-select_streams",
|
|
328
|
-
"v",
|
|
329
|
-
"-count_packets",
|
|
330
|
-
"-show_entries",
|
|
331
|
-
"stream=nb_read_packets",
|
|
332
|
-
"-of",
|
|
333
|
-
"csv=p=0",
|
|
334
|
-
"--",
|
|
335
|
-
output,
|
|
336
|
-
],
|
|
337
|
-
{ encoding: "utf8" },
|
|
338
|
-
).trim(),
|
|
339
|
-
);
|
|
340
|
-
assert.equal(frames, 88, `expected 88 frames, got ${frames}`);
|
|
341
|
-
});
|
|
@@ -4,9 +4,6 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
explainNetworkFailure
|
|
9
|
-
} from "./chunk-D3UCUI7G.js";
|
|
10
7
|
import {
|
|
11
8
|
ErrApi,
|
|
12
9
|
ErrDeviceAuthFailed,
|
|
@@ -24,6 +21,9 @@ import {
|
|
|
24
21
|
revokeEndpoint,
|
|
25
22
|
tokenEndpoint
|
|
26
23
|
} from "./chunk-DMW5SSUN.js";
|
|
24
|
+
import {
|
|
25
|
+
explainNetworkFailure
|
|
26
|
+
} from "./chunk-D3UCUI7G.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-JCNPHRGX.js";
|