hyperframes 0.8.224 → 0.8.226
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-JEPKJ2F4.js → add-3NBOSGKQ.js} +12 -12
- package/dist/{agentPromptGenerator-ZBNWLX5D.js → agentPromptGenerator-GQSDTAV5.js} +7 -7
- package/dist/{animatedGifPrep-43LLMTN5.js → animatedGifPrep-UXFFDGA7.js} +7 -7
- package/dist/api.js +23 -23
- package/dist/{asset-M6SH6PUW.js → asset-VQVAYC7E.js} +2 -2
- package/dist/{assetCataloger-BLQ7UVJ5.js → assetCataloger-C6KNE2IQ.js} +8 -8
- package/dist/{audio-J3QREJK4.js → audio-2KULGXHA.js} +17 -17
- package/dist/{auth-7TRCBCKA.js → auth-QNMLPJOW.js} +5 -5
- package/dist/{autoUpdate-WTFSYLTK.js → autoUpdate-VFQQ47UD.js} +2 -2
- package/dist/{backgroundChecks-YZW7AMMJ.js → backgroundChecks-SSQ2U3ZY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-LDZ6NO2X.js → batchRender-Y45PZC3Q.js} +3 -3
- package/dist/{beats-JWUADKHV.js → beats-YSJT4NUG.js} +10 -10
- package/dist/{benchmark-QOQZ7UGD.js → benchmark-6UOMMUXF.js} +9 -9
- package/dist/{billing-3GVNEE56.js → billing-WNOAP6KO.js} +4 -4
- package/dist/{browser-4HNCSPUR.js → browser-GM4ZTCRQ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-GTKHB45M.js → bundleWithLocalizedFonts-CUTSKVRK.js} +2 -2
- package/dist/{capture-5OYZNIOR.js → capture-J24XSJTZ.js} +17 -17
- package/dist/{capture-XSRWYHAM.js → capture-SZ65WG5Z.js} +3 -3
- package/dist/{captureCompositionFrame-4F7PPQKB.js → captureCompositionFrame-5UUXIOF2.js} +13 -12
- package/dist/{catalog-4FVQSID5.js → catalog-5EQFE3BC.js} +12 -12
- package/dist/{catch-up-KQVK2QZC.js → catch-up-ASBRKHDL.js} +5 -5
- package/dist/{check-3YHLB6FM.js → check-BA4SSXPY.js} +39 -38
- package/dist/{checkAudio-7ZSZVBSJ.js → checkAudio-TU4GPHIR.js} +10 -10
- package/dist/{checkBrowser-VX5CHNQS.js → checkBrowser-27SFNNPD.js} +33 -32
- package/dist/chunk-262C25DQ.js +31 -0
- package/dist/{chunk-AKMY4QVI.js → chunk-2GTFW4MK.js} +9 -1
- package/dist/{chunk-2QQO3J3B.js → chunk-2IQONCMF.js} +7 -7
- package/dist/{chunk-OZMZFJDW.js → chunk-2JBCK6DX.js} +1 -1
- package/dist/{chunk-K3QT232E.js → chunk-35LAWHTD.js} +23 -6
- package/dist/{chunk-GLTSINRP.js → chunk-37PS2IPO.js} +1 -1
- package/dist/{chunk-2WVQ3CCN.js → chunk-3V3XMQEF.js} +1 -1
- package/dist/{chunk-7RTPHNOO.js → chunk-3XYDZQJF.js} +7 -4
- package/dist/{chunk-BEMGUGGJ.js → chunk-3ZWUNOTS.js} +1 -1
- package/dist/{chunk-RR5QE7DB.js → chunk-4XYLQYUE.js} +18 -14
- package/dist/{chunk-Z7GIHPAZ.js → chunk-53ZOVLGJ.js} +2 -2
- package/dist/{chunk-F34GYYXO.js → chunk-5TXYCG4M.js} +6 -6
- package/dist/{chunk-BTK3T4HJ.js → chunk-5X65O5WM.js} +10 -3
- package/dist/{chunk-QOI46C6F.js → chunk-6AEHVBMX.js} +2 -2
- package/dist/{chunk-3ZDOAVZM.js → chunk-6CU2ZQGW.js} +147 -22
- package/dist/{chunk-L4ULTWCD.js → chunk-6EQSJ7MT.js} +1 -1
- package/dist/{chunk-VLA6UJGH.js → chunk-6NJVSTSY.js} +5 -6
- package/dist/{chunk-HDPW7THH.js → chunk-76N526VX.js} +13 -13
- package/dist/{chunk-3NHCTTLP.js → chunk-7LUZ4RQX.js} +13 -13
- package/dist/{chunk-NFUR6NNT.js → chunk-7UKRCWBO.js} +310 -134
- package/dist/{chunk-GE4ABM5K.js → chunk-7WNPWUJP.js} +3 -3
- package/dist/{chunk-RU7KMDFL.js → chunk-A23K6P7L.js} +1 -1
- package/dist/{chunk-MOXNAVCW.js → chunk-ABNPD4NF.js} +1 -1
- package/dist/{chunk-THL3N377.js → chunk-AMTAKSKJ.js} +9 -9
- package/dist/{chunk-UCPEABYK.js → chunk-APCGOECM.js} +2 -2
- package/dist/{chunk-CGX4EOGT.js → chunk-B243Y7MM.js} +3 -3
- package/dist/{chunk-A25SCSOK.js → chunk-B52P2FU2.js} +1 -1
- package/dist/{chunk-2KDHJCH2.js → chunk-B7OI3WAR.js} +1 -1
- package/dist/{chunk-J7FVF73D.js → chunk-BD2CQDXP.js} +18 -18
- package/dist/{chunk-JMP52GTN.js → chunk-BJ3Q3XK7.js} +313 -149
- package/dist/{chunk-H6APAFKE.js → chunk-CRIVUWLA.js} +2 -2
- package/dist/{chunk-5KAGTSLY.js → chunk-CU3SVSKX.js} +5 -5
- package/dist/{chunk-ZLZXGJ63.js → chunk-DGQOBTFQ.js} +1 -1
- package/dist/{chunk-53JEHQBW.js → chunk-DW7W4J7D.js} +2 -2
- package/dist/{chunk-GQ2QER6M.js → chunk-EJEHDDVX.js} +1 -1
- package/dist/{chunk-35NDLXHZ.js → chunk-EQGBGOQQ.js} +9 -9
- package/dist/{chunk-JKLWWGE6.js → chunk-ETH6WXKZ.js} +1 -1
- package/dist/{chunk-F3CTUCFD.js → chunk-EYDV3MHA.js} +7 -7
- package/dist/{chunk-HIPW4JXL.js → chunk-GADKBSZ5.js} +2 -2
- package/dist/{chunk-HT3D5AKG.js → chunk-GR2T3BOX.js} +6 -5
- package/dist/{chunk-X5BSSPC2.js → chunk-GUJ45PRX.js} +1 -1
- package/dist/chunk-HSXV7QPC.js +177 -0
- package/dist/{chunk-AMQFGICP.js → chunk-HYB3WSJL.js} +1 -1
- package/dist/{chunk-JIF347PW.js → chunk-JE5ZPFN2.js} +3 -3
- package/dist/{chunk-52B3AOIV.js → chunk-JIYNPDH6.js} +1 -1
- package/dist/{chunk-4ZAOAPWP.js → chunk-KQARKGEJ.js} +16 -11
- package/dist/{chunk-G45NYKSM.js → chunk-LVV5EUSO.js} +3 -3
- package/dist/{chunk-5N5FYE5K.js → chunk-MF6KVPWF.js} +3 -3
- package/dist/{chunk-6QIYQ43G.js → chunk-MWQNQA77.js} +2 -2
- package/dist/{chunk-F7T57BZZ.js → chunk-OMT75FQI.js} +3 -2
- package/dist/{chunk-VPMHRLJH.js → chunk-OQYGHP3E.js} +1 -1
- package/dist/{chunk-EQFDOQTG.js → chunk-OSCRZUEB.js} +1 -1
- package/dist/{chunk-E47ZWDMH.js → chunk-P7TDUSPH.js} +1 -1
- package/dist/{chunk-34GAW4GO.js → chunk-PCH3O6I6.js} +5 -5
- package/dist/{chunk-IYYQRNIZ.js → chunk-PHUTMTHB.js} +1 -1
- package/dist/{chunk-POOLZTMZ.js → chunk-PVBSCPZI.js} +3 -3
- package/dist/{chunk-MA5AQK7T.js → chunk-PWHOMCFB.js} +2 -2
- package/dist/{chunk-PKMAWQUI.js → chunk-PXSCN6X5.js} +4 -4
- package/dist/{chunk-HANNA5JJ.js → chunk-PZ6VVOOE.js} +1 -1
- package/dist/{chunk-JUF43Q7Q.js → chunk-QSWUM7WR.js} +3 -6
- package/dist/{chunk-O2VKGYSK.js → chunk-RBYSMHB7.js} +1 -1
- package/dist/{chunk-UZ5AWZCA.js → chunk-RKDMYKGL.js} +1 -1
- package/dist/{chunk-QK6ZNEBW.js → chunk-RRT5S42U.js} +1 -1
- package/dist/{chunk-SGMCQAYU.js → chunk-S4UDVFAN.js} +3 -3
- package/dist/{chunk-KEDN4LSV.js → chunk-TFJSU4IV.js} +2 -2
- package/dist/{chunk-W7MJPKBJ.js → chunk-U6LQ4BTL.js} +1 -1
- package/dist/{chunk-VCJE7IMY.js → chunk-UIJLEBHQ.js} +1 -1
- package/dist/{chunk-ODJ2WBZX.js → chunk-UXHGYMX4.js} +1 -1
- package/dist/{chunk-VXRBPWVW.js → chunk-V2N747YM.js} +7 -7
- package/dist/{chunk-QOYZ3U6G.js → chunk-V4SD6HQ6.js} +2 -3
- package/dist/{chunk-53TKUWDX.js → chunk-VB77RRT7.js} +1 -1
- package/dist/{chunk-IORJ42GY.js → chunk-VUDMPRZN.js} +5 -6
- package/dist/{chunk-E2ZY4GWH.js → chunk-WESIEW2M.js} +3 -25
- package/dist/{chunk-D4M37ATV.js → chunk-WGVREWKN.js} +2 -2
- package/dist/{chunk-FJ3KUOUZ.js → chunk-XCGPPU32.js} +1 -1
- package/dist/{chunk-2M6B2JKZ.js → chunk-XDTRM4OS.js} +4 -4
- package/dist/{chunk-JK2KNL6F.js → chunk-XH7SSJSQ.js} +1 -1
- package/dist/chunk-XINVBLXA.js +5030 -0
- package/dist/{chunk-7HSV5SJ4.js → chunk-XOFJZ3UG.js} +1 -1
- package/dist/{chunk-BAXL3U3T.js → chunk-Y2NSHQVE.js} +2 -2
- package/dist/{chunk-NI35PAVN.js → chunk-YTQSLNIA.js} +1 -1
- package/dist/{chunk-LRS4FV5W.js → chunk-Z257R7TN.js} +1 -1
- package/dist/{chunk-ZGQC6IU7.js → chunk-ZI64CTVC.js} +1 -1
- package/dist/{chunk-Y5HVDK7X.js → chunk-ZJE2XWQC.js} +2 -2
- package/dist/{chunk-652ERUZD.js → chunk-ZNXUM4D2.js} +2 -2
- package/dist/{clean-SXEI6FT4.js → clean-X5VL4ILR.js} +17 -17
- package/dist/cli.js +57 -57
- package/dist/{cloud-SKN6FWAZ.js → cloud-4GUUYRD3.js} +4 -4
- package/dist/{cloudrun-RHPVVXCR.js → cloudrun-KPL32MBI.js} +4 -4
- package/dist/{compare-RTXF2NSK.js → compare-CVEB5SQC.js} +30 -29
- package/dist/{compiler-SKRY6FPA.js → compiler-RRTQNBUH.js} +4 -4
- package/dist/{component-2NPF5PA6.js → component-TZ2SIYOX.js} +3 -3
- package/dist/{compositions-AZRVHGBT.js → compositions-KRTRDV72.js} +12 -12
- package/dist/{curve-QSFEGBUH.js → curve-ZXUAGU4T.js} +11 -11
- package/dist/{cuts-6AWEJH2H.js → cuts-GY2K2CTK.js} +20 -15
- package/dist/{delete-NOHFVICL.js → delete-ZT4FCUX2.js} +6 -6
- package/dist/{deploy-UFRADJOA.js → deploy-DVKSQTC7.js} +1 -1
- package/dist/{describeProject-F43LI3YQ.js → describeProject-L4ZW5CI7.js} +8 -8
- package/dist/{diff-3WS6NMSE.js → diff-AFOP2B3Y.js} +89 -229
- package/dist/{dist-24QQO5IL.js → dist-DCP77RWC.js} +2 -2
- package/dist/{dist-YEYUGCOR.js → dist-DPOLFG5U.js} +2 -2
- package/dist/{doctor-F4VJYQXC.js → doctor-Y7YVL34W.js} +11 -11
- package/dist/{energy-BN3QD6Y7.js → energy-YFLFELFX.js} +12 -12
- package/dist/{events-PZH4C7VA.js → events-C5QV2MQG.js} +3 -3
- package/dist/{events-5W7ETFWR.js → events-THASMGN6.js} +14 -14
- package/dist/{events-YJ3XSIPL.js → events-VL7JKI2K.js} +4 -4
- package/dist/{extract-S34DWGAD.js → extract-GTNBVQ63.js} +15 -19
- package/dist/{face-3SCJADG4.js → face-BSRKCB5W.js} +12 -12
- package/dist/{feedback-3K6NSKIC.js → feedback-MCQ2FKCC.js} +11 -11
- package/dist/{ffmpeg-2RBDDMHU.js → ffmpeg-3QNN3TQ5.js} +7 -7
- package/dist/{figma-NWAJYMAI.js → figma-IGXE3KWU.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{frames-6UARLPLK.js → frames-XIFLB5KC.js} +13 -13
- package/dist/{generate-KBVWFVXN.js → generate-55FZPR3J.js} +18 -18
- package/dist/{get-SEZZMLQ3.js → get-2MHD7XFA.js} +6 -6
- package/dist/{gpuPolicy-VIZAJ3GY.js → gpuPolicy-REJFNHWD.js} +7 -7
- package/dist/{grade-compare-PMAK4PJD.js → grade-compare-CM45H7CR.js} +31 -30
- package/dist/{heifImagePrep-6NYIR7WN.js → heifImagePrep-O3UZHGWR.js} +8 -8
- package/dist/{help-4UPSHWI2.js → help-V2GGIKP2.js} +1 -1
- package/dist/{history-VNAZEQDE.js → history-NUOQVUNY.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-OREET5PM.js → info-5CMRZEJA.js} +8 -8
- package/dist/{init-K7AEJBAL.js → init-JNL5R27I.js} +28 -28
- package/dist/ink-HGQUC6L3.js +148 -0
- package/dist/{inspect-STME5DNY.js → inspect-GGOCM324.js} +31 -30
- package/dist/{installer-NQA4KXRP.js → installer-BBY3T5MJ.js} +4 -4
- package/dist/{keyframes-JQWZ235Q.js → keyframes-2D4ZS6HE.js} +8 -8
- package/dist/{lambda-RJNLW2EO.js → lambda-TY2ZCPEN.js} +11 -11
- package/dist/{layout-MTZWBPNZ.js → layout-X5GT4O2L.js} +31 -30
- package/dist/{lint-AQWTSL75.js → lint-NVOUXE2L.js} +9 -9
- package/dist/{lintProject-6H64SX3V.js → lintProject-54CNQ4HT.js} +2 -2
- package/dist/{list-ZEBZ5DB5.js → list-CB4UDTID.js} +6 -6
- package/dist/{localPage-CQ3H4N2N.js → localPage-EYPZRIGY.js} +7 -7
- package/dist/{login-VHCZHENV.js → login-L7JTVKV5.js} +7 -7
- package/dist/{logout-LHTQV2BZ.js → logout-6CEIH4HW.js} +3 -3
- package/dist/{look-25TSRPSV.js → look-VHQA2JSS.js} +12 -12
- package/dist/{manager-57SX7D5G.js → manager-FGQKQMI7.js} +8 -8
- package/dist/{measure-Y2R3G5OJ.js → measure-5F7QZLO5.js} +12 -11
- package/dist/{media-treatment-3G2IVS64.js → media-treatment-RRFIZKSA.js} +14 -14
- package/dist/{media-use-LUAOZJNV.js → media-use-5YGFOFKI.js} +3 -3
- package/dist/{models-NT56FKRG.js → models-5B2RGGBT.js} +11 -11
- package/dist/{motionShot-P4NTFKYS.js → motionShot-JJBQLYCC.js} +16 -15
- package/dist/{normalize-audio-2DUTZ6QK.js → normalize-audio-LWTNZWDJ.js} +10 -10
- package/dist/{open-OATYOOR7.js → open-PGRJXREV.js} +12 -12
- package/dist/{parakeetRunner-UASHW3A4.js → parakeetRunner-OV4NSPB3.js} +12 -12
- package/dist/{pipeline-GGAYP5Q6.js → pipeline-HXGPFQZC.js} +10 -10
- package/dist/{play-GHXBJS3T.js → play-JONX6CIM.js} +21 -21
- package/dist/{preflight-6VOP3IOI.js → preflight-7OKMMUWG.js} +8 -8
- package/dist/{present-M7UYHVEZ.js → present-EHU52MSU.js} +17 -17
- package/dist/{preview-YWT5WA3W.js → preview-DCEIITM6.js} +19 -19
- package/dist/{probe-CQAGZJLP.js → probe-EA4N3WOT.js} +11 -11
- package/dist/{producer-OU2BCMLY.js → producer-FGAOUR7O.js} +1 -1
- package/dist/{projectConfig-UI4NZDN7.js → projectConfig-N3ZRVJKB.js} +6 -6
- package/dist/{publication-VPJZQCLA.js → publication-ZKY2LVN5.js} +2 -2
- package/dist/{publish-7RA2MK2M.js → publish-RZVDFTBX.js} +15 -15
- package/dist/{refresh-AM2ULRRV.js → refresh-MQTO43RB.js} +3 -3
- package/dist/{remove-background-A5KJUH6W.js → remove-background-V5UXYPJS.js} +11 -11
- package/dist/{render-EMW4I6C6.js → render-NEZLBRAY.js} +37 -35
- package/dist/{render-IYV73CG6.js → render-UJCPQXGB.js} +5 -5
- package/dist/{render-Z5IS4AUP.js → render-YZSDHP3U.js} +60 -27
- package/dist/{render-batch-IN2ZXPS7.js → render-batch-KPGYARDI.js} +5 -5
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-DIXFK5ZR.js → resolver-HWNPLSXK.js} +4 -4
- package/dist/{run-MCVU7AZX.js → run-OJ2GBYKB.js} +4 -4
- package/dist/{sherpa-SAY3I7PK.js → sherpa-HSBYKUQC.js} +11 -11
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +3 -9
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +6 -4
- package/dist/skills/media-use/scripts/lib/logo-provider.mjs +8 -3
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +14 -0
- package/dist/skills/media-use/scripts/resolve.mjs +11 -5
- package/dist/{skills-YWQ5XKH6.js → skills-CW23U675.js} +6 -6
- package/dist/{skillsUpdateCheck-ST5ZFEET.js → skillsUpdateCheck-LGBNNYLI.js} +3 -3
- package/dist/{snapshot-57YYYE5J.js → snapshot-RK7ED6DW.js} +47 -38
- package/dist/{src-LNSJHD25.js → src-KORQVG7O.js} +10 -6
- package/dist/{src-7MEBCSTP.js → src-ZDLQFZ4B.js} +9 -9
- package/dist/{staticProjectServer-TTJSAB2Q.js → staticProjectServer-TFWT5G2L.js} +18 -18
- package/dist/{status-FGXBUX2T.js → status-6WAZ5EBM.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-Bzcd9O2g.js → hyperframes-player-qeY0knUZ.js} +3 -3
- package/dist/studio/assets/{index-LW6kxYVF.js → index-B9O4nOYD.js} +1 -1
- package/dist/studio/assets/{index-CZI-XmnO.js → index-BhZkOhf2.js} +174 -174
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-57E36S5N.js → studio-api-OIZEPWHS.js} +10 -10
- package/dist/{studioServer-2AIRUNBA.js → studioServer-62MG7LJR.js} +50 -49
- package/dist/{sync-52GUXEYZ.js → sync-Q3XYLXTX.js} +12 -12
- package/dist/{telemetry-RVY6RSCD.js → telemetry-3YDPEGQK.js} +4 -4
- package/dist/{timeline-MMZF4AX3.js → timeline-VDLKFZZ7.js} +19 -19
- package/dist/{tokens-WGWCYFTY.js → tokens-ZZ4G2VKC.js} +2 -2
- package/dist/{transcribe-YYDHXRQW.js → transcribe-2D6UIVAE.js} +10 -10
- package/dist/{transcribe-6BF5FFPV.js → transcribe-OYRCZUZM.js} +22 -22
- package/dist/{updateCheck-AAR5LLUF.js → updateCheck-ZRG5DR74.js} +2 -2
- package/dist/{upgrade-Y7CIRL4B.js → upgrade-ZU6BHCTC.js} +2 -2
- package/dist/{urlDownloader-KZOD7EWX.js → urlDownloader-5WPUC6C6.js} +6 -6
- package/dist/{validate-K3PHAA2E.js → validate-OZRPF6YZ.js} +25 -24
- package/dist/{video-Z6EBVCAT.js → video-N2KXXYS3.js} +8 -8
- package/dist/warmCheck.js +39 -38
- package/package.json +1 -1
- package/dist/chunk-6UWSEXQ3.js +0 -5030
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XCGPPU32.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-XINVBLXA.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-WE42NVH7.js";
|
|
104
104
|
import {
|
|
105
105
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-GR2T3BOX.js";
|
|
107
107
|
import {
|
|
108
108
|
FFMPEG_PATH_ENV,
|
|
109
109
|
FFPROBE_PATH_ENV,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
import {
|
|
113
113
|
isWithinProjectRoot,
|
|
114
114
|
resolveProjectRelativeSrc
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-2GTFW4MK.js";
|
|
116
116
|
import {
|
|
117
117
|
isPathInside
|
|
118
118
|
} from "./chunk-C2KEGBR3.js";
|
|
@@ -169,6 +169,7 @@ var DEFAULT_CONFIG = {
|
|
|
169
169
|
protocolTimeout: 3e5,
|
|
170
170
|
forceScreenshot: false,
|
|
171
171
|
staticFrameDedup: true,
|
|
172
|
+
videoLayerPassthrough: false,
|
|
172
173
|
useDrawElement: true,
|
|
173
174
|
enableDrawElementWorkerEncode: true,
|
|
174
175
|
// Auto-detected per host in `resolveConfig`; defaults off for the raw
|
|
@@ -212,6 +213,7 @@ var BOOLEAN_ENGINE_CONFIG_FIELDS = [
|
|
|
212
213
|
"enableBrowserPool",
|
|
213
214
|
"forceScreenshot",
|
|
214
215
|
"staticFrameDedup",
|
|
216
|
+
"videoLayerPassthrough",
|
|
215
217
|
"useDrawElement",
|
|
216
218
|
"enableDrawElementWorkerEncode",
|
|
217
219
|
"lowMemoryMode",
|
|
@@ -480,6 +482,10 @@ function resolveConfig(overrides) {
|
|
|
480
482
|
expectedChromiumMajor: env("PRODUCER_EXPECTED_CHROMIUM_MAJOR") ? Number(env("PRODUCER_EXPECTED_CHROMIUM_MAJOR")) : void 0,
|
|
481
483
|
forceScreenshot: envBool("PRODUCER_FORCE_SCREENSHOT", DEFAULT_CONFIG.forceScreenshot),
|
|
482
484
|
staticFrameDedup: resolveStaticFrameDedup(),
|
|
485
|
+
videoLayerPassthrough: envBool(
|
|
486
|
+
"HF_VIDEO_LAYER_PASSTHROUGH",
|
|
487
|
+
DEFAULT_CONFIG.videoLayerPassthrough
|
|
488
|
+
),
|
|
483
489
|
useDrawElement: envBool("PRODUCER_EXPERIMENTAL_FAST_CAPTURE", DEFAULT_CONFIG.useDrawElement),
|
|
484
490
|
enableDrawElementWorkerEncode: envBool(
|
|
485
491
|
"HF_DE_WORKER_ENCODE",
|
|
@@ -3737,13 +3743,16 @@ function capturesAlpha(options) {
|
|
|
3737
3743
|
return options.transparent ?? options.format === "png";
|
|
3738
3744
|
}
|
|
3739
3745
|
var TRANSPARENT_BG_STYLE_ID = "__hf_transparent_bg__";
|
|
3740
|
-
async function initTransparentBackground(page, {
|
|
3746
|
+
async function initTransparentBackground(page, {
|
|
3747
|
+
clearCompositionRoot = false,
|
|
3748
|
+
hideElementIds = []
|
|
3749
|
+
} = {}) {
|
|
3741
3750
|
const client = await getCdpSession(page);
|
|
3742
3751
|
await client.send("Emulation.setDefaultBackgroundColorOverride", {
|
|
3743
3752
|
color: { r: 0, g: 0, b: 0, a: 0 }
|
|
3744
3753
|
});
|
|
3745
3754
|
await page.evaluate(
|
|
3746
|
-
(styleId, clearCompositionRoot2) => {
|
|
3755
|
+
(styleId, clearCompositionRoot2, hideIds) => {
|
|
3747
3756
|
const selector = clearCompositionRoot2 ? "html,body,[data-composition-id]" : "html,body";
|
|
3748
3757
|
let style = document.getElementById(styleId);
|
|
3749
3758
|
if (!style) {
|
|
@@ -3751,10 +3760,12 @@ async function initTransparentBackground(page, { clearCompositionRoot = false }
|
|
|
3751
3760
|
style.id = styleId;
|
|
3752
3761
|
document.head.appendChild(style);
|
|
3753
3762
|
}
|
|
3754
|
-
|
|
3763
|
+
const hidden = hideIds.map((id) => `#${CSS.escape(id)}`).join(",");
|
|
3764
|
+
style.textContent = `${selector}{background:transparent !important;background-color:transparent !important;background-image:none !important;}` + (hidden ? `${hidden}{visibility:hidden !important;}` : "");
|
|
3755
3765
|
},
|
|
3756
3766
|
TRANSPARENT_BG_STYLE_ID,
|
|
3757
|
-
clearCompositionRoot
|
|
3767
|
+
clearCompositionRoot,
|
|
3768
|
+
[...hideElementIds]
|
|
3758
3769
|
);
|
|
3759
3770
|
}
|
|
3760
3771
|
async function captureAlphaPng(page, width, height) {
|
|
@@ -5814,7 +5825,11 @@ async function initDrawElementOrTransparentBackground(session, page, logInitPhas
|
|
|
5814
5825
|
await finalizeDrawElementInit(session, page, logInitPhase, { transparent, forceDE });
|
|
5815
5826
|
}
|
|
5816
5827
|
} else if (capturesAlpha(session.options)) {
|
|
5817
|
-
|
|
5828
|
+
const hideElementIds = session.options.hiddenElementIds ?? [];
|
|
5829
|
+
await initTransparentBackground(session.page, {
|
|
5830
|
+
clearCompositionRoot: hideElementIds.length > 0,
|
|
5831
|
+
hideElementIds
|
|
5832
|
+
});
|
|
5818
5833
|
}
|
|
5819
5834
|
}
|
|
5820
5835
|
function drawElementWorkerEncodeEligible(session, transparent) {
|
|
@@ -7155,82 +7170,88 @@ var MAX_STATIC_DEDUP_ANALYSIS_FRAMES = 1e6;
|
|
|
7155
7170
|
function isStaticDedupFrameAnalysisSafe(totalFrames) {
|
|
7156
7171
|
return Number.isFinite(totalFrames) && Number.isSafeInteger(totalFrames) && totalFrames > 0 && totalFrames <= MAX_STATIC_DEDUP_ANALYSIS_FRAMES;
|
|
7157
7172
|
}
|
|
7158
|
-
async function computeStaticFrameSet(page, fps) {
|
|
7159
|
-
const result = await page.evaluate(
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
const intervals2 = [];
|
|
7167
|
-
let tweenCount2 = 0;
|
|
7168
|
-
let hasTimelineCall2 = false;
|
|
7169
|
-
function walk(tl, offset) {
|
|
7170
|
-
if (typeof tl.getChildren !== "function") return;
|
|
7171
|
-
if (typeof tl.vars?.onUpdate === "function") {
|
|
7172
|
-
const total = typeof tl.totalDuration === "function" ? tl.totalDuration() : 0;
|
|
7173
|
-
if (total > 0) intervals2.push({ start: offset, end: offset + total, spatial: true });
|
|
7173
|
+
async function computeStaticFrameSet(page, fps, ignoredVideoIds = []) {
|
|
7174
|
+
const result = await page.evaluate(
|
|
7175
|
+
(spatialProps, ignored) => {
|
|
7176
|
+
const SPATIAL_PROPS = new Set(spatialProps);
|
|
7177
|
+
function isSpatial(vars) {
|
|
7178
|
+
if (!vars) return false;
|
|
7179
|
+
for (const key of Object.keys(vars)) if (SPATIAL_PROPS.has(key)) return true;
|
|
7180
|
+
return false;
|
|
7174
7181
|
}
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
if (typeof
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7182
|
+
const intervals2 = [];
|
|
7183
|
+
let tweenCount2 = 0;
|
|
7184
|
+
let hasTimelineCall2 = false;
|
|
7185
|
+
function walk(tl, offset) {
|
|
7186
|
+
if (typeof tl.getChildren !== "function") return;
|
|
7187
|
+
if (typeof tl.vars?.onUpdate === "function") {
|
|
7188
|
+
const total = typeof tl.totalDuration === "function" ? tl.totalDuration() : 0;
|
|
7189
|
+
if (total > 0) intervals2.push({ start: offset, end: offset + total, spatial: true });
|
|
7190
|
+
}
|
|
7191
|
+
for (const child of tl.getChildren(false, true, true)) {
|
|
7192
|
+
const start = offset + (typeof child.startTime === "function" ? child.startTime() : 0);
|
|
7193
|
+
const single = typeof child.duration === "function" ? child.duration() : 0;
|
|
7194
|
+
const total = typeof child.totalDuration === "function" ? child.totalDuration() : single;
|
|
7195
|
+
if (typeof child.getChildren === "function") {
|
|
7196
|
+
if (total > single + 1e-6) {
|
|
7197
|
+
intervals2.push({ start, end: start + total, spatial: true });
|
|
7198
|
+
walk(child, start);
|
|
7199
|
+
} else {
|
|
7200
|
+
walk(child, start);
|
|
7201
|
+
}
|
|
7183
7202
|
} else {
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
if (total <= 1e-6 && (typeof child.vars?.onComplete === "function" || typeof child.vars?.onReverseComplete === "function")) {
|
|
7190
|
-
hasTimelineCall2 = true;
|
|
7203
|
+
tweenCount2++;
|
|
7204
|
+
intervals2.push({ start, end: start + total, spatial: isSpatial(child.vars) });
|
|
7205
|
+
if (total <= 1e-6 && (typeof child.vars?.onComplete === "function" || typeof child.vars?.onReverseComplete === "function")) {
|
|
7206
|
+
hasTimelineCall2 = true;
|
|
7207
|
+
}
|
|
7191
7208
|
}
|
|
7192
7209
|
}
|
|
7193
7210
|
}
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
if (tl && typeof tl.getChildren === "function") walk(tl, 0);
|
|
7198
|
-
}
|
|
7199
|
-
const hasVideo2 = !!document.querySelector("video");
|
|
7200
|
-
const hasCanvas2 = !!document.querySelector("canvas");
|
|
7201
|
-
const hasFrameSources2 = w.__hfHasFrameSources?.() ?? false;
|
|
7202
|
-
const hasIframe2 = !!document.querySelector("iframe");
|
|
7203
|
-
const hasUnresolvableClipStart2 = Array.from(document.querySelectorAll("[data-start]")).some(
|
|
7204
|
-
(el) => {
|
|
7205
|
-
const v = el.dataset.start;
|
|
7206
|
-
return v != null && v.trim() !== "" && !Number.isFinite(parseFloat(v));
|
|
7211
|
+
const w = window;
|
|
7212
|
+
for (const tl of Object.values(w.__timelines || {})) {
|
|
7213
|
+
if (tl && typeof tl.getChildren === "function") walk(tl, 0);
|
|
7207
7214
|
}
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
const
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7215
|
+
const hasVideo2 = Array.from(document.querySelectorAll("video")).some(
|
|
7216
|
+
(v) => !ignored.includes(v.id)
|
|
7217
|
+
);
|
|
7218
|
+
const hasCanvas2 = !!document.querySelector("canvas");
|
|
7219
|
+
const hasFrameSources2 = w.__hfHasFrameSources?.() ?? false;
|
|
7220
|
+
const hasIframe2 = !!document.querySelector("iframe");
|
|
7221
|
+
const hasUnresolvableClipStart2 = Array.from(document.querySelectorAll("[data-start]")).some(
|
|
7222
|
+
(el) => {
|
|
7223
|
+
const v = el.dataset.start;
|
|
7224
|
+
return v != null && v.trim() !== "" && !Number.isFinite(parseFloat(v));
|
|
7225
|
+
}
|
|
7226
|
+
);
|
|
7227
|
+
let hasNonGsapAnim2 = false;
|
|
7228
|
+
try {
|
|
7229
|
+
const docAnims = document.getAnimations;
|
|
7230
|
+
if (typeof docAnims === "function") {
|
|
7231
|
+
hasNonGsapAnim2 = docAnims.call(document).some((a) => {
|
|
7232
|
+
const t = a;
|
|
7233
|
+
return t.playState === "running" || t.playState === "paused";
|
|
7234
|
+
});
|
|
7235
|
+
}
|
|
7236
|
+
} catch {
|
|
7237
|
+
hasNonGsapAnim2 = true;
|
|
7217
7238
|
}
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7239
|
+
return {
|
|
7240
|
+
intervals: intervals2,
|
|
7241
|
+
tweenCount: tweenCount2,
|
|
7242
|
+
duration: w.__hf?.duration ?? 0,
|
|
7243
|
+
hasVideo: hasVideo2,
|
|
7244
|
+
hasCanvas: hasCanvas2,
|
|
7245
|
+
hasFrameSources: hasFrameSources2,
|
|
7246
|
+
hasIframe: hasIframe2,
|
|
7247
|
+
hasNonGsapAnim: hasNonGsapAnim2,
|
|
7248
|
+
hasUnresolvableClipStart: hasUnresolvableClipStart2,
|
|
7249
|
+
hasTimelineCall: hasTimelineCall2
|
|
7250
|
+
};
|
|
7251
|
+
},
|
|
7252
|
+
SPATIAL_TWEEN_PROPERTIES,
|
|
7253
|
+
[...ignoredVideoIds]
|
|
7254
|
+
);
|
|
7234
7255
|
const {
|
|
7235
7256
|
intervals,
|
|
7236
7257
|
tweenCount,
|
|
@@ -7303,6 +7324,8 @@ async function computeStaticFrameSet(page, fps) {
|
|
|
7303
7324
|
}
|
|
7304
7325
|
var STATIC_VERIFY_REFERENCE_STRIDE = 24;
|
|
7305
7326
|
var STATIC_VERIFY_MAX_MS = 15e3;
|
|
7327
|
+
var STATIC_VERIFY_HEADROOM = 1.5;
|
|
7328
|
+
var STATIC_VERIFY_CEILING_MS = 3e5;
|
|
7306
7329
|
var STATIC_VERIFY_MIN_SCREENSHOT_CAP = 400;
|
|
7307
7330
|
var STATIC_VERIFY_SAMPLE_CAP_MULTIPLIER = 8;
|
|
7308
7331
|
var STATIC_VERIFY_MAX_GLOBAL_SAMPLE_FLOOR = STATIC_VERIFY_MIN_SCREENSHOT_CAP / STATIC_VERIFY_SAMPLE_CAP_MULTIPLIER;
|
|
@@ -7433,7 +7456,6 @@ async function verifyStaticFramesSafe(session, page, staticFrames, fps, sampleCo
|
|
|
7433
7456
|
const now = dependencies.now ?? Date.now;
|
|
7434
7457
|
const capture = dependencies.capture ?? pageScreenshotCapture;
|
|
7435
7458
|
const startedAt = now();
|
|
7436
|
-
const deadline = startedAt + STATIC_VERIFY_MAX_MS;
|
|
7437
7459
|
const verifiedFrames = /* @__PURE__ */ new Set();
|
|
7438
7460
|
const stats = {
|
|
7439
7461
|
plannedRuns: plan.runs.length,
|
|
@@ -7470,12 +7492,24 @@ async function verifyStaticFramesSafe(session, page, staticFrames, fps, sampleCo
|
|
|
7470
7492
|
plan.effectiveSampleFloor * STATIC_VERIFY_SAMPLE_CAP_MULTIPLIER,
|
|
7471
7493
|
Math.ceil(plan.predictedFrames / STATIC_VERIFY_REFERENCE_STRIDE) * 3 + plan.runs.length
|
|
7472
7494
|
);
|
|
7495
|
+
let firstShotMs = 0;
|
|
7473
7496
|
const seekCapture = async (frameIdx) => {
|
|
7474
|
-
|
|
7497
|
+
const spent = now() - startedAt;
|
|
7498
|
+
const budget = Math.max(
|
|
7499
|
+
STATIC_VERIFY_MAX_MS,
|
|
7500
|
+
Math.min(
|
|
7501
|
+
STATIC_VERIFY_CEILING_MS,
|
|
7502
|
+
STATIC_VERIFY_HEADROOM * plan.plannedScreenshots * firstShotMs
|
|
7503
|
+
)
|
|
7504
|
+
);
|
|
7505
|
+
if (spent >= budget) return "time_budget";
|
|
7475
7506
|
if (stats.screenshots >= hardCap) return "count_budget";
|
|
7507
|
+
const shotStart = now();
|
|
7476
7508
|
await seekToFrame(frameIdx);
|
|
7477
7509
|
stats.screenshots++;
|
|
7478
|
-
|
|
7510
|
+
const buf = await capture(page, session.options);
|
|
7511
|
+
if (stats.screenshots === 1) firstShotMs = now() - shotStart;
|
|
7512
|
+
return buf;
|
|
7479
7513
|
};
|
|
7480
7514
|
try {
|
|
7481
7515
|
for (const run of plan.runs) {
|
|
@@ -7514,7 +7548,11 @@ async function verifyStaticFramesSafe(session, page, staticFrames, fps, sampleCo
|
|
|
7514
7548
|
async function armStaticDedup(session, page, logInitPhase) {
|
|
7515
7549
|
let sharedStaticFrameStats;
|
|
7516
7550
|
if (session.options.motionBlur && session.options.motionBlur.samplesPerFrame === void 0 && !session.motionBlurNonSpatialFrames) {
|
|
7517
|
-
sharedStaticFrameStats = await computeStaticFrameSet(
|
|
7551
|
+
sharedStaticFrameStats = await computeStaticFrameSet(
|
|
7552
|
+
page,
|
|
7553
|
+
fpsToNumber(session.options.fps),
|
|
7554
|
+
session.options.hiddenElementIds
|
|
7555
|
+
);
|
|
7518
7556
|
session.motionBlurNonSpatialFrames = sharedStaticFrameStats.nonSpatialOnlyFrameSet;
|
|
7519
7557
|
}
|
|
7520
7558
|
if (session.staticFrames || session.staticDedupSkipReason) return;
|
|
@@ -7541,7 +7579,7 @@ async function armStaticDedup(session, page, logInitPhase) {
|
|
|
7541
7579
|
return;
|
|
7542
7580
|
}
|
|
7543
7581
|
const fps = fpsToNumber(session.options.fps);
|
|
7544
|
-
const stats = sharedStaticFrameStats ?? await computeStaticFrameSet(page, fps);
|
|
7582
|
+
const stats = sharedStaticFrameStats ?? await computeStaticFrameSet(page, fps, session.options.hiddenElementIds);
|
|
7545
7583
|
if (!stats.eligible || stats.staticFrameSet.size === 0) {
|
|
7546
7584
|
session.staticDedupSkipReason = "ineligible";
|
|
7547
7585
|
logInitPhase(`static-frame dedup: disabled (${stats.reason})`);
|
|
@@ -8375,6 +8413,7 @@ function getCapturePerfSummary(session) {
|
|
|
8375
8413
|
avgSeekMs: Math.round(session.capturePerf.seekMs / frames),
|
|
8376
8414
|
avgBeforeCaptureMs: Math.round(session.capturePerf.beforeCaptureMs / frames),
|
|
8377
8415
|
avgScreenshotMs: Math.round(session.capturePerf.screenshotMs / frames),
|
|
8416
|
+
captureBeyondViewport: session.options.captureBeyondViewport,
|
|
8378
8417
|
p50TotalMs: medianOf(session.capturePerf.frameMs),
|
|
8379
8418
|
p95TotalMs: percentileOf(session.capturePerf.frameMs, 0.95),
|
|
8380
8419
|
p99TotalMs: percentileOf(session.capturePerf.frameMs, 0.99),
|
|
@@ -9361,6 +9400,14 @@ async function buildProbeFactsText(filePath, signal) {
|
|
|
9361
9400
|
function videoStartOnMediaTimeline(metadata) {
|
|
9362
9401
|
return (metadata.videoStreamLeadSeconds ?? 0) + (metadata.mediaTimeOffsetSeconds ?? 0);
|
|
9363
9402
|
}
|
|
9403
|
+
function formatFfmpegSeconds(seconds) {
|
|
9404
|
+
const text = String(seconds);
|
|
9405
|
+
return text.includes("e") ? String(+seconds.toFixed(6)) : text;
|
|
9406
|
+
}
|
|
9407
|
+
function readIntervalSpec(startSeconds, end) {
|
|
9408
|
+
const to = typeof end === "number" ? formatFfmpegSeconds(end) : end;
|
|
9409
|
+
return `${formatFfmpegSeconds(startSeconds)}%${to}`;
|
|
9410
|
+
}
|
|
9364
9411
|
function ffmpegSeekSeconds(metadata, mediaTime) {
|
|
9365
9412
|
return mediaTime - (metadata.mediaTimeOffsetSeconds ?? 0);
|
|
9366
9413
|
}
|
|
@@ -9714,7 +9761,7 @@ async function extractFinalPacketDuration(filePath, window2, signal) {
|
|
|
9714
9761
|
"-select_streams",
|
|
9715
9762
|
"v:0",
|
|
9716
9763
|
"-read_intervals",
|
|
9717
|
-
|
|
9764
|
+
readIntervalSpec(intervalStart, streamEnd),
|
|
9718
9765
|
"-show_entries",
|
|
9719
9766
|
"packet=pts_time,duration_time",
|
|
9720
9767
|
"-of",
|
|
@@ -9772,7 +9819,7 @@ async function extractFinalVideoFrameTimestamp(filePath, metadata, signal) {
|
|
|
9772
9819
|
});
|
|
9773
9820
|
return parseFinalTimestamp(stdout);
|
|
9774
9821
|
};
|
|
9775
|
-
const timestamp = await probe(
|
|
9822
|
+
const timestamp = await probe(readIntervalSpec(intervalStart, streamEnd)) ?? await probe(
|
|
9776
9823
|
/* full scan */
|
|
9777
9824
|
);
|
|
9778
9825
|
if (timestamp === void 0) {
|
|
@@ -9901,7 +9948,7 @@ async function probeDecodedAudioDuration(filePath, audioStream, sampleRate, star
|
|
|
9901
9948
|
startSeconds,
|
|
9902
9949
|
startSeconds + containerDurationSeconds - AUDIO_DURATION_PROBE_TAIL_SECONDS
|
|
9903
9950
|
);
|
|
9904
|
-
const lastFrame = await probe(
|
|
9951
|
+
const lastFrame = await probe(readIntervalSpec(tailStart, FFPROBE_READ_INTERVAL_EXPLICIT_FAR_END)) ?? await probe();
|
|
9905
9952
|
if (!lastFrame) return null;
|
|
9906
9953
|
return lastFrame.timestamp + lastFrame.nbSamples / sampleRate - startSeconds;
|
|
9907
9954
|
}
|
|
@@ -9932,7 +9979,7 @@ async function keyframeGapSeconds(filePath, seekSeconds, signal) {
|
|
|
9932
9979
|
filePath,
|
|
9933
9980
|
[
|
|
9934
9981
|
...["-select_streams", "v:0", "-show_entries", "packet=pts_time", "-of", "csv=p=0"],
|
|
9935
|
-
...["-read_intervals",
|
|
9982
|
+
...["-read_intervals", readIntervalSpec(seekSeconds, "+#1")]
|
|
9936
9983
|
],
|
|
9937
9984
|
signal
|
|
9938
9985
|
);
|
|
@@ -10928,8 +10975,12 @@ function buildStreamingArgs(options, outputPath, gpuEncoder = null) {
|
|
|
10928
10975
|
"-"
|
|
10929
10976
|
);
|
|
10930
10977
|
}
|
|
10978
|
+
if (options.videoLayer) args.push(...options.videoLayer.inputArgs);
|
|
10931
10979
|
args.push("-r", fpsToFfmpegArg(fps));
|
|
10932
10980
|
const shouldUseGpu = useGpu && gpuEncoder !== null;
|
|
10981
|
+
if (options.videoLayer && (imageFormat !== "png" || options.rawInputFormat || shouldUseGpu || codec !== "h264" && codec !== "h265")) {
|
|
10982
|
+
throw new Error("videoLayer needs software h264/h265 and PNG frames");
|
|
10983
|
+
}
|
|
10933
10984
|
appendRateCapArgs(args, options);
|
|
10934
10985
|
if (codec === "h264" || codec === "h265") {
|
|
10935
10986
|
if (shouldUseGpu) {
|
|
@@ -11043,6 +11094,20 @@ function buildStreamingArgs(options, outputPath, gpuEncoder = null) {
|
|
|
11043
11094
|
if (vfIdx !== -1) {
|
|
11044
11095
|
args[vfIdx + 1] = `${frameFilter},${args[vfIdx + 1]}`;
|
|
11045
11096
|
}
|
|
11097
|
+
} else if (options.videoLayer) {
|
|
11098
|
+
const video = `[1:v]${options.videoLayer.filters.join(",")},format=gbrp[v]`;
|
|
11099
|
+
const tail2 = withEvenDimensionPad(
|
|
11100
|
+
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
11101
|
+
pixelFormat,
|
|
11102
|
+
options.width,
|
|
11103
|
+
options.height
|
|
11104
|
+
);
|
|
11105
|
+
args.push(
|
|
11106
|
+
"-filter_complex",
|
|
11107
|
+
`${video};[0:v]format=rgba[o];[v][o]overlay=format=gbrp,${tail2}[vout]`,
|
|
11108
|
+
"-map",
|
|
11109
|
+
"[vout]"
|
|
11110
|
+
);
|
|
11046
11111
|
} else {
|
|
11047
11112
|
args.push(
|
|
11048
11113
|
"-vf",
|
|
@@ -11297,7 +11362,7 @@ function isMemberGroupHidden(groupsById, el) {
|
|
|
11297
11362
|
|
|
11298
11363
|
// ../engine/src/services/videoFrameExtractor.ts
|
|
11299
11364
|
import { copyFileSync as copyFileSync2, existsSync as existsSync9, linkSync as linkSync2, mkdirSync as mkdirSync6, rmSync as rmSync5 } from "fs";
|
|
11300
|
-
import { basename as basename2, join as join12 } from "path";
|
|
11365
|
+
import { basename as basename2, isAbsolute, join as join12, normalize, relative, win32 } from "path";
|
|
11301
11366
|
import { cpus } from "os";
|
|
11302
11367
|
|
|
11303
11368
|
// ../engine/src/utils/concurrencyLimit.ts
|
|
@@ -12814,6 +12879,23 @@ async function hdrToSdrTransformKey() {
|
|
|
12814
12879
|
function sdrToHdrTransformKey(transfer) {
|
|
12815
12880
|
return `sdr2hdr-${transfer}`;
|
|
12816
12881
|
}
|
|
12882
|
+
var URL_SCHEME = /^[a-z][a-z0-9+.-]+:/i;
|
|
12883
|
+
var WINDOWS_ABSOLUTE = /^([a-zA-Z]:[\\/]|\\\\)/;
|
|
12884
|
+
function videoExtractionSourceLabel(src, baseDir) {
|
|
12885
|
+
if (/^(data|blob):/i.test(src)) return "inline video";
|
|
12886
|
+
if (URL_SCHEME.test(src)) {
|
|
12887
|
+
try {
|
|
12888
|
+
return basename2(decodeURIComponent(new URL(src).pathname)) || "remote video";
|
|
12889
|
+
} catch {
|
|
12890
|
+
return "remote video";
|
|
12891
|
+
}
|
|
12892
|
+
}
|
|
12893
|
+
const path = src.split(/[?#]/)[0];
|
|
12894
|
+
const lib = WINDOWS_ABSOLUTE.test(path) ? win32 : { isAbsolute, relative, basename: basename2, normalize };
|
|
12895
|
+
const relativePath = lib.isAbsolute(path) ? lib.relative(baseDir, path) : lib.normalize(path);
|
|
12896
|
+
const label = relativePath.startsWith("..") || lib.isAbsolute(relativePath) ? lib.basename(path) : relativePath;
|
|
12897
|
+
return label.replace(/\\/g, "/");
|
|
12898
|
+
}
|
|
12817
12899
|
function safeVideoExtractionSourceIdentity(source) {
|
|
12818
12900
|
if (!isHttpUrl(source)) return null;
|
|
12819
12901
|
const identity = safeDownloadUrlIdentity(source);
|
|
@@ -13237,12 +13319,12 @@ async function runSegmentedExtraction(job) {
|
|
|
13237
13319
|
...decodeArgs,
|
|
13238
13320
|
"-noaccurate_seek",
|
|
13239
13321
|
"-ss",
|
|
13240
|
-
|
|
13322
|
+
formatFfmpegSeconds(job.ffmpegSeek(seek)),
|
|
13241
13323
|
"-i",
|
|
13242
13324
|
videoPath,
|
|
13243
13325
|
// Read one frame past the segment and keep exactly its own frames.
|
|
13244
13326
|
"-t",
|
|
13245
|
-
|
|
13327
|
+
formatFfmpegSeconds((frames + 1) / fps),
|
|
13246
13328
|
"-frames:v",
|
|
13247
13329
|
String(frames),
|
|
13248
13330
|
"-start_number",
|
|
@@ -13292,6 +13374,69 @@ async function extractVideoFramesRange(...args) {
|
|
|
13292
13374
|
throw redactUrlQueriesInError(error);
|
|
13293
13375
|
}
|
|
13294
13376
|
}
|
|
13377
|
+
function videoFilterChain(input) {
|
|
13378
|
+
const { metadata, format, ffmpegFps, sampleAtOutputFps, keepsHdrForChrome, toneMapFrom } = input;
|
|
13379
|
+
const toneMappedToSdr = toneMapFrom !== void 0;
|
|
13380
|
+
const head = [];
|
|
13381
|
+
if (keepsHdrForChrome) head.push("format=nv12");
|
|
13382
|
+
const tail2 = [];
|
|
13383
|
+
if (metadata.sampleAspectRatio) {
|
|
13384
|
+
tail2.push("scale=trunc(iw*sar/2)*2:ih", "setsar=1");
|
|
13385
|
+
}
|
|
13386
|
+
const sampling = (seek) => sampleAtOutputFps ? [
|
|
13387
|
+
...metadata.isVFR ? [] : undoTickRoundingOnTheSourceFrameGrid(seek, videoStartOnMediaTimeline(metadata)),
|
|
13388
|
+
"settb=intb/2",
|
|
13389
|
+
"setpts=PTS-lte(TB\\,0.001)",
|
|
13390
|
+
`fps=${ffmpegFps}:start_time=0:round=up`
|
|
13391
|
+
] : [];
|
|
13392
|
+
if (input.sdrToHdrTransfer) {
|
|
13393
|
+
tail2.push(SDR_TO_HDR_COLORSPACE_FILTER);
|
|
13394
|
+
}
|
|
13395
|
+
if (toneMapFrom) {
|
|
13396
|
+
tail2.push(hdrToSdrToneMapFilter(metadata.colorSpace ?? {}, toneMapFrom));
|
|
13397
|
+
}
|
|
13398
|
+
if (toneMappedToSdr || !input.isHdr && !input.sdrToHdrTransfer) {
|
|
13399
|
+
tail2.push(...sdrCanvasColourFilters(metadata, toneMappedToSdr));
|
|
13400
|
+
if (format === "jpg") {
|
|
13401
|
+
if (input.shownBox) tail2.push(halveToCoverScaleFilter(input.shownBox));
|
|
13402
|
+
tail2.push(SDR_JPEG_AS_BT601_FULL_RANGE_FILTER);
|
|
13403
|
+
}
|
|
13404
|
+
}
|
|
13405
|
+
return (seek) => [...head, ...sampling(seek), ...tail2];
|
|
13406
|
+
}
|
|
13407
|
+
async function buildVideoLayerInput(videoPath, startTime, duration, fps, canvas, fit = "fill") {
|
|
13408
|
+
const metadata = await extractMediaMetadata(videoPath);
|
|
13409
|
+
if (startTime + duration > resolvePlayableVideoDuration(metadata) + 1e-3 || isHdrColorSpace(metadata.colorSpace) || metadata.isVFR || metadata.hasAlpha || codecMayHaveAlpha(metadata.videoCodec)) {
|
|
13410
|
+
return void 0;
|
|
13411
|
+
}
|
|
13412
|
+
const chain = videoFilterChain({
|
|
13413
|
+
metadata,
|
|
13414
|
+
format: "png",
|
|
13415
|
+
ffmpegFps: fpsToFfmpegArg(fps),
|
|
13416
|
+
sampleAtOutputFps: true,
|
|
13417
|
+
keepsHdrForChrome: false,
|
|
13418
|
+
isHdr: false
|
|
13419
|
+
});
|
|
13420
|
+
const filters = chain(startTime);
|
|
13421
|
+
if (metadata.width !== canvas.width || metadata.height !== canvas.height) {
|
|
13422
|
+
filters.push(
|
|
13423
|
+
fit === "cover" ? `scale=${canvas.width}:${canvas.height}:force_original_aspect_ratio=increase:flags=bicubic,crop=${canvas.width}:${canvas.height}` : `scale=${canvas.width}:${canvas.height}:flags=bicubic`
|
|
13424
|
+
);
|
|
13425
|
+
}
|
|
13426
|
+
return {
|
|
13427
|
+
inputArgs: [
|
|
13428
|
+
"-noaccurate_seek",
|
|
13429
|
+
"-ss",
|
|
13430
|
+
formatFfmpegSeconds(ffmpegSeekSeconds(metadata, startTime)),
|
|
13431
|
+
...urlInputArgs(videoPath),
|
|
13432
|
+
"-i",
|
|
13433
|
+
videoPath,
|
|
13434
|
+
"-t",
|
|
13435
|
+
formatFfmpegSeconds(duration)
|
|
13436
|
+
],
|
|
13437
|
+
filters
|
|
13438
|
+
};
|
|
13439
|
+
}
|
|
13295
13440
|
async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime, duration, options, signal, config, outputDirOverride) {
|
|
13296
13441
|
const ffmpegProcessTimeout = config?.ffmpegProcessTimeout ?? DEFAULT_CONFIG.ffmpegProcessTimeout;
|
|
13297
13442
|
const { outputDir, quality = 95 } = options;
|
|
@@ -13342,46 +13487,43 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13342
13487
|
const decodeArgs = [...args];
|
|
13343
13488
|
const ffmpegSeek = (mediaTime) => ffmpegSeekSeconds(metadata, mediaTime);
|
|
13344
13489
|
if (options.finalFrameOnly) {
|
|
13345
|
-
args.push(
|
|
13490
|
+
args.push(
|
|
13491
|
+
"-i",
|
|
13492
|
+
videoPath,
|
|
13493
|
+
"-ss",
|
|
13494
|
+
formatFfmpegSeconds(Math.max(0, ffmpegSeek(startTime))),
|
|
13495
|
+
"-frames:v",
|
|
13496
|
+
"1"
|
|
13497
|
+
);
|
|
13346
13498
|
} else {
|
|
13347
13499
|
if (sampleAtOutputFps) args.push("-noaccurate_seek");
|
|
13348
|
-
args.push(
|
|
13349
|
-
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
|
|
13353
|
-
|
|
13354
|
-
|
|
13355
|
-
|
|
13356
|
-
vfFilters.push("scale=trunc(iw*sar/2)*2:ih", "setsar=1");
|
|
13357
|
-
}
|
|
13358
|
-
const samplingFilters = (seek) => sampleAtOutputFps ? [
|
|
13359
|
-
...metadata.isVFR ? [] : undoTickRoundingOnTheSourceFrameGrid(seek, videoStartOnMediaTimeline(metadata)),
|
|
13360
|
-
"settb=intb/2",
|
|
13361
|
-
"setpts=PTS-lte(TB\\,0.001)",
|
|
13362
|
-
`fps=${ffmpegFps}:start_time=0:round=up`
|
|
13363
|
-
] : [];
|
|
13364
|
-
if (options.sdrToHdrTransfer) {
|
|
13365
|
-
vfFilters.push(SDR_TO_HDR_COLORSPACE_FILTER);
|
|
13366
|
-
}
|
|
13367
|
-
if (toneMappedToSdr) {
|
|
13368
|
-
const frameColour = await readFirstFrameColour(videoPath);
|
|
13369
|
-
vfFilters.push(hdrToSdrToneMapFilter(metadata.colorSpace ?? {}, frameColour));
|
|
13370
|
-
}
|
|
13371
|
-
if (toneMappedToSdr || !isHdr && !options.sdrToHdrTransfer) {
|
|
13372
|
-
vfFilters.push(...sdrCanvasColourFilters(metadata, toneMappedToSdr));
|
|
13373
|
-
if (format === "jpg") {
|
|
13374
|
-
if (options.shownBox) vfFilters.push(halveToCoverScaleFilter(options.shownBox));
|
|
13375
|
-
vfFilters.push(SDR_JPEG_AS_BT601_FULL_RANGE_FILTER);
|
|
13376
|
-
}
|
|
13500
|
+
args.push(
|
|
13501
|
+
"-ss",
|
|
13502
|
+
formatFfmpegSeconds(ffmpegSeek(startTime)),
|
|
13503
|
+
"-i",
|
|
13504
|
+
videoPath,
|
|
13505
|
+
"-t",
|
|
13506
|
+
formatFfmpegSeconds(duration)
|
|
13507
|
+
);
|
|
13377
13508
|
}
|
|
13509
|
+
const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath) : void 0;
|
|
13510
|
+
const filtersFor = videoFilterChain({
|
|
13511
|
+
metadata,
|
|
13512
|
+
format,
|
|
13513
|
+
ffmpegFps,
|
|
13514
|
+
sampleAtOutputFps,
|
|
13515
|
+
keepsHdrForChrome,
|
|
13516
|
+
toneMapFrom: frameColour,
|
|
13517
|
+
isHdr,
|
|
13518
|
+
sdrToHdrTransfer: options.sdrToHdrTransfer,
|
|
13519
|
+
shownBox: options.shownBox
|
|
13520
|
+
});
|
|
13378
13521
|
const encodeArgs = ["-q:v", format === "jpg" ? String(Math.ceil((100 - quality) / 3)) : "0"];
|
|
13379
13522
|
if (format === "png") encodeArgs.push("-compression_level", "1");
|
|
13380
13523
|
encodeArgs.push("-y", outputPattern);
|
|
13381
13524
|
const runOptions = { signal, timeout: ffmpegProcessTimeout };
|
|
13382
13525
|
const filterArgsFor = (seek) => {
|
|
13383
|
-
const filters =
|
|
13384
|
-
filters.splice(samplingAt, 0, ...samplingFilters(seek));
|
|
13526
|
+
const filters = filtersFor(seek);
|
|
13385
13527
|
return filters.length > 0 ? ["-vf", filters.join(",")] : [];
|
|
13386
13528
|
};
|
|
13387
13529
|
const segmentFrames = Math.round(EXTRACTION_SEGMENT_SECONDS * fps);
|
|
@@ -13532,7 +13674,10 @@ function alignClipStartToFirstOutputFrame(video, fps) {
|
|
|
13532
13674
|
const position = exportClipWindow(video.start, Infinity, fps).start * fps;
|
|
13533
13675
|
const firstFrame = Math.abs(position - Math.round(position)) < 1e-6 ? Math.round(position) : Math.ceil(position);
|
|
13534
13676
|
const shift = firstFrame / fps - video.start;
|
|
13535
|
-
if (shift
|
|
13677
|
+
if (Math.abs(shift) < 1e-9) {
|
|
13678
|
+
video.start = firstFrame / fps;
|
|
13679
|
+
return;
|
|
13680
|
+
}
|
|
13536
13681
|
const playbackRate = normalizeRateSpec(video.playbackRate);
|
|
13537
13682
|
video.mediaStart += sourceTimeAt(playbackRate, shift);
|
|
13538
13683
|
video.playbackRate = shiftRateLane(playbackRate, shift);
|
|
@@ -14474,10 +14619,14 @@ async function extractAllVideoFrames(videos, baseDir, options, signal, config, c
|
|
|
14474
14619
|
breakdown.cacheGcBytesFreed = gcStats.evictedBytes;
|
|
14475
14620
|
breakdown.cacheAgedPartialsCleared = gcStats.agedPartialsRemoved;
|
|
14476
14621
|
}
|
|
14622
|
+
const srcById = new Map(videos.map((video) => [video.id, video.src]));
|
|
14477
14623
|
return {
|
|
14478
14624
|
success: errors.length === 0,
|
|
14479
14625
|
extracted,
|
|
14480
|
-
errors
|
|
14626
|
+
errors: errors.map((failure) => {
|
|
14627
|
+
const src = srcById.get(failure.videoId);
|
|
14628
|
+
return src === void 0 ? failure : { ...failure, source: videoExtractionSourceLabel(src, baseDir) };
|
|
14629
|
+
}),
|
|
14481
14630
|
totalFramesExtracted,
|
|
14482
14631
|
durationMs: Date.now() - startTime,
|
|
14483
14632
|
phaseBreakdown: breakdown
|
|
@@ -14664,6 +14813,25 @@ function createFrameLookupTable(videos, extracted, fps) {
|
|
|
14664
14813
|
return table;
|
|
14665
14814
|
}
|
|
14666
14815
|
|
|
14816
|
+
// ../engine/src/services/videoLayerPassthrough.ts
|
|
14817
|
+
var EDGE_EPSILON_SECONDS = 1e-3;
|
|
14818
|
+
function qualifyVideoLayer(videos, compositionDuration) {
|
|
14819
|
+
if (videos.length !== 1) return { qualifies: false, reason: "video_count" };
|
|
14820
|
+
const video = videos[0];
|
|
14821
|
+
if (!video) return { qualifies: false, reason: "video_count" };
|
|
14822
|
+
if (video.hidden) return { qualifies: false, reason: "hidden" };
|
|
14823
|
+
if (video.graded) return { qualifies: false, reason: "color_grading" };
|
|
14824
|
+
if (video.loop) return { qualifies: false, reason: "loop" };
|
|
14825
|
+
if (video.playbackRate !== void 0 && video.playbackRate !== 1) {
|
|
14826
|
+
return { qualifies: false, reason: "playback_rate" };
|
|
14827
|
+
}
|
|
14828
|
+
if (video.start > EDGE_EPSILON_SECONDS) return { qualifies: false, reason: "late_start" };
|
|
14829
|
+
if (video.end < compositionDuration - EDGE_EPSILON_SECONDS) {
|
|
14830
|
+
return { qualifies: false, reason: "ends_early" };
|
|
14831
|
+
}
|
|
14832
|
+
return { qualifies: true, video };
|
|
14833
|
+
}
|
|
14834
|
+
|
|
14667
14835
|
// ../engine/src/services/videoFrameInjector.ts
|
|
14668
14836
|
import { promises as fs } from "fs";
|
|
14669
14837
|
function createFrameSourceCache(entryLimit, bytesLimit, frameSrcResolver) {
|
|
@@ -15158,7 +15326,7 @@ async function queryElementStacking(page, nativeHdrIds) {
|
|
|
15158
15326
|
|
|
15159
15327
|
// ../engine/src/services/audioMixer.ts
|
|
15160
15328
|
import { closeSync as closeSync4, existsSync as existsSync11, mkdirSync as mkdirSync7, mkdtempSync as mkdtempSync9, openSync as openSync4, rmSync as rmSync7, writeFileSync as writeFileSync7 } from "fs";
|
|
15161
|
-
import { join as join16, dirname as dirname7, isAbsolute, relative } from "path";
|
|
15329
|
+
import { join as join16, dirname as dirname7, isAbsolute as isAbsolute2, relative as relative2 } from "path";
|
|
15162
15330
|
|
|
15163
15331
|
// ../engine/src/utils/notMediaPayload.ts
|
|
15164
15332
|
import { createHash as createHash3 } from "crypto";
|
|
@@ -16531,8 +16699,8 @@ function buildTrackInputFilter(track, index, volumeFilter, totalDuration, padToD
|
|
|
16531
16699
|
return `${filters}${padToDuration ? `,apad,asetpts=N/SR/TB,atrim=0:${formatFilterNumber(totalDuration)}` : ""}[a${index}]`;
|
|
16532
16700
|
}
|
|
16533
16701
|
function missingSourceMessage(elementId, src, baseDir, resolvedPath) {
|
|
16534
|
-
const relativePath =
|
|
16535
|
-
const insideProject = !relativePath.startsWith("..") && !
|
|
16702
|
+
const relativePath = relative2(baseDir, resolvedPath).replace(/\\/g, "/");
|
|
16703
|
+
const insideProject = !relativePath.startsWith("..") && !isAbsolute2(relativePath);
|
|
16536
16704
|
const authored = /^([\\/]|[A-Za-z]:)/.test(src) ? "" : `src="${src}" `;
|
|
16537
16705
|
return `Source not found for audio element ${elementId}: ${authored}resolved to ${insideProject ? relativePath : "a path outside the project"}`;
|
|
16538
16706
|
}
|
|
@@ -16756,7 +16924,7 @@ async function extractAudioSegment(srcPath, outputPath, stage, mediaStart, durat
|
|
|
16756
16924
|
"-stream_loop",
|
|
16757
16925
|
"-1",
|
|
16758
16926
|
"-t",
|
|
16759
|
-
|
|
16927
|
+
formatFfmpegSeconds(sourceDuration),
|
|
16760
16928
|
"-i",
|
|
16761
16929
|
cyclePath,
|
|
16762
16930
|
"-vn",
|
|
@@ -16766,7 +16934,7 @@ async function extractAudioSegment(srcPath, outputPath, stage, mediaStart, durat
|
|
|
16766
16934
|
"48000",
|
|
16767
16935
|
...outputArgs2,
|
|
16768
16936
|
"-t",
|
|
16769
|
-
|
|
16937
|
+
formatFfmpegSeconds(duration),
|
|
16770
16938
|
"-y",
|
|
16771
16939
|
outputPath
|
|
16772
16940
|
],
|
|
@@ -16804,12 +16972,18 @@ async function extractAudioSegment(srcPath, outputPath, stage, mediaStart, durat
|
|
|
16804
16972
|
const args = [
|
|
16805
16973
|
...readsUrl ? FAIL_ON_READ_ERROR_INSTEAD_OF_ENDING_THERE : [],
|
|
16806
16974
|
...urlInputArgs(readFrom),
|
|
16807
|
-
...inputSeek ? [
|
|
16975
|
+
...inputSeek ? [
|
|
16976
|
+
"-ss",
|
|
16977
|
+
formatFfmpegSeconds(ffmpegStart - warmUp),
|
|
16978
|
+
"-t",
|
|
16979
|
+
formatFfmpegSeconds(sourceDuration + warmUp)
|
|
16980
|
+
] : [],
|
|
16808
16981
|
"-i",
|
|
16809
16982
|
readFrom
|
|
16810
16983
|
];
|
|
16811
16984
|
args.push("-vn", "-acodec", "pcm_s16le", "-ar", "48000", ...outputArgs);
|
|
16812
|
-
if (normalizedPlaybackRate !== 1 || options?.padToDuration)
|
|
16985
|
+
if (normalizedPlaybackRate !== 1 || options?.padToDuration)
|
|
16986
|
+
args.push("-t", formatFfmpegSeconds(duration));
|
|
16813
16987
|
args.push("-y", outputPath);
|
|
16814
16988
|
const result = await runFfmpeg(args, { signal, timeout: ffmpegProcessTimeout });
|
|
16815
16989
|
if (signal?.aborted) {
|
|
@@ -16862,7 +17036,7 @@ async function generateSilence(outputPath, duration, signal, config) {
|
|
|
16862
17036
|
"-i",
|
|
16863
17037
|
"anullsrc=r=48000:cl=stereo",
|
|
16864
17038
|
"-t",
|
|
16865
|
-
|
|
17039
|
+
formatFfmpegSeconds(duration),
|
|
16866
17040
|
"-acodec",
|
|
16867
17041
|
"pcm_s16le",
|
|
16868
17042
|
"-y",
|
|
@@ -16944,7 +17118,7 @@ async function mixAudioTracksFlat(tracks, outputPath, totalDuration, signal, con
|
|
|
16944
17118
|
"-ar",
|
|
16945
17119
|
"48000",
|
|
16946
17120
|
"-t",
|
|
16947
|
-
|
|
17121
|
+
formatFfmpegSeconds(totalDuration),
|
|
16948
17122
|
"-y",
|
|
16949
17123
|
outputPath
|
|
16950
17124
|
];
|
|
@@ -17065,7 +17239,7 @@ async function mixGroupMembersFlat(memberTracks, outputPath, totalDuration, sign
|
|
|
17065
17239
|
"-ar",
|
|
17066
17240
|
"48000",
|
|
17067
17241
|
"-t",
|
|
17068
|
-
|
|
17242
|
+
formatFfmpegSeconds(totalDuration),
|
|
17069
17243
|
"-y",
|
|
17070
17244
|
outputPath
|
|
17071
17245
|
];
|
|
@@ -19154,6 +19328,7 @@ export {
|
|
|
19154
19328
|
parseImageElements,
|
|
19155
19329
|
sdrCanvasColourFilters,
|
|
19156
19330
|
extractVideoFramesRange,
|
|
19331
|
+
buildVideoLayerInput,
|
|
19157
19332
|
isVideoPastTimelineEnd,
|
|
19158
19333
|
rebaseVideoToWindow,
|
|
19159
19334
|
resolveTimelineExtractionWindow,
|
|
@@ -19167,6 +19342,7 @@ export {
|
|
|
19167
19342
|
analyzeClipMediaFit,
|
|
19168
19343
|
FrameLookupTable,
|
|
19169
19344
|
createFrameLookupTable,
|
|
19345
|
+
qualifyVideoLayer,
|
|
19170
19346
|
createVideoFrameInjector,
|
|
19171
19347
|
hideVideoElements,
|
|
19172
19348
|
showVideoElements,
|