hyperframes 0.8.222 → 0.8.224
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-6MPLIWVP.js → add-JEPKJ2F4.js} +15 -15
- package/dist/{agentPromptGenerator-X7SQPCXZ.js → agentPromptGenerator-ZBNWLX5D.js} +7 -7
- package/dist/{animatedGifPrep-ESOJ4FQ7.js → animatedGifPrep-43LLMTN5.js} +7 -7
- package/dist/api.d.ts +5 -3
- package/dist/api.js +33 -22
- package/dist/{asset-Y735VQV6.js → asset-M6SH6PUW.js} +5 -5
- package/dist/{assetCataloger-AOJAUEZW.js → assetCataloger-BLQ7UVJ5.js} +8 -8
- package/dist/{audio-VMMCGPOV.js → audio-J3QREJK4.js} +150 -1158
- package/dist/{auth-BD5NHYRA.js → auth-7TRCBCKA.js} +5 -5
- package/dist/{autoUpdate-VTMNHOAJ.js → autoUpdate-WTFSYLTK.js} +4 -4
- package/dist/{backgroundChecks-SUDYQZSW.js → backgroundChecks-YZW7AMMJ.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-4NR7RMT7.js → batchRender-LDZ6NO2X.js} +11 -11
- package/dist/{beats-PKEHQHBY.js → beats-JWUADKHV.js} +14 -14
- package/dist/{benchmark-K55DDFHG.js → benchmark-QOQZ7UGD.js} +13 -13
- package/dist/billing-3GVNEE56.js +86 -0
- package/dist/{browser-G2WFWJJ3.js → browser-4HNCSPUR.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-MNG2UVH3.js → bundleWithLocalizedFonts-GTKHB45M.js} +2 -2
- package/dist/{capture-24PIC3TZ.js → capture-5OYZNIOR.js} +31 -31
- package/dist/{capture-U3EEAPI6.js → capture-XSRWYHAM.js} +7 -7
- package/dist/{captureCompositionFrame-KL4V6ORD.js → captureCompositionFrame-4F7PPQKB.js} +17 -17
- package/dist/{captureTimeout-RIMG6IYH.js → captureTimeout-7Y2RUBCU.js} +3 -1
- package/dist/{catalog-J3BU4TFW.js → catalog-4FVQSID5.js} +16 -16
- package/dist/{catch-up-LDGNMEGL.js → catch-up-KQVK2QZC.js} +8 -8
- package/dist/{check-J6HG6EKE.js → check-3YHLB6FM.js} +47 -46
- package/dist/{checkAudio-MAX7JUYG.js → checkAudio-7ZSZVBSJ.js} +15 -15
- package/dist/{checkBrowser-3W74WJ26.js → checkBrowser-VX5CHNQS.js} +40 -39
- package/dist/{chunk-L55LAERP.js → chunk-2KDHJCH2.js} +2 -2
- package/dist/{chunk-CVY6OIKN.js → chunk-2M6B2JKZ.js} +73 -39
- package/dist/{chunk-OROHGC7W.js → chunk-2QQO3J3B.js} +7 -7
- package/dist/chunk-2WVQ3CCN.js +113 -0
- package/dist/{chunk-RRPO44PE.js → chunk-34GAW4GO.js} +5 -5
- package/dist/{chunk-WWT6ETQA.js → chunk-35NDLXHZ.js} +50 -55
- package/dist/{chunk-YHL4CVTF.js → chunk-3NHCTTLP.js} +15 -15
- package/dist/chunk-3ZDOAVZM.js +570 -0
- package/dist/{chunk-6ZLDIMPL.js → chunk-4H4DR36N.js} +2 -2
- package/dist/{chunk-IB7UYGXR.js → chunk-4ZAOAPWP.js} +17 -11
- package/dist/{chunk-GOWU3NCE.js → chunk-52B3AOIV.js} +1 -1
- package/dist/{chunk-F6QV5N3A.js → chunk-53JEHQBW.js} +2 -2
- package/dist/{chunk-YEKJOA47.js → chunk-53TKUWDX.js} +3 -3
- package/dist/{chunk-6MUI2H6P.js → chunk-54Q3H2UQ.js} +5 -2
- package/dist/chunk-5KAGTSLY.js +205 -0
- package/dist/{chunk-5ZBMHUY2.js → chunk-5LOZWO2M.js} +1 -1
- package/dist/{chunk-DSHFKKSZ.js → chunk-5N5FYE5K.js} +2 -2
- package/dist/{chunk-ZBNK6X5O.js → chunk-652ERUZD.js} +2 -2
- package/dist/{chunk-DP5LF7GF.js → chunk-66W5IWLO.js} +12 -0
- package/dist/{chunk-JQWITWVC.js → chunk-6QIYQ43G.js} +2 -2
- package/dist/chunk-6UWSEXQ3.js +5030 -0
- package/dist/{chunk-35JKCWYI.js → chunk-7HSV5SJ4.js} +3 -3
- package/dist/{chunk-3RXZZIDQ.js → chunk-7RTPHNOO.js} +2 -2
- package/dist/{chunk-6CFBFWLF.js → chunk-A25SCSOK.js} +1 -1
- package/dist/{chunk-SJGE5I5F.js → chunk-ADVVQX4I.js} +1 -1
- package/dist/{chunk-GHEYGMKD.js → chunk-AMQFGICP.js} +1 -1
- package/dist/chunk-BAXL3U3T.js +312 -0
- package/dist/{chunk-YSTBSLWY.js → chunk-BEMGUGGJ.js} +1 -1
- package/dist/chunk-BTK3T4HJ.js +250 -0
- package/dist/{chunk-UBDO4EHA.js → chunk-C5JKRCSG.js} +1 -1
- package/dist/{chunk-ZLXWRYOO.js → chunk-CGX4EOGT.js} +3 -3
- package/dist/{chunk-ZPTNLDOB.js → chunk-D4M37ATV.js} +2 -2
- package/dist/chunk-DY7PQLIE.js +248 -0
- package/dist/{chunk-DNTPNSH5.js → chunk-E2ZY4GWH.js} +5 -5
- package/dist/{chunk-QYRMR45H.js → chunk-E47ZWDMH.js} +1 -1
- package/dist/{chunk-EGJ4UECR.js → chunk-EHZESMRB.js} +8 -2
- package/dist/{chunk-VJVVWYP6.js → chunk-EQFDOQTG.js} +1 -1
- package/dist/{chunk-42Q3VX34.js → chunk-F34GYYXO.js} +5 -5
- package/dist/{chunk-7IH3RSSG.js → chunk-F3CTUCFD.js} +12 -12
- package/dist/chunk-F7T57BZZ.js +95 -0
- package/dist/{chunk-BDZSH6P3.js → chunk-FJ3KUOUZ.js} +1 -1
- package/dist/{chunk-7KBS6ZLB.js → chunk-FPR57WRR.js} +2 -2
- package/dist/{chunk-BPIY5LB3.js → chunk-G45NYKSM.js} +39 -4
- package/dist/{chunk-AXVTL7B6.js → chunk-GE4ABM5K.js} +2 -2
- package/dist/{chunk-HQDHMAUI.js → chunk-GLTSINRP.js} +1 -1
- package/dist/chunk-GQ2QER6M.js +70 -0
- package/dist/{chunk-Y7IV5MAK.js → chunk-H6APAFKE.js} +2 -2
- package/dist/{chunk-5GSEM63G.js → chunk-HANNA5JJ.js} +1 -1
- package/dist/{chunk-RIGSGNDQ.js → chunk-HDPW7THH.js} +30 -21
- package/dist/{chunk-L37AZWB2.js → chunk-HIPW4JXL.js} +3 -3
- package/dist/{chunk-VQMHDS2V.js → chunk-HT3D5AKG.js} +52 -12
- package/dist/{chunk-K5UCRKUK.js → chunk-IORJ42GY.js} +2 -2
- package/dist/{chunk-OAXWHPNS.js → chunk-IYYQRNIZ.js} +1 -1
- package/dist/{chunk-G675S644.js → chunk-J7FVF73D.js} +33 -31
- package/dist/{chunk-S2HWGG5O.js → chunk-JHOPRAJN.js} +1 -1
- package/dist/{chunk-WJYFJGYT.js → chunk-JIF347PW.js} +3 -3
- package/dist/{chunk-XHD7RKEZ.js → chunk-JK2KNL6F.js} +2 -2
- package/dist/{chunk-CZOC7WY7.js → chunk-JKLWWGE6.js} +1 -1
- package/dist/{chunk-SKCS4SUZ.js → chunk-JMP52GTN.js} +44 -19
- package/dist/chunk-JUF43Q7Q.js +59 -0
- package/dist/chunk-K3QT232E.js +71 -0
- package/dist/chunk-KEDN4LSV.js +1048 -0
- package/dist/{chunk-G2EY3MVW.js → chunk-L4ULTWCD.js} +1 -1
- package/dist/{chunk-7D2LTSNV.js → chunk-LRS4FV5W.js} +3 -3
- package/dist/{chunk-VMRQDPFL.js → chunk-M336YVCP.js} +1 -1
- package/dist/{chunk-6W3DY5BP.js → chunk-MA5AQK7T.js} +2 -2
- package/dist/{chunk-EQGKUPBJ.js → chunk-MCDNAIFF.js} +1 -1
- package/dist/{chunk-EOUKB53E.js → chunk-MOXNAVCW.js} +1 -1
- package/dist/{chunk-AIXH3V5A.js → chunk-NFUR6NNT.js} +20 -5
- package/dist/{chunk-AN4USOFT.js → chunk-NI35PAVN.js} +2 -2
- package/dist/{chunk-E5IIR67Q.js → chunk-O2VKGYSK.js} +1 -1
- package/dist/chunk-ODJ2WBZX.js +288 -0
- package/dist/{chunk-52VXA3SC.js → chunk-OZMZFJDW.js} +1 -1
- package/dist/{chunk-EE7YWKDY.js → chunk-PKMAWQUI.js} +4 -4
- package/dist/{chunk-D6LGD472.js → chunk-POOLZTMZ.js} +6 -4
- package/dist/chunk-QK6ZNEBW.js +46 -0
- package/dist/{chunk-NUE44RN2.js → chunk-QOI46C6F.js} +17 -4
- package/dist/{chunk-MESSJFK3.js → chunk-QOYZ3U6G.js} +39 -29
- package/dist/{chunk-ZAJQFY5Q.js → chunk-QU5OYMTB.js} +15 -2
- package/dist/{chunk-HOTXWVVP.js → chunk-R2C5EON5.js} +2 -6
- package/dist/{chunk-FMKI7ZLM.js → chunk-RR5QE7DB.js} +2 -2
- package/dist/{chunk-OQLYKDL5.js → chunk-RU7KMDFL.js} +1 -1
- package/dist/{chunk-ONMTNYGR.js → chunk-RXJUMVCA.js} +1 -1
- package/dist/chunk-RZ6CXJ56.js +24 -0
- package/dist/{chunk-GODT7QDZ.js → chunk-SGMCQAYU.js} +3 -3
- package/dist/{chunk-QOZPWIYV.js → chunk-THL3N377.js} +19 -16
- package/dist/{chunk-IGBOFU2Y.js → chunk-UCPEABYK.js} +2 -2
- package/dist/{chunk-AOHG22HQ.js → chunk-UZ5AWZCA.js} +6 -6
- package/dist/{chunk-4VEXJTUT.js → chunk-VCJE7IMY.js} +2 -2
- package/dist/{chunk-Z5VQBRU2.js → chunk-VPMHRLJH.js} +3 -3
- package/dist/{chunk-FT3CNACL.js → chunk-VXRBPWVW.js} +144 -41
- package/dist/{chunk-537WSYHU.js → chunk-W7MJPKBJ.js} +1 -1
- package/dist/{chunk-26AQTUU4.js → chunk-WJD3GVAA.js} +1 -1
- package/dist/{chunk-DS372VSV.js → chunk-WW7Z2W73.js} +2 -2
- package/dist/{chunk-DC26QLB7.js → chunk-X5BSSPC2.js} +1 -1
- package/dist/{chunk-DIXTEVWQ.js → chunk-Y5HVDK7X.js} +3 -3
- package/dist/{chunk-EHSBBBR2.js → chunk-YGGZ23BB.js} +2 -0
- package/dist/{chunk-NHXGFQWQ.js → chunk-Z7GIHPAZ.js} +1 -1
- package/dist/{chunk-XC3BGWCJ.js → chunk-ZFQSXMX6.js} +1 -1
- package/dist/{chunk-P5M3AXEP.js → chunk-ZGQC6IU7.js} +1 -1
- package/dist/{chunk-KEY2VA65.js → chunk-ZLZXGJ63.js} +6 -20
- package/dist/{clean-K6IM3LC4.js → clean-SXEI6FT4.js} +24 -24
- package/dist/cli.js +73 -63
- package/dist/{cloud-OV7EA4BJ.js → cloud-SKN6FWAZ.js} +4 -4
- package/dist/{cloudrun-ZEMODIOP.js → cloudrun-RHPVVXCR.js} +9 -9
- package/dist/{compare-MJZ3D3HA.js → compare-RTXF2NSK.js} +36 -36
- package/dist/{compiler-6KKETX77.js → compiler-SKRY6FPA.js} +4 -4
- package/dist/{component-EVXMYIP3.js → component-2NPF5PA6.js} +6 -6
- package/dist/{compositions-PZ7FQ7WN.js → compositions-AZRVHGBT.js} +17 -17
- package/dist/curve-QSFEGBUH.js +329 -0
- package/dist/cuts-6AWEJH2H.js +123 -0
- package/dist/{delete-DL3XA4QV.js → delete-NOHFVICL.js} +9 -9
- package/dist/{deploy-VEYP3IP5.js → deploy-UFRADJOA.js} +10 -10
- package/dist/describeProject-F43LI3YQ.js +56 -0
- package/dist/{destroy-BQ5R7LUF.js → destroy-IQLGADZM.js} +6 -6
- package/dist/diff-3WS6NMSE.js +1825 -0
- package/dist/{dist-SHMQOKMF.js → dist-24QQO5IL.js} +2 -2
- package/dist/{dist-M77KFAYW.js → dist-YEYUGCOR.js} +2 -2
- package/dist/{docs-VAF5NM5B.js → docs-IB3KETC6.js} +1 -1
- package/dist/{doctor-JM2WHH7Y.js → doctor-F4VJYQXC.js} +13 -13
- package/dist/energy-BN3QD6Y7.js +134 -0
- package/dist/events-5W7ETFWR.js +221 -0
- package/dist/{events-GW5I5RCG.js → events-PZH4C7VA.js} +5 -5
- package/dist/{events-S7KVBRSL.js → events-YJ3XSIPL.js} +6 -6
- package/dist/extract-S34DWGAD.js +309 -0
- package/dist/face-3SCJADG4.js +171 -0
- package/dist/{feedback-7OR5FVTX.js → feedback-3K6NSKIC.js} +16 -16
- package/dist/{ffmpeg-A7CSIX3U.js → ffmpeg-2RBDDMHU.js} +7 -7
- package/dist/{figma-444HKFX5.js → figma-NWAJYMAI.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/frames-6UARLPLK.js +352 -0
- package/dist/generate-KBVWFVXN.js +74 -0
- package/dist/{get-6UTF3225.js → get-SEZZMLQ3.js} +8 -8
- package/dist/{gpuPolicy-ORPUS5Z2.js → gpuPolicy-VIZAJ3GY.js} +7 -7
- package/dist/{grade-compare-UCTAYN3B.js → grade-compare-PMAK4PJD.js} +40 -37
- package/dist/{heifImagePrep-ED6V6RFN.js → heifImagePrep-6NYIR7WN.js} +8 -8
- package/dist/{help-HZR32XWP.js → help-4UPSHWI2.js} +7 -1
- package/dist/{history-TQ56MZIA.js → history-VNAZEQDE.js} +11 -11
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +70 -70
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/index-gen-OPMQ5WSN.js +61 -0
- package/dist/{info-RPIIP7RN.js → info-OREET5PM.js} +11 -11
- package/dist/{init-ONAWKHFW.js → init-K7AEJBAL.js} +33 -32
- package/dist/{inspect-A75PYOWJ.js → inspect-STME5DNY.js} +37 -36
- package/dist/{installer-ISMCCFBZ.js → installer-NQA4KXRP.js} +4 -4
- package/dist/{keyframes-2I75DP3O.js → keyframes-JQWZ235Q.js} +10 -10
- package/dist/{lambda-4QIHGPGJ.js → lambda-RJNLW2EO.js} +21 -21
- package/dist/{layout-GW7WE7RT.js → layout-MTZWBPNZ.js} +37 -36
- package/dist/{lint-OWP72OZQ.js → lint-AQWTSL75.js} +12 -12
- package/dist/{lintProject-XYQ5L7RQ.js → lintProject-6H64SX3V.js} +2 -2
- package/dist/{list-WVK7ZCPW.js → list-ZEBZ5DB5.js} +9 -9
- package/dist/{localPage-IQWHN7BH.js → localPage-CQ3H4N2N.js} +7 -7
- package/dist/{login-Q5CNHYWU.js → login-VHCZHENV.js} +17 -11
- package/dist/{logout-6VFJ7WMW.js → logout-LHTQV2BZ.js} +3 -3
- package/dist/look-25TSRPSV.js +180 -0
- package/dist/{manager-JCYVNEWH.js → manager-57SX7D5G.js} +9 -8
- package/dist/manifest-QSJYVERU.js +49 -0
- package/dist/measure-Y2R3G5OJ.js +46 -0
- package/dist/{media-treatment-M5IUP7H4.js → media-treatment-3G2IVS64.js} +20 -20
- package/dist/{media-use-ZNTB7W6N.js → media-use-LUAOZJNV.js} +10 -6
- package/dist/{models-CFXKDYZ3.js → models-NT56FKRG.js} +15 -15
- package/dist/{motionShot-CWUEI4ZM.js → motionShot-P4NTFKYS.js} +20 -20
- package/dist/{normalize-QJVXFMWO.js → normalize-MBNGRVQA.js} +2 -1
- package/dist/{normalize-audio-FASY33LR.js → normalize-audio-2DUTZ6QK.js} +12 -12
- package/dist/{open-KOVVESYN.js → open-OATYOOR7.js} +15 -15
- package/dist/{parakeetRunner-E4IP5SL4.js → parakeetRunner-UASHW3A4.js} +13 -12
- package/dist/{pipeline-C6EZVV43.js → pipeline-GGAYP5Q6.js} +11 -11
- package/dist/{play-MZJI6SMH.js → play-GHXBJS3T.js} +28 -28
- package/dist/{policies-J5BWAZHM.js → policies-EERREOZJ.js} +6 -4
- package/dist/{preflight-K4SPUWXP.js → preflight-6VOP3IOI.js} +8 -8
- package/dist/{present-7L7ZTG7F.js → present-M7UYHVEZ.js} +23 -23
- package/dist/{preview-QGDVMR3X.js → preview-YWT5WA3W.js} +26 -26
- package/dist/probe-CQAGZJLP.js +178 -0
- package/dist/{producer-EJPNNY3E.js → producer-OU2BCMLY.js} +1 -1
- package/dist/{progress-X3QFO3FE.js → progress-STSH2JRY.js} +2 -2
- package/dist/{projectConfig-EEF6OPXO.js → projectConfig-UI4NZDN7.js} +6 -6
- package/dist/{prompts-VAO7RDKX.js → prompts-ZEVFT7US.js} +2 -2
- package/dist/{publication-5KF44AKQ.js → publication-VPJZQCLA.js} +2 -2
- package/dist/{publish-SSKWZ5TE.js → publish-7RA2MK2M.js} +18 -18
- package/dist/{refresh-I6ITGHKL.js → refresh-AM2ULRRV.js} +3 -3
- package/dist/{remove-background-PCL6I5SZ.js → remove-background-A5KJUH6W.js} +14 -14
- package/dist/{render-UPRWOGLS.js → render-EMW4I6C6.js} +45 -45
- package/dist/{render-DH4UA7KW.js → render-IYV73CG6.js} +10 -10
- package/dist/{render-DRWQ6F37.js → render-Z5IS4AUP.js} +39 -39
- package/dist/{render-batch-EBW5WHB5.js → render-batch-IN2ZXPS7.js} +10 -10
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-ZSZXNRFP.js → resolver-DIXFK5ZR.js} +4 -4
- package/dist/run-MCVU7AZX.js +31 -0
- package/dist/{sam-QA7JT7IM.js → sam-EGFXZF56.js} +2 -2
- package/dist/{screenshotCapture-4THETOMD.js → screenshotCapture-RUDON2HB.js} +2 -2
- package/dist/{sherpa-IKVUCBOW.js → sherpa-SAY3I7PK.js} +12 -11
- package/dist/{sites-MTLVMYJ6.js → sites-EAGXQOKI.js} +2 -2
- package/dist/skills/hyperframes-cli/SKILL.md +4 -4
- package/dist/skills/hyperframes-cli/references/cloud.md +3 -1
- package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
- package/dist/skills/media-use/SKILL.md +20 -21
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +26 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +33 -0
- package/dist/skills/media-use/references/heygen.md +58 -0
- package/dist/skills/media-use/references/operations.md +9 -6
- package/dist/skills/media-use/references/setup-providers.md +11 -12
- package/dist/skills/media-use/scripts/lib/index-gen.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/manifest.d.mts +21 -0
- package/dist/{skills-ZREHX3TU.js → skills-YWQ5XKH6.js} +9 -9
- package/dist/{skillsUpdateCheck-PPJ5NGAL.js → skillsUpdateCheck-ST5ZFEET.js} +5 -5
- package/dist/{snapshot-KPFLZNEL.js → snapshot-57YYYE5J.js} +43 -42
- package/dist/{src-QRV3466B.js → src-7MEBCSTP.js} +9 -9
- package/dist/{src-EPOGDJTT.js → src-LNSJHD25.js} +10 -6
- package/dist/{state-6QHNNHDA.js → state-W3AS6O2J.js} +2 -2
- package/dist/{staticProjectServer-ERKLMZVM.js → staticProjectServer-TTJSAB2Q.js} +19 -19
- package/dist/{status-4AAPTTRW.js → status-FGXBUX2T.js} +36 -11
- package/dist/studio/assets/hyperframes-player-Bzcd9O2g.js +478 -0
- package/dist/studio/assets/{index-C8VIUiGz.js → index-CZI-XmnO.js} +119 -119
- package/dist/studio/assets/{index-CVPNbydK.js → index-LW6kxYVF.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-7WFZIIPL.js → studio-api-57E36S5N.js} +15 -15
- package/dist/{studioServer-3XZTLI26.js → studioServer-2AIRUNBA.js} +55 -55
- package/dist/sync-52GUXEYZ.js +115 -0
- package/dist/{telemetry-BMLI4TMC.js → telemetry-RVY6RSCD.js} +6 -6
- package/dist/{telemetry-QHYJJAJU.js → telemetry-T73TKZOL.js} +1 -1
- package/dist/{timeline-EDCDO2ZR.js → timeline-MMZF4AX3.js} +31 -27
- package/dist/{tokens-2ZFLFO3K.js → tokens-WGWCYFTY.js} +5 -5
- package/dist/{transcribe-Y2LPBT7I.js → transcribe-6BF5FFPV.js} +39 -22
- package/dist/{transcribe-3WMH62HH.js → transcribe-YYDHXRQW.js} +11 -10
- package/dist/{tts-BVTJEP72.js → tts-ZLNNIS6W.js} +5 -5
- package/dist/{updateCheck-5LFZGC3P.js → updateCheck-AAR5LLUF.js} +4 -4
- package/dist/{upgrade-X7QVSEKP.js → upgrade-Y7CIRL4B.js} +5 -5
- package/dist/{urlDownloader-TYD6ROKL.js → urlDownloader-KZOD7EWX.js} +6 -6
- package/dist/{validate-26KQ5VX7.js → validate-K3PHAA2E.js} +30 -30
- package/dist/{video-BPKLZIJK.js → video-Z6EBVCAT.js} +9 -9
- package/dist/warmCheck.js +47 -46
- package/package.json +1 -1
- package/dist/chunk-LL3VMDAC.js +0 -5013
- package/dist/studio/assets/hyperframes-player-Dka6e1BG.js +0 -478
- package/dist/{chunk-NOH32H42.js → chunk-HBAUU3IK.js} +124 -124
- package/dist/{synthesize-4JC74JW5.js → synthesize-DIT2SR3D.js} +5 -5
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
lintMediaUrls,
|
|
13
13
|
lintProject,
|
|
14
14
|
shouldBlockRender
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-CZGHFATT.js";
|
|
15
|
+
} from "./chunk-HT3D5AKG.js";
|
|
17
16
|
import "./chunk-HYRPH6LL.js";
|
|
18
17
|
import "./chunk-AKMY4QVI.js";
|
|
18
|
+
import "./chunk-CZGHFATT.js";
|
|
19
19
|
import "./chunk-C2KEGBR3.js";
|
|
20
20
|
import "./chunk-T5ELONXY.js";
|
|
21
21
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
serializeVfxChain,
|
|
96
96
|
toFps,
|
|
97
97
|
validateVariables
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-FJ3KUOUZ.js";
|
|
99
99
|
import "./chunk-MEJH7VEA.js";
|
|
100
100
|
import {
|
|
101
101
|
AUDIBLE_MEDIA_SELECTOR,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
sourceTimeAt,
|
|
161
161
|
stripEmbeddedRuntimeScripts,
|
|
162
162
|
timeAtSourceTime
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-6UWSEXQ3.js";
|
|
164
164
|
import "./chunk-VC76R6W2.js";
|
|
165
165
|
import {
|
|
166
166
|
ProjectRootMissingError,
|
|
@@ -15,27 +15,27 @@ import {
|
|
|
15
15
|
examples,
|
|
16
16
|
ffmpegDoctorDetail,
|
|
17
17
|
redactHome
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-34GAW4GO.js";
|
|
19
19
|
import "./chunk-SHOE3UR6.js";
|
|
20
20
|
import "./chunk-J3OVTOVC.js";
|
|
21
21
|
import {
|
|
22
22
|
parseToolVersion
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IYYQRNIZ.js";
|
|
24
24
|
import "./chunk-Y65ZU7XY.js";
|
|
25
25
|
import "./chunk-6BEFEWFB.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-HANNA5JJ.js";
|
|
27
27
|
import "./chunk-DL4OD7IA.js";
|
|
28
28
|
import "./chunk-S3S4TGEH.js";
|
|
29
29
|
import "./chunk-2GICKZ3I.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-NFUR6NNT.js";
|
|
31
31
|
import "./chunk-Z5J67X44.js";
|
|
32
32
|
import "./chunk-5S7W3TUO.js";
|
|
33
33
|
import "./chunk-D3MUHMFG.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-7RTPHNOO.js";
|
|
35
35
|
import "./chunk-YWRUQ7XZ.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-FJ3KUOUZ.js";
|
|
37
37
|
import "./chunk-MEJH7VEA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-6UWSEXQ3.js";
|
|
39
39
|
import "./chunk-VC76R6W2.js";
|
|
40
40
|
import "./chunk-OFQWTKPW.js";
|
|
41
41
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -48,10 +48,10 @@ import "./chunk-KGPLIH7B.js";
|
|
|
48
48
|
import "./chunk-LAGZGKKN.js";
|
|
49
49
|
import "./chunk-K4MJX7SR.js";
|
|
50
50
|
import "./chunk-WE42NVH7.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-CZGHFATT.js";
|
|
51
|
+
import "./chunk-HT3D5AKG.js";
|
|
53
52
|
import "./chunk-HYRPH6LL.js";
|
|
54
53
|
import "./chunk-AKMY4QVI.js";
|
|
54
|
+
import "./chunk-CZGHFATT.js";
|
|
55
55
|
import "./chunk-C2KEGBR3.js";
|
|
56
56
|
import "./chunk-T5ELONXY.js";
|
|
57
57
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -61,15 +61,15 @@ import "./chunk-2RY2LWAA.js";
|
|
|
61
61
|
import "./chunk-EPQC3FGZ.js";
|
|
62
62
|
import "./chunk-WC4MTXGN.js";
|
|
63
63
|
import "./chunk-FBN2M2HK.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-2KDHJCH2.js";
|
|
65
65
|
import "./chunk-BR2JQQC5.js";
|
|
66
66
|
import "./chunk-BLBMPEBX.js";
|
|
67
67
|
import "./chunk-ISN5GRYI.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-ADVVQX4I.js";
|
|
69
|
+
import "./chunk-66W5IWLO.js";
|
|
70
70
|
import "./chunk-J3RXEDR2.js";
|
|
71
71
|
import "./chunk-QBXDU24O.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-MA5AQK7T.js";
|
|
73
73
|
import "./chunk-E63BDV4Z.js";
|
|
74
74
|
import "./chunk-G7VEYUZ2.js";
|
|
75
75
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
compareEnergy,
|
|
9
|
+
energyCurve
|
|
10
|
+
} from "./chunk-QK6ZNEBW.js";
|
|
11
|
+
import {
|
|
12
|
+
jsonArg,
|
|
13
|
+
num,
|
|
14
|
+
runMeasure
|
|
15
|
+
} from "./chunk-F7T57BZZ.js";
|
|
16
|
+
import {
|
|
17
|
+
Fix,
|
|
18
|
+
parseRoi,
|
|
19
|
+
probeVideo,
|
|
20
|
+
round,
|
|
21
|
+
videoClip
|
|
22
|
+
} from "./chunk-BTK3T4HJ.js";
|
|
23
|
+
import "./chunk-HANNA5JJ.js";
|
|
24
|
+
import {
|
|
25
|
+
defineCommand
|
|
26
|
+
} from "./chunk-DL4OD7IA.js";
|
|
27
|
+
import "./chunk-S3S4TGEH.js";
|
|
28
|
+
import "./chunk-2GICKZ3I.js";
|
|
29
|
+
import "./chunk-NFUR6NNT.js";
|
|
30
|
+
import "./chunk-Z5J67X44.js";
|
|
31
|
+
import "./chunk-5S7W3TUO.js";
|
|
32
|
+
import "./chunk-D3MUHMFG.js";
|
|
33
|
+
import "./chunk-7RTPHNOO.js";
|
|
34
|
+
import "./chunk-YWRUQ7XZ.js";
|
|
35
|
+
import "./chunk-FJ3KUOUZ.js";
|
|
36
|
+
import "./chunk-MEJH7VEA.js";
|
|
37
|
+
import "./chunk-6UWSEXQ3.js";
|
|
38
|
+
import "./chunk-VC76R6W2.js";
|
|
39
|
+
import "./chunk-OFQWTKPW.js";
|
|
40
|
+
import "./chunk-RQVDTPGD.js";
|
|
41
|
+
import "./chunk-3GXQPCJC.js";
|
|
42
|
+
import "./chunk-TK7THLRO.js";
|
|
43
|
+
import "./chunk-FXMKHHPO.js";
|
|
44
|
+
import "./chunk-X6JUUQCM.js";
|
|
45
|
+
import "./chunk-KGPLIH7B.js";
|
|
46
|
+
import "./chunk-K4MJX7SR.js";
|
|
47
|
+
import "./chunk-WE42NVH7.js";
|
|
48
|
+
import "./chunk-HT3D5AKG.js";
|
|
49
|
+
import "./chunk-HYRPH6LL.js";
|
|
50
|
+
import "./chunk-AKMY4QVI.js";
|
|
51
|
+
import "./chunk-CZGHFATT.js";
|
|
52
|
+
import "./chunk-C2KEGBR3.js";
|
|
53
|
+
import "./chunk-T5ELONXY.js";
|
|
54
|
+
import "./chunk-FR7YBU3H.js";
|
|
55
|
+
import "./chunk-DPVXBVLL.js";
|
|
56
|
+
import "./chunk-GWTIFRF5.js";
|
|
57
|
+
import "./chunk-2RY2LWAA.js";
|
|
58
|
+
import "./chunk-EPQC3FGZ.js";
|
|
59
|
+
import "./chunk-WC4MTXGN.js";
|
|
60
|
+
import "./chunk-FBN2M2HK.js";
|
|
61
|
+
import "./chunk-2KDHJCH2.js";
|
|
62
|
+
import "./chunk-BR2JQQC5.js";
|
|
63
|
+
import "./chunk-BLBMPEBX.js";
|
|
64
|
+
import "./chunk-ISN5GRYI.js";
|
|
65
|
+
import "./chunk-ADVVQX4I.js";
|
|
66
|
+
import "./chunk-66W5IWLO.js";
|
|
67
|
+
import "./chunk-J3RXEDR2.js";
|
|
68
|
+
import "./chunk-QBXDU24O.js";
|
|
69
|
+
import "./chunk-MA5AQK7T.js";
|
|
70
|
+
import "./chunk-E63BDV4Z.js";
|
|
71
|
+
import "./chunk-G7VEYUZ2.js";
|
|
72
|
+
import "./chunk-XT6MXC7A.js";
|
|
73
|
+
import "./chunk-7KDQAD2W.js";
|
|
74
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
75
|
+
|
|
76
|
+
// src/commands/measure/energy.ts
|
|
77
|
+
var examples = [
|
|
78
|
+
[
|
|
79
|
+
"Does a regenerated shot move as much as the original's, and when",
|
|
80
|
+
"hyperframes measure energy ref.mp4 renders/v1.mp4 --start 4 --seconds 5"
|
|
81
|
+
]
|
|
82
|
+
];
|
|
83
|
+
var energy_default = defineCommand({
|
|
84
|
+
meta: {
|
|
85
|
+
name: "energy",
|
|
86
|
+
description: "How much two clips move, and whether they move at the same moments, when their pixels differ"
|
|
87
|
+
},
|
|
88
|
+
args: {
|
|
89
|
+
reference: { type: "positional", description: "The original", required: true },
|
|
90
|
+
yours: { type: "positional", description: "The other video", required: true },
|
|
91
|
+
start: { type: "string", description: "Second the window starts in the original (default 0)" },
|
|
92
|
+
"yours-start": { type: "string", description: "Second it starts in yours (default: --start)" },
|
|
93
|
+
seconds: { type: "string", description: "Window length (default: the rest of the original)" },
|
|
94
|
+
roi: { type: "string", description: "Region of the original, x,y,w,h" },
|
|
95
|
+
"yours-roi": {
|
|
96
|
+
type: "string",
|
|
97
|
+
description: "Region of yours (default: --roi scaled by the widths)"
|
|
98
|
+
},
|
|
99
|
+
json: jsonArg
|
|
100
|
+
},
|
|
101
|
+
async run({ args }) {
|
|
102
|
+
await runMeasure(() => {
|
|
103
|
+
const [a, b] = [probeVideo(String(args.reference)), probeVideo(String(args.yours))];
|
|
104
|
+
const start = num(args.start, "--start", 0);
|
|
105
|
+
const yoursStart = num(args["yours-start"], "--yours-start", start);
|
|
106
|
+
const seconds = num(args.seconds, "--seconds", a.duration - start);
|
|
107
|
+
if (seconds <= 0.5) throw new Fix("the window is under half a second", "--seconds 2 or more");
|
|
108
|
+
const roi = args.roi === void 0 ? void 0 : parseRoi(args.roi, a.width, a.height);
|
|
109
|
+
const k = b.width / a.width;
|
|
110
|
+
const scaled = (r2) => [
|
|
111
|
+
Math.round(r2[0] * k),
|
|
112
|
+
Math.round(r2[1] * k),
|
|
113
|
+
Math.max(2, Math.round(r2[2] * k)),
|
|
114
|
+
Math.max(2, Math.round(r2[3] * k))
|
|
115
|
+
];
|
|
116
|
+
const yoursRoi = args["yours-roi"] !== void 0 ? parseRoi(args["yours-roi"], b.width, b.height) : roi && scaled(roi);
|
|
117
|
+
const r = compareEnergy(
|
|
118
|
+
energyCurve(videoClip(a.path, start, seconds, a), roi),
|
|
119
|
+
energyCurve(videoClip(b.path, yoursStart, seconds, b), yoursRoi)
|
|
120
|
+
);
|
|
121
|
+
return {
|
|
122
|
+
reference: a.path,
|
|
123
|
+
yours: b.path,
|
|
124
|
+
window_s: round(seconds, 3),
|
|
125
|
+
...r,
|
|
126
|
+
reading: "mean_ratio is how much yours moves (0.8\u20131.25 is the same amount); r near 1 at a small lag_s is the same action at the same time"
|
|
127
|
+
};
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
export {
|
|
132
|
+
energy_default as default,
|
|
133
|
+
examples
|
|
134
|
+
};
|
|
@@ -0,0 +1,221 @@
|
|
|
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
|
+
countEvents,
|
|
9
|
+
detectEvents,
|
|
10
|
+
drawStrip,
|
|
11
|
+
lookWindows
|
|
12
|
+
} from "./chunk-BAXL3U3T.js";
|
|
13
|
+
import "./chunk-K3QT232E.js";
|
|
14
|
+
import {
|
|
15
|
+
jsonArg,
|
|
16
|
+
num,
|
|
17
|
+
outArg,
|
|
18
|
+
roiArg,
|
|
19
|
+
runMeasure,
|
|
20
|
+
videoAndRoi,
|
|
21
|
+
videoArg,
|
|
22
|
+
window
|
|
23
|
+
} from "./chunk-F7T57BZZ.js";
|
|
24
|
+
import {
|
|
25
|
+
Fix,
|
|
26
|
+
outDir,
|
|
27
|
+
round
|
|
28
|
+
} from "./chunk-BTK3T4HJ.js";
|
|
29
|
+
import "./chunk-HANNA5JJ.js";
|
|
30
|
+
import {
|
|
31
|
+
defineCommand
|
|
32
|
+
} from "./chunk-DL4OD7IA.js";
|
|
33
|
+
import "./chunk-S3S4TGEH.js";
|
|
34
|
+
import "./chunk-2GICKZ3I.js";
|
|
35
|
+
import "./chunk-NFUR6NNT.js";
|
|
36
|
+
import "./chunk-Z5J67X44.js";
|
|
37
|
+
import "./chunk-5S7W3TUO.js";
|
|
38
|
+
import "./chunk-D3MUHMFG.js";
|
|
39
|
+
import "./chunk-7RTPHNOO.js";
|
|
40
|
+
import "./chunk-YWRUQ7XZ.js";
|
|
41
|
+
import "./chunk-FJ3KUOUZ.js";
|
|
42
|
+
import "./chunk-MEJH7VEA.js";
|
|
43
|
+
import "./chunk-6UWSEXQ3.js";
|
|
44
|
+
import "./chunk-VC76R6W2.js";
|
|
45
|
+
import "./chunk-OFQWTKPW.js";
|
|
46
|
+
import "./chunk-RQVDTPGD.js";
|
|
47
|
+
import "./chunk-3GXQPCJC.js";
|
|
48
|
+
import "./chunk-TK7THLRO.js";
|
|
49
|
+
import "./chunk-FXMKHHPO.js";
|
|
50
|
+
import "./chunk-X6JUUQCM.js";
|
|
51
|
+
import "./chunk-KGPLIH7B.js";
|
|
52
|
+
import "./chunk-K4MJX7SR.js";
|
|
53
|
+
import "./chunk-WE42NVH7.js";
|
|
54
|
+
import "./chunk-HT3D5AKG.js";
|
|
55
|
+
import "./chunk-HYRPH6LL.js";
|
|
56
|
+
import "./chunk-AKMY4QVI.js";
|
|
57
|
+
import "./chunk-CZGHFATT.js";
|
|
58
|
+
import "./chunk-C2KEGBR3.js";
|
|
59
|
+
import "./chunk-T5ELONXY.js";
|
|
60
|
+
import "./chunk-FR7YBU3H.js";
|
|
61
|
+
import "./chunk-DPVXBVLL.js";
|
|
62
|
+
import "./chunk-GWTIFRF5.js";
|
|
63
|
+
import "./chunk-2RY2LWAA.js";
|
|
64
|
+
import "./chunk-EPQC3FGZ.js";
|
|
65
|
+
import "./chunk-WC4MTXGN.js";
|
|
66
|
+
import "./chunk-FBN2M2HK.js";
|
|
67
|
+
import "./chunk-2KDHJCH2.js";
|
|
68
|
+
import "./chunk-BR2JQQC5.js";
|
|
69
|
+
import "./chunk-BLBMPEBX.js";
|
|
70
|
+
import "./chunk-ISN5GRYI.js";
|
|
71
|
+
import "./chunk-ADVVQX4I.js";
|
|
72
|
+
import "./chunk-66W5IWLO.js";
|
|
73
|
+
import "./chunk-J3RXEDR2.js";
|
|
74
|
+
import "./chunk-QBXDU24O.js";
|
|
75
|
+
import "./chunk-MA5AQK7T.js";
|
|
76
|
+
import "./chunk-E63BDV4Z.js";
|
|
77
|
+
import "./chunk-G7VEYUZ2.js";
|
|
78
|
+
import "./chunk-XT6MXC7A.js";
|
|
79
|
+
import "./chunk-7KDQAD2W.js";
|
|
80
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
81
|
+
|
|
82
|
+
// src/commands/measure/events.ts
|
|
83
|
+
import { writeFileSync } from "fs";
|
|
84
|
+
import { join } from "path";
|
|
85
|
+
var examples = [
|
|
86
|
+
[
|
|
87
|
+
"The film's event map: cuts, flashes, what appears where, holds, and the sound's hits, grouped into windows to look at",
|
|
88
|
+
"hyperframes measure events ref.mp4 --map"
|
|
89
|
+
],
|
|
90
|
+
[
|
|
91
|
+
"When one region changes, frame by frame",
|
|
92
|
+
"hyperframes measure events ref.mp4 --roi 0,800,1080,300 --start 2 --end 6"
|
|
93
|
+
]
|
|
94
|
+
];
|
|
95
|
+
function parseGrid(text) {
|
|
96
|
+
const m = /^(\d+)x(\d+)$/.exec(String(text));
|
|
97
|
+
if (!m || Number(m[1]) < 1 || Number(m[2]) < 1)
|
|
98
|
+
throw new Fix(`--grid must be COLSxROWS, got "${String(text)}"`, "--grid 6x10");
|
|
99
|
+
return { cols: Number(m[1]), rows: Number(m[2]) };
|
|
100
|
+
}
|
|
101
|
+
var isRecord = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
102
|
+
var numbers = (v) => Array.isArray(v) ? v.filter((x) => typeof x === "number") : [];
|
|
103
|
+
async function soundOf(info, start, end) {
|
|
104
|
+
if (!info.audio) return null;
|
|
105
|
+
const { analyzeTargets, previewTarget } = await import("./run-MCVU7AZX.js");
|
|
106
|
+
const report = await analyzeTargets([await previewTarget(info.path, info.path, null)], {
|
|
107
|
+
capabilities: ["onsets", "beats", "bpm"],
|
|
108
|
+
quality: "local"
|
|
109
|
+
});
|
|
110
|
+
const item = report.items[0];
|
|
111
|
+
if (!item) return null;
|
|
112
|
+
const inside = (t) => t >= start && t <= end;
|
|
113
|
+
const onsets = isRecord(item.onsets) && Array.isArray(item.onsets.events) ? item.onsets.events : [];
|
|
114
|
+
return {
|
|
115
|
+
bpm: isRecord(item.bpm) && typeof item.bpm.value === "number" ? round(item.bpm.value, 1) : null,
|
|
116
|
+
beats: numbers(isRecord(item.beats) ? item.beats.times : void 0).filter(inside),
|
|
117
|
+
onsets: onsets.filter(isRecord).flatMap(
|
|
118
|
+
(e) => typeof e.t === "number" && typeof e.strength === "number" && inside(e.t) ? [{ t: e.t, strength: e.strength }] : []
|
|
119
|
+
)
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
var LIST_MAX = 64;
|
|
123
|
+
var events_default = defineCommand({
|
|
124
|
+
meta: {
|
|
125
|
+
name: "events",
|
|
126
|
+
description: "When things change on screen: cuts, flashes, appears, disappears, changes and holds; --map adds the sound and the windows worth looking at"
|
|
127
|
+
},
|
|
128
|
+
args: {
|
|
129
|
+
video: videoArg,
|
|
130
|
+
map: {
|
|
131
|
+
type: "boolean",
|
|
132
|
+
description: "The whole window on a 4x4 grid with the sound's onsets and beats, grouped into windows to look at",
|
|
133
|
+
default: false
|
|
134
|
+
},
|
|
135
|
+
roi: roiArg,
|
|
136
|
+
grid: {
|
|
137
|
+
type: "string",
|
|
138
|
+
description: "Split the frame into COLSxROWS cells, e.g. 6x10 (default with --map: 4x4)"
|
|
139
|
+
},
|
|
140
|
+
start: { type: "string", description: "First second (default 0)" },
|
|
141
|
+
end: { type: "string", description: "Last second (default: the end)" },
|
|
142
|
+
thr: {
|
|
143
|
+
type: "string",
|
|
144
|
+
description: "Mean grey-level change of an appear or a cut (default 5)"
|
|
145
|
+
},
|
|
146
|
+
out: outArg,
|
|
147
|
+
json: jsonArg
|
|
148
|
+
},
|
|
149
|
+
async run({ args }) {
|
|
150
|
+
await runMeasure(async () => {
|
|
151
|
+
const { info, roi } = videoAndRoi(args.video, args.roi);
|
|
152
|
+
const [start, end] = window(info, args.start, args.end);
|
|
153
|
+
const grid = args.grid !== void 0 ? parseGrid(args.grid) : args.map && args.roi === void 0 ? { cols: 4, rows: 4 } : void 0;
|
|
154
|
+
const thr = num(args.thr, "--thr", 5);
|
|
155
|
+
const found = detectEvents({ info, start, end, roi, grid, thr });
|
|
156
|
+
if (found.frames < 3)
|
|
157
|
+
throw new Fix(`under 3 frames between ${start}s and ${end}s`, "widen --start/--end");
|
|
158
|
+
const dir = outDir(args.out, "measure/events");
|
|
159
|
+
const name = `events-${start}-${round(end, 2)}s`;
|
|
160
|
+
const strip = found.shown.length ? drawStrip(found, join(dir, `${name}.png`)) : null;
|
|
161
|
+
const holds = found.events.filter((e) => e.type === "hold");
|
|
162
|
+
const head = {
|
|
163
|
+
video: info.path,
|
|
164
|
+
...grid ? { grid: `${grid.cols}x${grid.rows}` } : { roi },
|
|
165
|
+
start,
|
|
166
|
+
end: round(end, 3),
|
|
167
|
+
fps: round(info.fps, 3)
|
|
168
|
+
};
|
|
169
|
+
if (!args.map) {
|
|
170
|
+
const lengths = holds.map((e) => e.seconds ?? 0).sort((a, b) => a - b);
|
|
171
|
+
return {
|
|
172
|
+
...head,
|
|
173
|
+
frames: found.frames,
|
|
174
|
+
thr,
|
|
175
|
+
counts: countEvents(found.events),
|
|
176
|
+
holds: {
|
|
177
|
+
longest_s: lengths.at(-1) ?? 0,
|
|
178
|
+
median_s: lengths[lengths.length - 1 >> 1] ?? 0,
|
|
179
|
+
count: lengths.length
|
|
180
|
+
},
|
|
181
|
+
strip,
|
|
182
|
+
strip_events: `${found.shown.length} of ${found.events.length - holds.length} (cuts and flashes, then the largest steps, then changes)`,
|
|
183
|
+
events: found.events
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
const sound = await soundOf(info, start, end);
|
|
187
|
+
const cuts = found.events.filter((e) => e.type === "cut").map((e) => e.t);
|
|
188
|
+
const edges = [start, ...cuts, end];
|
|
189
|
+
const windows = lookWindows(found.events, info.fps, sound?.onsets.map((o) => o.t) ?? []);
|
|
190
|
+
const file = join(dir, `${name}-map.json`);
|
|
191
|
+
writeFileSync(
|
|
192
|
+
file,
|
|
193
|
+
JSON.stringify({ ...head, events: found.events, sound, windows }, null, 1)
|
|
194
|
+
);
|
|
195
|
+
const strong = sound?.onsets.filter((o) => o.strength >= 0.5).map((o) => round(o.t, 3)) ?? [];
|
|
196
|
+
const longHolds = holds.filter((e) => (e.seconds ?? 0) >= 0.5).map((e) => ({ t: e.t, seconds: e.seconds }));
|
|
197
|
+
return {
|
|
198
|
+
...head,
|
|
199
|
+
duration: round(end - start, 3),
|
|
200
|
+
counts: countEvents(found.events),
|
|
201
|
+
shots: edges.slice(1).map((e, i) => ({ start: round(edges[i], 3), end: round(e, 3) })),
|
|
202
|
+
holds: longHolds,
|
|
203
|
+
sound: sound ? {
|
|
204
|
+
bpm: sound.bpm,
|
|
205
|
+
beats: sound.beats.length,
|
|
206
|
+
...sound.beats.length ? { beat_times: sound.beats.slice(0, LIST_MAX).map((t) => round(t, 3)) } : {},
|
|
207
|
+
onsets: sound.onsets.length,
|
|
208
|
+
strong_onsets: strong.slice(0, LIST_MAX)
|
|
209
|
+
} : "none",
|
|
210
|
+
windows,
|
|
211
|
+
strip,
|
|
212
|
+
file,
|
|
213
|
+
next: "look at each window's frames: npx hyperframes measure frames <video> --events"
|
|
214
|
+
};
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
export {
|
|
219
|
+
events_default as default,
|
|
220
|
+
examples
|
|
221
|
+
};
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
flushSync,
|
|
12
12
|
trackEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QOI46C6F.js";
|
|
14
14
|
import "./chunk-PXVQOMKL.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-MCDNAIFF.js";
|
|
16
16
|
import "./chunk-VLA6UJGH.js";
|
|
17
17
|
import {
|
|
18
18
|
defineCommand
|
|
@@ -26,11 +26,11 @@ import "./chunk-FBN2M2HK.js";
|
|
|
26
26
|
import "./chunk-BR2JQQC5.js";
|
|
27
27
|
import "./chunk-BLBMPEBX.js";
|
|
28
28
|
import "./chunk-ISN5GRYI.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-ADVVQX4I.js";
|
|
30
|
+
import "./chunk-66W5IWLO.js";
|
|
31
31
|
import "./chunk-J3RXEDR2.js";
|
|
32
32
|
import "./chunk-QBXDU24O.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-MA5AQK7T.js";
|
|
34
34
|
import "./chunk-E63BDV4Z.js";
|
|
35
35
|
import "./chunk-G7VEYUZ2.js";
|
|
36
36
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
trackSkillsInstallSkipped,
|
|
33
33
|
trackSnapshotRun,
|
|
34
34
|
trackTranscribeUnavailable
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-NI35PAVN.js";
|
|
36
|
+
import "./chunk-QOI46C6F.js";
|
|
37
37
|
import "./chunk-PXVQOMKL.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-MCDNAIFF.js";
|
|
39
39
|
import "./chunk-VLA6UJGH.js";
|
|
40
40
|
import "./chunk-54HJ63Q2.js";
|
|
41
41
|
import "./chunk-2GICKZ3I.js";
|
|
@@ -46,11 +46,11 @@ import "./chunk-FBN2M2HK.js";
|
|
|
46
46
|
import "./chunk-BR2JQQC5.js";
|
|
47
47
|
import "./chunk-BLBMPEBX.js";
|
|
48
48
|
import "./chunk-ISN5GRYI.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-ADVVQX4I.js";
|
|
50
|
+
import "./chunk-66W5IWLO.js";
|
|
51
51
|
import "./chunk-J3RXEDR2.js";
|
|
52
52
|
import "./chunk-QBXDU24O.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-MA5AQK7T.js";
|
|
54
54
|
import "./chunk-E63BDV4Z.js";
|
|
55
55
|
import "./chunk-G7VEYUZ2.js";
|
|
56
56
|
import "./chunk-XT6MXC7A.js";
|