@automovie/render 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +38 -2
- package/lib/AUTOMOVIE_GUIDE_PASSES.d.ts +11 -0
- package/lib/AUTOMOVIE_GUIDE_PASSES.js +21 -0
- package/lib/AUTOMOVIE_GUIDE_PASSES.js.map +1 -0
- package/lib/IAutoMovieCaptionEntry.d.ts +28 -0
- package/lib/IAutoMovieCaptionEntry.js +3 -0
- package/lib/IAutoMovieCaptionEntry.js.map +1 -0
- package/lib/IAutoMovieCaptionSidecar.d.ts +25 -0
- package/lib/IAutoMovieCaptionSidecar.js +3 -0
- package/lib/IAutoMovieCaptionSidecar.js.map +1 -0
- package/lib/IAutoMovieCapturedFrame.d.ts +22 -0
- package/lib/IAutoMovieCapturedFrame.js +3 -0
- package/lib/IAutoMovieCapturedFrame.js.map +1 -0
- package/lib/IAutoMovieGuidePassOutput.d.ts +23 -0
- package/lib/IAutoMovieGuidePassOutput.js +3 -0
- package/lib/IAutoMovieGuidePassOutput.js.map +1 -0
- package/lib/IAutoMoviePoseKeypointActor.d.ts +36 -0
- package/lib/IAutoMoviePoseKeypointActor.js +3 -0
- package/lib/IAutoMoviePoseKeypointActor.js.map +1 -0
- package/lib/IAutoMoviePoseKeypointFrame.d.ts +25 -0
- package/lib/IAutoMoviePoseKeypointFrame.js +3 -0
- package/lib/IAutoMoviePoseKeypointFrame.js.map +1 -0
- package/lib/IAutoMoviePoseKeypointSidecar.d.ts +21 -0
- package/lib/IAutoMoviePoseKeypointSidecar.js +3 -0
- package/lib/IAutoMoviePoseKeypointSidecar.js.map +1 -0
- package/lib/IAutoMovieRenderAdapters.d.ts +34 -0
- package/lib/IAutoMovieRenderAdapters.js +3 -0
- package/lib/IAutoMovieRenderAdapters.js.map +1 -0
- package/lib/IAutoMovieRenderAndSeeRequest.d.ts +32 -0
- package/lib/IAutoMovieRenderAndSeeRequest.js +3 -0
- package/lib/IAutoMovieRenderAndSeeRequest.js.map +1 -0
- package/lib/IAutoMovieRenderAndSeeResult.d.ts +20 -0
- package/lib/IAutoMovieRenderAndSeeResult.js +3 -0
- package/lib/IAutoMovieRenderAndSeeResult.js.map +1 -0
- package/lib/IAutoMovieRenderChunk.d.ts +48 -0
- package/lib/IAutoMovieRenderChunk.js +3 -0
- package/lib/IAutoMovieRenderChunk.js.map +1 -0
- package/lib/IAutoMovieRenderChunkPlan.d.ts +32 -0
- package/lib/IAutoMovieRenderChunkPlan.js +3 -0
- package/lib/IAutoMovieRenderChunkPlan.js.map +1 -0
- package/lib/IAutoMovieRenderPassManifest.d.ts +21 -0
- package/lib/IAutoMovieRenderPassManifest.js +3 -0
- package/lib/IAutoMovieRenderPassManifest.js.map +1 -0
- package/lib/IAutoMovieRenderReassembly.d.ts +24 -0
- package/lib/IAutoMovieRenderReassembly.js +3 -0
- package/lib/IAutoMovieRenderReassembly.js.map +1 -0
- package/lib/IAutoMovieRenderResult.d.ts +39 -0
- package/lib/IAutoMovieRenderResult.js +3 -0
- package/lib/IAutoMovieRenderResult.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderAdapters.d.ts +36 -0
- package/lib/IAutoMovieSequenceRenderAdapters.js +3 -0
- package/lib/IAutoMovieSequenceRenderAdapters.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderAndSeeRequest.d.ts +36 -0
- package/lib/IAutoMovieSequenceRenderAndSeeRequest.js +3 -0
- package/lib/IAutoMovieSequenceRenderAndSeeRequest.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderAndSeeResult.d.ts +23 -0
- package/lib/IAutoMovieSequenceRenderAndSeeResult.js +3 -0
- package/lib/IAutoMovieSequenceRenderAndSeeResult.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderFrame.d.ts +41 -0
- package/lib/IAutoMovieSequenceRenderFrame.js +3 -0
- package/lib/IAutoMovieSequenceRenderFrame.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderPlan.d.ts +76 -0
- package/lib/IAutoMovieSequenceRenderPlan.js +3 -0
- package/lib/IAutoMovieSequenceRenderPlan.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderResult.d.ts +44 -0
- package/lib/IAutoMovieSequenceRenderResult.js +3 -0
- package/lib/IAutoMovieSequenceRenderResult.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderShotSpan.d.ts +39 -0
- package/lib/IAutoMovieSequenceRenderShotSpan.js +3 -0
- package/lib/IAutoMovieSequenceRenderShotSpan.js.map +1 -0
- package/lib/IAutoMovieSequenceRenderTransitionSpan.d.ts +39 -0
- package/lib/IAutoMovieSequenceRenderTransitionSpan.js +3 -0
- package/lib/IAutoMovieSequenceRenderTransitionSpan.js.map +1 -0
- package/lib/audio/encodeAutoMovieWavPcm16.d.ts +21 -0
- package/lib/audio/encodeAutoMovieWavPcm16.js +59 -0
- package/lib/audio/encodeAutoMovieWavPcm16.js.map +1 -0
- package/lib/audio/index.d.ts +2 -0
- package/lib/audio/index.js +19 -0
- package/lib/audio/index.js.map +1 -0
- package/lib/audio/mixAutoMovieAudioPcm.d.ts +64 -0
- package/lib/audio/mixAutoMovieAudioPcm.js +86 -0
- package/lib/audio/mixAutoMovieAudioPcm.js.map +1 -0
- package/lib/auditAutoMovieRenderObservation.d.ts +31 -0
- package/lib/auditAutoMovieRenderObservation.js +63 -0
- package/lib/auditAutoMovieRenderObservation.js.map +1 -0
- package/lib/cache/createAutoMovieHttpArtifactStore.d.ts +28 -0
- package/lib/cache/createAutoMovieHttpArtifactStore.js +66 -0
- package/lib/cache/createAutoMovieHttpArtifactStore.js.map +1 -0
- package/lib/caption/IAutoMovieBeatCaption.d.ts +22 -0
- package/lib/caption/IAutoMovieBeatCaption.js +3 -0
- package/lib/caption/IAutoMovieBeatCaption.js.map +1 -0
- package/lib/caption/autoMovieCaptionLanguageComparisonKey.d.ts +18 -0
- package/lib/caption/autoMovieCaptionLanguageComparisonKey.js +24 -0
- package/lib/caption/autoMovieCaptionLanguageComparisonKey.js.map +1 -0
- package/lib/caption/beatCaptions.d.ts +22 -0
- package/lib/caption/beatCaptions.js +50 -0
- package/lib/caption/beatCaptions.js.map +1 -0
- package/lib/caption/canonicalProductionWebVtt.d.ts +23 -0
- package/lib/caption/canonicalProductionWebVtt.js +60 -0
- package/lib/caption/canonicalProductionWebVtt.js.map +1 -0
- package/lib/caption/canonicalizeAutoMovieCaptionText.d.ts +18 -0
- package/lib/caption/canonicalizeAutoMovieCaptionText.js +24 -0
- package/lib/caption/canonicalizeAutoMovieCaptionText.js.map +1 -0
- package/lib/caption/escapeWebVttText.d.ts +17 -0
- package/lib/caption/escapeWebVttText.js +25 -0
- package/lib/caption/escapeWebVttText.js.map +1 -0
- package/lib/caption/index.d.ts +11 -0
- package/lib/caption/index.js +28 -0
- package/lib/caption/index.js.map +1 -0
- package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.d.ts +37 -0
- package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js +129 -0
- package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js.map +1 -0
- package/lib/caption/isAutoMovieWebVttIdentifier.d.ts +21 -0
- package/lib/caption/isAutoMovieWebVttIdentifier.js +28 -0
- package/lib/caption/isAutoMovieWebVttIdentifier.js.map +1 -0
- package/lib/caption/parseAutoMovieCaptionLanguage.d.ts +34 -0
- package/lib/caption/parseAutoMovieCaptionLanguage.js +121 -0
- package/lib/caption/parseAutoMovieCaptionLanguage.js.map +1 -0
- package/lib/caption/serializeAutoMovieWebVttCueText.d.ts +17 -0
- package/lib/caption/serializeAutoMovieWebVttCueText.js +27 -0
- package/lib/caption/serializeAutoMovieWebVttCueText.js.map +1 -0
- package/lib/caption/serializeAutoMovieWebVttIdentifier.d.ts +17 -0
- package/lib/caption/serializeAutoMovieWebVttIdentifier.js +27 -0
- package/lib/caption/serializeAutoMovieWebVttIdentifier.js.map +1 -0
- package/lib/caption/serializeAutoMovieWebVttSingleLineText.d.ts +19 -0
- package/lib/caption/serializeAutoMovieWebVttSingleLineText.js +26 -0
- package/lib/caption/serializeAutoMovieWebVttSingleLineText.js.map +1 -0
- package/lib/caption/webVttCaptionLanguage.d.ts +18 -0
- package/lib/caption/webVttCaptionLanguage.js +29 -0
- package/lib/caption/webVttCaptionLanguage.js.map +1 -0
- package/lib/caption/webVttTime.d.ts +19 -0
- package/lib/caption/webVttTime.js +30 -0
- package/lib/caption/webVttTime.js.map +1 -0
- package/lib/captionPlan.d.ts +1 -0
- package/lib/captionPlan.js +18 -0
- package/lib/captionPlan.js.map +1 -0
- package/lib/captionSidecar.d.ts +3 -0
- package/lib/captionSidecar.js +20 -0
- package/lib/captionSidecar.js.map +1 -0
- package/lib/captionSlice.d.ts +1 -0
- package/lib/captionSlice.js +18 -0
- package/lib/captionSlice.js.map +1 -0
- package/lib/chunkSequenceRender.d.ts +5 -0
- package/lib/chunkSequenceRender.js +22 -0
- package/lib/chunkSequenceRender.js.map +1 -0
- package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.d.ts +16 -0
- package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js +20 -0
- package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js.map +1 -0
- package/lib/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.d.ts +11 -0
- package/lib/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.js +14 -0
- package/lib/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.js.map +1 -0
- package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.d.ts +15 -0
- package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js +19 -0
- package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js.map +1 -0
- package/lib/delivery/AutoMovieProductionPngRole.d.ts +14 -0
- package/lib/delivery/AutoMovieProductionPngRole.js +3 -0
- package/lib/delivery/AutoMovieProductionPngRole.js.map +1 -0
- package/lib/delivery/IAutoMovieProductionPngProfile.d.ts +41 -0
- package/lib/delivery/IAutoMovieProductionPngProfile.js +3 -0
- package/lib/delivery/IAutoMovieProductionPngProfile.js.map +1 -0
- package/lib/delivery/IAutoMovieProductionVideoProfile.d.ts +46 -0
- package/lib/delivery/IAutoMovieProductionVideoProfile.js +3 -0
- package/lib/delivery/IAutoMovieProductionVideoProfile.js.map +1 -0
- package/lib/delivery/assertAutoMovieCaptureClock.d.ts +26 -0
- package/lib/delivery/assertAutoMovieCaptureClock.js +29 -0
- package/lib/delivery/assertAutoMovieCaptureClock.js.map +1 -0
- package/lib/delivery/assertProductionOpusProfile.d.ts +23 -0
- package/lib/delivery/assertProductionOpusProfile.js +160 -0
- package/lib/delivery/assertProductionOpusProfile.js.map +1 -0
- package/lib/delivery/assertProductionPngPicture.d.ts +24 -0
- package/lib/delivery/assertProductionPngPicture.js +47 -0
- package/lib/delivery/assertProductionPngPicture.js.map +1 -0
- package/lib/delivery/assertProductionVideoProfile.d.ts +30 -0
- package/lib/delivery/assertProductionVideoProfile.js +150 -0
- package/lib/delivery/assertProductionVideoProfile.js.map +1 -0
- package/lib/delivery/auditAutoMovieDecodedFrames.d.ts +56 -0
- package/lib/delivery/auditAutoMovieDecodedFrames.js +92 -0
- package/lib/delivery/auditAutoMovieDecodedFrames.js.map +1 -0
- package/lib/delivery/auditAutoMovieEncodedPresentation.d.ts +27 -0
- package/lib/delivery/auditAutoMovieEncodedPresentation.js +62 -0
- package/lib/delivery/auditAutoMovieEncodedPresentation.js.map +1 -0
- package/lib/delivery/index.d.ts +14 -0
- package/lib/delivery/index.js +31 -0
- package/lib/delivery/index.js.map +1 -0
- package/lib/delivery/planAutoMovieCaptureUrl.d.ts +18 -0
- package/lib/delivery/planAutoMovieCaptureUrl.js +31 -0
- package/lib/delivery/planAutoMovieCaptureUrl.js.map +1 -0
- package/lib/delivery/productionOpusDescription.d.ts +41 -0
- package/lib/delivery/productionOpusDescription.js +125 -0
- package/lib/delivery/productionOpusDescription.js.map +1 -0
- package/lib/delivery/resolveProductionPngProfile.d.ts +27 -0
- package/lib/delivery/resolveProductionPngProfile.js +53 -0
- package/lib/delivery/resolveProductionPngProfile.js.map +1 -0
- package/lib/delivery/resolveProductionVideoProfile.d.ts +27 -0
- package/lib/delivery/resolveProductionVideoProfile.js +36 -0
- package/lib/delivery/resolveProductionVideoProfile.js.map +1 -0
- package/lib/ffmpegArgs.d.ts +33 -0
- package/lib/ffmpegArgs.js +56 -0
- package/lib/ffmpegArgs.js.map +1 -0
- package/lib/film/AutoMovieOrderedScalar.d.ts +15 -0
- package/lib/film/AutoMovieOrderedScalar.js +3 -0
- package/lib/film/AutoMovieOrderedScalar.js.map +1 -0
- package/lib/film/IAutoMovieProductionAudioAssetIdentity.d.ts +28 -0
- package/lib/film/IAutoMovieProductionAudioAssetIdentity.js +3 -0
- package/lib/film/IAutoMovieProductionAudioAssetIdentity.js.map +1 -0
- package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.d.ts +29 -0
- package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.js +3 -0
- package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.js.map +1 -0
- package/lib/film/IAutoMovieProductionEncoderIdentity.d.ts +36 -0
- package/lib/film/IAutoMovieProductionEncoderIdentity.js +3 -0
- package/lib/film/IAutoMovieProductionEncoderIdentity.js.map +1 -0
- package/lib/film/IAutoMovieProductionRenderChunk.d.ts +39 -0
- package/lib/film/IAutoMovieProductionRenderChunk.js +3 -0
- package/lib/film/IAutoMovieProductionRenderChunk.js.map +1 -0
- package/lib/film/IAutoMovieProductionRenderJobPlan.d.ts +53 -0
- package/lib/film/IAutoMovieProductionRenderJobPlan.js +3 -0
- package/lib/film/IAutoMovieProductionRenderJobPlan.js.map +1 -0
- package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.d.ts +31 -0
- package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.js +3 -0
- package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.js.map +1 -0
- package/lib/film/IAutoMovieProductionRenderTier.d.ts +25 -0
- package/lib/film/IAutoMovieProductionRenderTier.js +3 -0
- package/lib/film/IAutoMovieProductionRenderTier.js.map +1 -0
- package/lib/film/assertSingleGuidePass.d.ts +19 -0
- package/lib/film/assertSingleGuidePass.js +35 -0
- package/lib/film/assertSingleGuidePass.js.map +1 -0
- package/lib/film/equalOrderedScalars.d.ts +27 -0
- package/lib/film/equalOrderedScalars.js +52 -0
- package/lib/film/equalOrderedScalars.js.map +1 -0
- package/lib/film/index.d.ts +9 -0
- package/lib/film/index.js +26 -0
- package/lib/film/index.js.map +1 -0
- package/lib/film/normalizeAudioAssets.d.ts +21 -0
- package/lib/film/normalizeAudioAssets.js +56 -0
- package/lib/film/normalizeAudioAssets.js.map +1 -0
- package/lib/film/normalizeRenderTier.d.ts +19 -0
- package/lib/film/normalizeRenderTier.js +45 -0
- package/lib/film/normalizeRenderTier.js.map +1 -0
- package/lib/film/planProductionRenderJob.d.ts +48 -0
- package/lib/film/planProductionRenderJob.js +196 -0
- package/lib/film/planProductionRenderJob.js.map +1 -0
- package/lib/film/productionVisualDeliveryOccurrence.d.ts +20 -0
- package/lib/film/productionVisualDeliveryOccurrence.js +24 -0
- package/lib/film/productionVisualDeliveryOccurrence.js.map +1 -0
- package/lib/film/resolveProductionRenderTierFrameFormat.d.ts +21 -0
- package/lib/film/resolveProductionRenderTierFrameFormat.js +46 -0
- package/lib/film/resolveProductionRenderTierFrameFormat.js.map +1 -0
- package/lib/film/validDigest.d.ts +18 -0
- package/lib/film/validDigest.js +25 -0
- package/lib/film/validDigest.js.map +1 -0
- package/lib/film/validWaveAudioIdentity.d.ts +25 -0
- package/lib/film/validWaveAudioIdentity.js +76 -0
- package/lib/film/validWaveAudioIdentity.js.map +1 -0
- package/lib/frameName.d.ts +19 -0
- package/lib/frameName.js +24 -0
- package/lib/frameName.js.map +1 -0
- package/lib/framePattern.d.ts +16 -0
- package/lib/framePattern.js +21 -0
- package/lib/framePattern.js.map +1 -0
- package/lib/frameTimes.d.ts +20 -0
- package/lib/frameTimes.js +33 -0
- package/lib/frameTimes.js.map +1 -0
- package/lib/guidePassFrameName.d.ts +15 -0
- package/lib/guidePassFrameName.js +21 -0
- package/lib/guidePassFrameName.js.map +1 -0
- package/lib/guidePassFramePattern.d.ts +15 -0
- package/lib/guidePassFramePattern.js +21 -0
- package/lib/guidePassFramePattern.js.map +1 -0
- package/lib/guidePasses.d.ts +7 -0
- package/lib/guidePasses.js +24 -0
- package/lib/guidePasses.js.map +1 -0
- package/lib/guidePassesInternal/passExtension.d.ts +14 -0
- package/lib/guidePassesInternal/passExtension.js +18 -0
- package/lib/guidePassesInternal/passExtension.js.map +1 -0
- package/lib/index.d.ts +69 -0
- package/lib/index.js +86 -0
- package/lib/index.js.map +1 -0
- package/lib/isGuidePass.d.ts +15 -0
- package/lib/isGuidePass.js +20 -0
- package/lib/isGuidePass.js.map +1 -0
- package/lib/normalizeGuidePasses.d.ts +15 -0
- package/lib/normalizeGuidePasses.js +32 -0
- package/lib/normalizeGuidePasses.js.map +1 -0
- package/lib/planCaptionSidecar.d.ts +23 -0
- package/lib/planCaptionSidecar.js +56 -0
- package/lib/planCaptionSidecar.js.map +1 -0
- package/lib/planChunkedSequenceRender.d.ts +26 -0
- package/lib/planChunkedSequenceRender.js +132 -0
- package/lib/planChunkedSequenceRender.js.map +1 -0
- package/lib/planGuidePassOutputs.d.ts +19 -0
- package/lib/planGuidePassOutputs.js +31 -0
- package/lib/planGuidePassOutputs.js.map +1 -0
- package/lib/planPoseKeypointSidecar.d.ts +27 -0
- package/lib/planPoseKeypointSidecar.js +141 -0
- package/lib/planPoseKeypointSidecar.js.map +1 -0
- package/lib/planSequenceRender.d.ts +20 -0
- package/lib/planSequenceRender.js +99 -0
- package/lib/planSequenceRender.js.map +1 -0
- package/lib/planViewerFrameTimes.d.ts +33 -0
- package/lib/planViewerFrameTimes.js +74 -0
- package/lib/planViewerFrameTimes.js.map +1 -0
- package/lib/renderAndSee.d.ts +14 -0
- package/lib/renderAndSee.js +22 -0
- package/lib/renderAndSee.js.map +1 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.d.ts +41 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.js +3 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.js.map +1 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.d.ts +53 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.js +3 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.js.map +1 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.d.ts +27 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.js +3 -0
- package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.js.map +1 -0
- package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.d.ts +28 -0
- package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js +77 -0
- package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js.map +1 -0
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.d.ts +23 -0
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js +55 -0
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js.map +1 -0
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.d.ts +17 -0
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js +51 -0
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js.map +1 -0
- package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.d.ts +22 -0
- package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js +32 -0
- package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js.map +1 -0
- package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.d.ts +23 -0
- package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js +35 -0
- package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js.map +1 -0
- package/lib/renderBudgetPreflight/index.d.ts +9 -0
- package/lib/renderBudgetPreflight/index.js +26 -0
- package/lib/renderBudgetPreflight/index.js.map +1 -0
- package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.d.ts +18 -0
- package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.js +22 -0
- package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.js.map +1 -0
- package/lib/renderCaptionSidecar.d.ts +13 -0
- package/lib/renderCaptionSidecar.js +17 -0
- package/lib/renderCaptionSidecar.js.map +1 -0
- package/lib/renderObservationAudit.d.ts +1 -0
- package/lib/renderObservationAudit.js +18 -0
- package/lib/renderObservationAudit.js.map +1 -0
- package/lib/renderPathStem.d.ts +22 -0
- package/lib/renderPathStem.js +64 -0
- package/lib/renderPathStem.js.map +1 -0
- package/lib/renderPoseKeypointSidecar.d.ts +15 -0
- package/lib/renderPoseKeypointSidecar.js +19 -0
- package/lib/renderPoseKeypointSidecar.js.map +1 -0
- package/lib/renderSequenceAndSee.d.ts +14 -0
- package/lib/renderSequenceAndSee.js +32 -0
- package/lib/renderSequenceAndSee.js.map +1 -0
- package/lib/renderSequenceVideo.d.ts +15 -0
- package/lib/renderSequenceVideo.js +35 -0
- package/lib/renderSequenceVideo.js.map +1 -0
- package/lib/renderVideo.d.ts +17 -0
- package/lib/renderVideo.js +45 -0
- package/lib/renderVideo.js.map +1 -0
- package/lib/screenplay/index.d.ts +1 -0
- package/lib/screenplay/index.js +18 -0
- package/lib/screenplay/index.js.map +1 -0
- package/lib/screenplay/renderScreenplay.d.ts +25 -0
- package/lib/screenplay/renderScreenplay.js +101 -0
- package/lib/screenplay/renderScreenplay.js.map +1 -0
- package/lib/screenplay/screenplaySceneSlug.d.ts +17 -0
- package/lib/screenplay/screenplaySceneSlug.js +21 -0
- package/lib/screenplay/screenplaySceneSlug.js.map +1 -0
- package/lib/sequenceRenderPlan.d.ts +5 -0
- package/lib/sequenceRenderPlan.js +22 -0
- package/lib/sequenceRenderPlan.js.map +1 -0
- package/lib/sequenceRenderVideo.d.ts +6 -0
- package/lib/sequenceRenderVideo.js +23 -0
- package/lib/sequenceRenderVideo.js.map +1 -0
- package/lib/shotBeat.d.ts +18 -0
- package/lib/shotBeat.js +23 -0
- package/lib/shotBeat.js.map +1 -0
- package/lib/sliceCaptionSidecar.d.ts +15 -0
- package/lib/sliceCaptionSidecar.js +57 -0
- package/lib/sliceCaptionSidecar.js.map +1 -0
- package/package.json +46 -3
- package/src/AUTOMOVIE_GUIDE_PASSES.ts +19 -0
- package/src/IAutoMovieCaptionEntry.ts +32 -0
- package/src/IAutoMovieCaptionSidecar.ts +29 -0
- package/src/IAutoMovieCapturedFrame.ts +24 -0
- package/src/IAutoMovieGuidePassOutput.ts +27 -0
- package/src/IAutoMoviePoseKeypointActor.ts +39 -0
- package/src/IAutoMoviePoseKeypointFrame.ts +28 -0
- package/src/IAutoMoviePoseKeypointSidecar.ts +25 -0
- package/src/IAutoMovieRenderAdapters.ts +39 -0
- package/src/IAutoMovieRenderAndSeeRequest.ts +38 -0
- package/src/IAutoMovieRenderAndSeeResult.ts +23 -0
- package/src/IAutoMovieRenderChunk.ts +62 -0
- package/src/IAutoMovieRenderChunkPlan.ts +40 -0
- package/src/IAutoMovieRenderPassManifest.ts +25 -0
- package/src/IAutoMovieRenderReassembly.ts +28 -0
- package/src/IAutoMovieRenderResult.ts +46 -0
- package/src/IAutoMovieSequenceRenderAdapters.ts +41 -0
- package/src/IAutoMovieSequenceRenderAndSeeRequest.ts +47 -0
- package/src/IAutoMovieSequenceRenderAndSeeResult.ts +23 -0
- package/src/IAutoMovieSequenceRenderFrame.ts +48 -0
- package/src/IAutoMovieSequenceRenderPlan.ts +88 -0
- package/src/IAutoMovieSequenceRenderResult.ts +52 -0
- package/src/IAutoMovieSequenceRenderShotSpan.ts +46 -0
- package/src/IAutoMovieSequenceRenderTransitionSpan.ts +46 -0
- package/src/audio/encodeAutoMovieWavPcm16.ts +65 -0
- package/src/audio/index.ts +2 -0
- package/src/audio/mixAutoMovieAudioPcm.ts +137 -0
- package/src/auditAutoMovieRenderObservation.ts +79 -0
- package/src/cache/createAutoMovieHttpArtifactStore.ts +84 -0
- package/src/caption/IAutoMovieBeatCaption.ts +23 -0
- package/src/caption/autoMovieCaptionLanguageComparisonKey.ts +23 -0
- package/src/caption/beatCaptions.ts +59 -0
- package/src/caption/canonicalProductionWebVtt.ts +76 -0
- package/src/caption/canonicalizeAutoMovieCaptionText.ts +24 -0
- package/src/caption/escapeWebVttText.ts +23 -0
- package/src/caption/index.ts +11 -0
- package/src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts +231 -0
- package/src/caption/isAutoMovieWebVttIdentifier.ts +26 -0
- package/src/caption/parseAutoMovieCaptionLanguage.ts +160 -0
- package/src/caption/serializeAutoMovieWebVttCueText.ts +28 -0
- package/src/caption/serializeAutoMovieWebVttIdentifier.ts +27 -0
- package/src/caption/serializeAutoMovieWebVttSingleLineText.ts +26 -0
- package/src/caption/webVttCaptionLanguage.ts +30 -0
- package/src/caption/webVttTime.ts +30 -0
- package/src/captionPlan.ts +1 -0
- package/src/captionSidecar.ts +3 -0
- package/src/captionSlice.ts +1 -0
- package/src/chunkSequenceRender.ts +5 -0
- package/src/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.ts +21 -0
- package/src/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.ts +14 -0
- package/src/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.ts +28 -0
- package/src/delivery/AutoMovieProductionPngRole.ts +18 -0
- package/src/delivery/IAutoMovieProductionPngProfile.ts +52 -0
- package/src/delivery/IAutoMovieProductionVideoProfile.ts +48 -0
- package/src/delivery/assertAutoMovieCaptureClock.ts +37 -0
- package/src/delivery/assertProductionOpusProfile.ts +179 -0
- package/src/delivery/assertProductionPngPicture.ts +62 -0
- package/src/delivery/assertProductionVideoProfile.ts +180 -0
- package/src/delivery/auditAutoMovieDecodedFrames.ts +157 -0
- package/src/delivery/auditAutoMovieEncodedPresentation.ts +86 -0
- package/src/delivery/index.ts +14 -0
- package/src/delivery/planAutoMovieCaptureUrl.ts +32 -0
- package/src/delivery/productionOpusDescription.ts +173 -0
- package/src/delivery/resolveProductionPngProfile.ts +70 -0
- package/src/delivery/resolveProductionVideoProfile.ts +48 -0
- package/src/ffmpegArgs.ts +61 -0
- package/src/film/AutoMovieOrderedScalar.ts +15 -0
- package/src/film/IAutoMovieProductionAudioAssetIdentity.ts +40 -0
- package/src/film/IAutoMovieProductionAudioAssetIdentityBase.ts +34 -0
- package/src/film/IAutoMovieProductionEncoderIdentity.ts +42 -0
- package/src/film/IAutoMovieProductionRenderChunk.ts +47 -0
- package/src/film/IAutoMovieProductionRenderJobPlan.ts +73 -0
- package/src/film/IAutoMovieProductionRenderRuntimeIdentity.ts +37 -0
- package/src/film/IAutoMovieProductionRenderTier.ts +27 -0
- package/src/film/assertSingleGuidePass.ts +38 -0
- package/src/film/equalOrderedScalars.ts +56 -0
- package/src/film/index.ts +9 -0
- package/src/film/normalizeAudioAssets.ts +74 -0
- package/src/film/normalizeRenderTier.ts +51 -0
- package/src/film/planProductionRenderJob.ts +353 -0
- package/src/film/productionVisualDeliveryOccurrence.ts +28 -0
- package/src/film/resolveProductionRenderTierFrameFormat.ts +60 -0
- package/src/film/validDigest.ts +23 -0
- package/src/film/validWaveAudioIdentity.ts +88 -0
- package/src/frameName.ts +24 -0
- package/src/framePattern.ts +19 -0
- package/src/frameTimes.ts +36 -0
- package/src/guidePassFrameName.ts +29 -0
- package/src/guidePassFramePattern.ts +27 -0
- package/src/guidePasses.ts +7 -0
- package/src/guidePassesInternal/passExtension.ts +19 -0
- package/src/index.ts +69 -0
- package/src/isGuidePass.ts +21 -0
- package/src/normalizeGuidePasses.ts +33 -0
- package/src/planCaptionSidecar.ts +98 -0
- package/src/planChunkedSequenceRender.ts +200 -0
- package/src/planGuidePassOutputs.ts +47 -0
- package/src/planPoseKeypointSidecar.ts +289 -0
- package/src/planSequenceRender.ts +175 -0
- package/src/planViewerFrameTimes.ts +98 -0
- package/src/renderAndSee.ts +30 -0
- package/src/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.ts +53 -0
- package/src/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.ts +61 -0
- package/src/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.ts +29 -0
- package/src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts +137 -0
- package/src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts +100 -0
- package/src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts +82 -0
- package/src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts +40 -0
- package/src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts +59 -0
- package/src/renderBudgetPreflight/index.ts +9 -0
- package/src/renderBudgetPreflight/selectAutoMovieRenderBudget.ts +28 -0
- package/src/renderCaptionSidecar.ts +17 -0
- package/src/renderObservationAudit.ts +1 -0
- package/src/renderPathStem.ts +61 -0
- package/src/renderPoseKeypointSidecar.ts +19 -0
- package/src/renderSequenceAndSee.ts +34 -0
- package/src/renderSequenceVideo.ts +44 -0
- package/src/renderVideo.ts +65 -0
- package/src/screenplay/index.ts +1 -0
- package/src/screenplay/renderScreenplay.ts +128 -0
- package/src/screenplay/screenplaySceneSlug.ts +29 -0
- package/src/sequenceRenderPlan.ts +5 -0
- package/src/sequenceRenderVideo.ts +6 -0
- package/src/shotBeat.ts +19 -0
- package/src/sliceCaptionSidecar.ts +85 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { IAutoMovieGuidePassOutput } from "./guidePasses";
|
|
2
|
+
import { IAutoMovieSequenceRenderFrame } from "./sequenceRenderPlan";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* One independently renderable slice of a sequence render: a contiguous range of the whole plan's output frames with its own frame directory, paths and encoder invocation.
|
|
6
|
+
*
|
|
7
|
+
* A host can capture and encode one chunk at a time to limit each window's frame files; this declaration and the planner do not execute or bound that host's processes.
|
|
8
|
+
*
|
|
9
|
+
* @evidence contracts/development/design.md#principled-representation A chunk is a half-open range `[frameStart, frameEnd)` of global output indices with chunk-local file indices, so concatenating chunks in `index` order reproduces the whole schedule and every chunk's frame files start at `frame_00000`.
|
|
10
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The chunk repeats the whole plan's per-render fields (frame directory, first and last frame, input pattern, output path, ffmpeg arguments) so a host renders it with the same code path as an unchunked plan.
|
|
11
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts Every sample field of a chunk frame is copied from the whole plan rather than recomputed, so a chunk cannot render differently from the same frames of the unchunked plan, and no chunk position is special-cased.
|
|
12
|
+
* @evidence contracts/development/common.md#meaningful-documentation The prose states what a chunk is for; members give the inclusive and exclusive bounds, the global and chunk-local frames of reference, and when the guide-pass field is present.
|
|
13
|
+
*/
|
|
14
|
+
export interface IAutoMovieRenderChunk {
|
|
15
|
+
/** Zero-based chunk ordinal in capture and concatenation order. */
|
|
16
|
+
index: number;
|
|
17
|
+
|
|
18
|
+
/** First global output frame index in this chunk, inclusive. */
|
|
19
|
+
frameStart: number;
|
|
20
|
+
|
|
21
|
+
/** One past the last global output frame index in this chunk, exclusive. */
|
|
22
|
+
frameEnd: number;
|
|
23
|
+
|
|
24
|
+
/** Number of frames in this chunk, `frameEnd - frameStart`. */
|
|
25
|
+
frameCount: number;
|
|
26
|
+
|
|
27
|
+
/** Global output time of this chunk's first frame, in seconds. */
|
|
28
|
+
startSeconds: number;
|
|
29
|
+
|
|
30
|
+
/** Global output time of this chunk's last frame, in seconds. */
|
|
31
|
+
endSeconds: number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The chunk's frames. Each carries a chunk-local {@link IAutoMovieSequenceRenderFrame.index} and `path`, while every sample field (`timeSeconds`, `shot`, `shotTimeSeconds`, `blend`) is copied from the whole plan, preserving the same sampling inputs as those unchunked frames.
|
|
35
|
+
*/
|
|
36
|
+
frames: IAutoMovieSequenceRenderFrame[];
|
|
37
|
+
|
|
38
|
+
/** Directory this chunk's frame files are written to. */
|
|
39
|
+
frameDir: string;
|
|
40
|
+
|
|
41
|
+
/** Path of the chunk's first frame file. */
|
|
42
|
+
firstFrame: string;
|
|
43
|
+
|
|
44
|
+
/** Path of the chunk's last frame file. */
|
|
45
|
+
lastFrame: string;
|
|
46
|
+
|
|
47
|
+
/** Ffmpeg input pattern matching this chunk's frame files. */
|
|
48
|
+
inputPattern: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* This chunk's encoded video path: the whole plan's output path tagged with the chunk label before its extension.
|
|
52
|
+
*/
|
|
53
|
+
outputPath: string;
|
|
54
|
+
|
|
55
|
+
/** Exact ffmpeg argument vector that encodes this chunk's frames. */
|
|
56
|
+
ffmpegArgs: string[];
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Per-pass output locations inside this chunk's frame directory, with chunk-local indices; present only when the plan requested guide passes. The `beauty` pass's untagged paths coincide with {@link frames}' paths, because it is the base capture, and tagged passes sit beside them, such as `frame_00000.depth.png`.
|
|
60
|
+
*/
|
|
61
|
+
passOutputs?: IAutoMovieGuidePassOutput[];
|
|
62
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { IAutoMovieRenderChunk } from "./IAutoMovieRenderChunk";
|
|
2
|
+
import type { IAutoMovieRenderPassManifest } from "./IAutoMovieRenderPassManifest";
|
|
3
|
+
import type { IAutoMovieRenderReassembly } from "./IAutoMovieRenderReassembly";
|
|
4
|
+
import { IAutoMovieSequenceRenderPlan } from "./sequenceRenderPlan";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A long sequence render split into independently renderable chunks plus the plan to reassemble them.
|
|
8
|
+
*
|
|
9
|
+
* @evidence contracts/development/design.md#principled-representation The plan keeps the whole render's identity, rate and frame total beside the chunks, so a host can check that the chunks cover the render before reassembling it.
|
|
10
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Chunks, the video reassembly and the optional pass manifests are separate fields because the beauty video and tagged frame sequences finish differently.
|
|
11
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts Absent `passManifests` means no passes were requested, and the plan carries no host-specific field.
|
|
12
|
+
* @evidence contracts/development/common.md#meaningful-documentation The prose states what the plan holds; members state what is copied from the whole plan, the shorter last chunk, and when pass manifests are present and how beauty and tagged passes finish.
|
|
13
|
+
*/
|
|
14
|
+
export interface IAutoMovieRenderChunkPlan {
|
|
15
|
+
/** Render target identity, copied from the whole plan. */
|
|
16
|
+
target: IAutoMovieSequenceRenderPlan["target"];
|
|
17
|
+
|
|
18
|
+
/** Output frames per second, copied from the whole plan. */
|
|
19
|
+
renderFps: number;
|
|
20
|
+
|
|
21
|
+
/** Total output frames across all chunks, equal to the whole plan's. */
|
|
22
|
+
frameCount: number;
|
|
23
|
+
|
|
24
|
+
/** Frames per chunk; the last chunk may be shorter. */
|
|
25
|
+
chunkFrames: number;
|
|
26
|
+
|
|
27
|
+
/** Number of chunks, `ceil(frameCount / chunkFrames)`. */
|
|
28
|
+
chunkCount: number;
|
|
29
|
+
|
|
30
|
+
/** The chunks, in capture order. */
|
|
31
|
+
chunks: IAutoMovieRenderChunk[];
|
|
32
|
+
|
|
33
|
+
/** How to stitch the chunk videos into the final video. */
|
|
34
|
+
reassembly: IAutoMovieRenderReassembly;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Per-pass whole-timeline walk orders, present only when guide passes were requested. The `beauty` pass has a video-concatenation plan through {@link reassembly}; tagged passes remain frame sequences whose walk order describes their reassembly for a consuming host.
|
|
38
|
+
*/
|
|
39
|
+
passManifests?: IAutoMovieRenderPassManifest[];
|
|
40
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AutoMovieGuidePass } from "@automovie/interface";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* One guide pass's whole-timeline walk order across the chunks: how a host visits every frame of the pass without a video concatenation.
|
|
5
|
+
*
|
|
6
|
+
* Tagged passes end as frame sequences, so this manifest describes their reassembly; the per-chunk input patterns let a host that wants a video encode one per chunk.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/development/design.md#principled-representation Two arrays parallel to the chunk list describe the walk, because the chunk directories already order the frames and the pass tag only changes the file pattern inside each directory.
|
|
9
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The manifest carries only directories, patterns and the total, and leaves frame-level paths to each chunk's `passOutputs`.
|
|
10
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The beauty pass gets a manifest like every other pass, and no pass name is treated specially here; the beauty pass additionally reassembles as video through the concat plan.
|
|
11
|
+
* @evidence contracts/development/common.md#meaningful-documentation The prose states that this is how a tagged pass is reassembled and why patterns are included; members state order, parallelism and the frame total.
|
|
12
|
+
*/
|
|
13
|
+
export interface IAutoMovieRenderPassManifest {
|
|
14
|
+
/** The guide pass this manifest walks. */
|
|
15
|
+
pass: AutoMovieGuidePass;
|
|
16
|
+
|
|
17
|
+
/** Chunk frame directories in play order. */
|
|
18
|
+
chunkFrameDirs: string[];
|
|
19
|
+
|
|
20
|
+
/** Per-chunk ffmpeg input patterns for this pass, parallel to {@link chunkFrameDirs}. */
|
|
21
|
+
inputPatterns: string[];
|
|
22
|
+
|
|
23
|
+
/** Total frames of the pass across all chunks, equal to the plan's frame count. */
|
|
24
|
+
frameCount: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The plan for stitching encoded chunk videos back into one video with ffmpeg's concat demuxer and stream copy.
|
|
3
|
+
*
|
|
4
|
+
* The host writes `concatListLines` to `concatListPath` and runs ffmpeg with `ffmpegArgs`. The list holds chunk basenames because the demuxer resolves a relative entry against the list file's directory, which is also the chunk outputs' directory. Successful stream-copy concatenation requires the host's actual encoded streams to be compatible; a planned argument vector alone does not prove that condition.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/design.md#principled-representation The concat demuxer and stream-copy arguments request joining without re-encoding, under the host's premise that actual chunk streams have compatible parameters. The planner supplies one render spec for their argument vectors but does not inspect encoded bytes here; basename entries resolve relative to the list file's directory.
|
|
7
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The plan gives the list path, its exact lines and the argument vector, so the host only writes one file and spawns one process with no path logic of its own.
|
|
8
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts `-safe 0` is ffmpeg's documented switch for accepting arbitrary entry names, needed because chunk basenames may contain characters the safe mode rejects, and no output name is special-cased.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation The prose states the host's two steps and why entries are basenames; members state order, the line format and that the arguments copy streams.
|
|
10
|
+
*/
|
|
11
|
+
export interface IAutoMovieRenderReassembly {
|
|
12
|
+
/** Final video path, the whole plan's `outputPath`. */
|
|
13
|
+
outputPath: string;
|
|
14
|
+
|
|
15
|
+
/** Chunk output video paths, in play order. */
|
|
16
|
+
chunkOutputs: string[];
|
|
17
|
+
|
|
18
|
+
/** Path of the concat-demuxer list file the host writes, beside the output. */
|
|
19
|
+
concatListPath: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Lines of that list, `file '<basename>'` with each apostrophe escaped, in play order.
|
|
23
|
+
*/
|
|
24
|
+
concatListLines: string[];
|
|
25
|
+
|
|
26
|
+
/** Ffmpeg argument vector that concatenates the chunk videos with stream copy. */
|
|
27
|
+
ffmpegArgs: string[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { IAutoMovieCapturedFrame } from "./IAutoMovieCapturedFrame";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The outcome of a render: encoded video plus frame metadata an agent can inspect without inferring paths from the ffmpeg pattern.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/design.md#principled-representation The encoded output path is accompanied by the half-open sample schedule and frame records, retaining encode order and the exact encoder argument vector.
|
|
7
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface One result envelope supplies both direct clip rendering and the inspectable render wrapper without another path inference layer.
|
|
8
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The result exposes host-returned output and frame paths; its type makes no claim that an encoder succeeded beyond the callback outcome.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Members explain seconds, frame ordering, directory, input pattern and the distinction between adapter output and requested paths.
|
|
10
|
+
*/
|
|
11
|
+
export interface IAutoMovieRenderResult {
|
|
12
|
+
/**
|
|
13
|
+
* Path to the encoded video (the adapter's `encode` output).
|
|
14
|
+
*/
|
|
15
|
+
output: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Number of frames captured and encoded.
|
|
19
|
+
*/
|
|
20
|
+
frameCount: number;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The clip-local sample instants, one per frame (`t = i / fps`).
|
|
24
|
+
*/
|
|
25
|
+
times: number[];
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Captured frame artifacts in encode order.
|
|
29
|
+
*/
|
|
30
|
+
frames: IAutoMovieCapturedFrame[];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Directory passed to each `captureFrame` call.
|
|
34
|
+
*/
|
|
35
|
+
frameDir: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Ffmpeg input pattern used to encode the frame sequence.
|
|
39
|
+
*/
|
|
40
|
+
inputPattern: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Exact ffmpeg argument vector handed to the encode adapter.
|
|
44
|
+
*/
|
|
45
|
+
ffmpegArgs: string[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IAutoMovieSequenceRenderFrame } from "./IAutoMovieSequenceRenderFrame";
|
|
2
|
+
import { IAutoMovieSequenceRenderPlan } from "./IAutoMovieSequenceRenderPlan";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Host I/O for sequence rendering. The capture adapter receives the resolved sequence frame sample, including the live shot local time and optional outgoing blend tail; drawing pixels remains the host's job.
|
|
6
|
+
*
|
|
7
|
+
* @evidence contracts/development/design.md#principled-representation Sequence capture receives the fully resolved frame and the same manifest used for encoding, including outgoing blend tails.
|
|
8
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface These callbacks separate host drawing and encoder effects from deterministic sequence playback resolution.
|
|
9
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The declared callbacks are public host seams and do not replace renderer globals or hidden engine state.
|
|
10
|
+
* @evidence contracts/development/common.md#meaningful-documentation Capture returns the actual written frame path and encode returns the actual video path, with all frame timing supplied by the plan.
|
|
11
|
+
*/
|
|
12
|
+
export interface IAutoMovieSequenceRenderAdapters {
|
|
13
|
+
/**
|
|
14
|
+
* Capture one resolved sequence frame and return the written frame path.
|
|
15
|
+
*
|
|
16
|
+
* @evidence contracts/development/implementation.md#principled-implementation renderSequenceVideo passes each prepared frame and the same sequence manifest, awaiting capture in plan order. The frame includes shot-local timing and any outgoing blend tail; the host draws those inputs and returns its reported written path without an independent pixel or filesystem check here.
|
|
17
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One resolved frame plus its shared manifest exposes sequence semantics without moving cut resolution or playback arithmetic into this callback declaration.
|
|
18
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The supplied capture operation is the declared host seam; rejection stops execution before encoding, with no missing-shot fallback or fabricated successful frame.
|
|
19
|
+
* @evidence contracts/development/common.md#meaningful-documentation The member identifies a resolved frame, shared manifest and reported destination. Implementations must keep these shared plan inputs stable during rendering and honor the frame's shot and blend semantics; the returned path alone does not prove capture.
|
|
20
|
+
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms This erased signature selects no scene or blend rendering algorithm. renderSequenceVideo owns O(F) scheduling and shallow metadata copies; the host owns actual per-frame drawing and writing cost.
|
|
21
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The declaration coordinates no capture cache. The orchestration shares one unchanged manifest across calls, while each scheduled capture remains a distinct host effect whose reuse needs host-specific equivalence.
|
|
22
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources This erased member acquires no drawing session or file. The concrete host owns capture resources and failure cleanup; renderSequenceVideo preserves supplied sample fields with the reported path in its caller-owned result records.
|
|
23
|
+
*/
|
|
24
|
+
captureFrame: (
|
|
25
|
+
frame: IAutoMovieSequenceRenderFrame,
|
|
26
|
+
plan: IAutoMovieSequenceRenderPlan,
|
|
27
|
+
) => Promise<string>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Encode the captured frame sequence and return the encoded output path.
|
|
31
|
+
*
|
|
32
|
+
* @evidence contracts/development/implementation.md#principled-implementation renderSequenceVideo invokes this capability once after all prepared frames capture successfully, passing the manifest's exact ffmpegArgs and outputPath. The host performs encoding and returns its reported output, whose container and pixels are not independently validated by this orchestration.
|
|
33
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One encoder promise consumes planned sequence arguments, leaving manifest construction with planSequenceRender and actual codec execution with the host.
|
|
34
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts This public effect seam does not replace a global encoder. Its rejection propagates, and sequence identity or output naming cannot turn an unencoded result into successful orchestration metadata.
|
|
35
|
+
* @evidence contracts/development/common.md#meaningful-documentation The member states captured-sequence encoding and returned destination; the host must keep shared manifest arguments stable and complete encoding before resolving, while this signature cannot prove actual output bytes.
|
|
36
|
+
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms This erased member chooses no encoder algorithm. Input frame reads, compression and output writes belong to the concrete host; renderSequenceVideo only schedules and awaits one encode call.
|
|
37
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The signature coordinates no shared encoding work; the host needs complete input and encoding equivalence before reuse, and the sequence orchestrator performs one encode per attempt.
|
|
38
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources This erased member opens no process or stream. The host owns encoder lifetime and cleanup on completion or rejection; the orchestrator returns the reported path alongside the shared manifest and caller-owned frame metadata.
|
|
39
|
+
*/
|
|
40
|
+
encode: (args: string[], outputPath: string) => Promise<string>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IAutoMovieRenderSpec,
|
|
3
|
+
IAutoMovieSequence,
|
|
4
|
+
IAutoMovieShot,
|
|
5
|
+
} from "@automovie/interface";
|
|
6
|
+
|
|
7
|
+
import type { IAutoMovieSequenceRenderAdapters } from "./IAutoMovieSequenceRenderAdapters";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Host-supplied request for building a sequence manifest and rendering it.
|
|
11
|
+
*
|
|
12
|
+
* @evidence contracts/development/design.md#principled-representation A committed sequence, its shots and a render spec provide the editorial and output inputs, while paths and adapters identify host execution effects.
|
|
13
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The agent-facing request groups planning inputs and capture ownership without embedding a renderer in the cut representation.
|
|
14
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The target-equality contract prevents rendering an unrelated sequence under a different target identity.
|
|
15
|
+
* @evidence contracts/development/common.md#meaningful-documentation Properties name committed shot references, target equality, frame and video destinations and host-owned adapters.
|
|
16
|
+
*/
|
|
17
|
+
export interface IAutoMovieSequenceRenderAndSeeRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Sequence being rendered.
|
|
20
|
+
*/
|
|
21
|
+
sequence: IAutoMovieSequence;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Committed shots referenced by the sequence.
|
|
25
|
+
*/
|
|
26
|
+
shots: IAutoMovieShot[];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Render parameters whose target must equal `sequence.id`.
|
|
30
|
+
*/
|
|
31
|
+
spec: IAutoMovieRenderSpec;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Directory where captured frames are written.
|
|
35
|
+
*/
|
|
36
|
+
frameDir: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Requested encoded video path.
|
|
40
|
+
*/
|
|
41
|
+
outputPath: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Capture and encode adapters owned by the host.
|
|
45
|
+
*/
|
|
46
|
+
adapters: IAutoMovieSequenceRenderAdapters;
|
|
47
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IAutoMovieRenderSpec } from "@automovie/interface";
|
|
2
|
+
|
|
3
|
+
import type { IAutoMovieSequenceRenderResult } from "./IAutoMovieSequenceRenderResult";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* JSON-friendly sequence render artifact.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/development/design.md#principled-representation The sequence outcome adds a shallow render-spec snapshot and the authored sequence id and fps so output sampling remains distinguishable from editorial intent.
|
|
9
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The wrapper extends executed sequence metadata rather than redefining capture records or plan fields.
|
|
10
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The sequence snapshot reports authored fps even when the output spec requests a different sampling rate.
|
|
11
|
+
* @evidence contracts/development/common.md#meaningful-documentation Added member comments name the render spec snapshot and sequence identity with authored fps; inherited members define captured artifacts.
|
|
12
|
+
*/
|
|
13
|
+
export interface IAutoMovieSequenceRenderAndSeeResult extends IAutoMovieSequenceRenderResult {
|
|
14
|
+
/**
|
|
15
|
+
* Render spec snapshot used for the sequence render.
|
|
16
|
+
*/
|
|
17
|
+
spec: IAutoMovieRenderSpec;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Sequence identity and authored fps snapshot.
|
|
21
|
+
*/
|
|
22
|
+
sequence: { id: string; fps: number };
|
|
23
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A sequence frame sample ready for a render host.
|
|
3
|
+
*
|
|
4
|
+
* @evidence contracts/development/design.md#principled-representation One output index and global sample time resolve to a shot-local time and an optional outgoing tail with incoming blend weight.
|
|
5
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface This record carries the engine-resolved playback decision directly to capture, keeping editorial logic out of host adapters.
|
|
6
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts A hard cut is explicitly null rather than a manufactured blend, and outgoing samples preserve their own shot identity and local second.
|
|
7
|
+
* @evidence contracts/development/common.md#meaningful-documentation Properties specify zero-based indexing, global and local seconds, destination path, null hard cuts and incoming alpha in the half-open unit interval.
|
|
8
|
+
*/
|
|
9
|
+
export interface IAutoMovieSequenceRenderFrame {
|
|
10
|
+
/**
|
|
11
|
+
* Zero-based output frame index.
|
|
12
|
+
*/
|
|
13
|
+
index: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Global output sample time in seconds.
|
|
17
|
+
*/
|
|
18
|
+
timeSeconds: number;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Frame path that the capture host should write.
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Live shot id at this output frame.
|
|
27
|
+
*/
|
|
28
|
+
shot: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Live shot-local time in seconds.
|
|
32
|
+
*/
|
|
33
|
+
shotTimeSeconds: number;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Outgoing tail blended into this frame, or `null` for a hard cut.
|
|
37
|
+
*/
|
|
38
|
+
blend: {
|
|
39
|
+
/** Outgoing shot id. */
|
|
40
|
+
shot: string;
|
|
41
|
+
|
|
42
|
+
/** Outgoing shot-local time in seconds. */
|
|
43
|
+
shotTimeSeconds: number;
|
|
44
|
+
|
|
45
|
+
/** Incoming weight in `[0, 1)`. */
|
|
46
|
+
alpha: number;
|
|
47
|
+
} | null;
|
|
48
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { IAutoMovieSequenceRenderFrame } from "./IAutoMovieSequenceRenderFrame";
|
|
2
|
+
import type { IAutoMovieSequenceRenderShotSpan } from "./IAutoMovieSequenceRenderShotSpan";
|
|
3
|
+
import type { IAutoMovieSequenceRenderTransitionSpan } from "./IAutoMovieSequenceRenderTransitionSpan";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Public sequence render manifest: editorial timeline, transition spans, frame samples, output paths, and encoder args in one deterministic artifact.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/development/design.md#principled-representation The manifest binds a sequence target to editorial and output fps, resolved spans, exact sample metadata, paths and encoding arguments from one planning call.
|
|
9
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Captures consume one complete manifest rather than independently deriving frame names, transitions and local shot times.
|
|
10
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The record preserves both frame clocks instead of pretending a render fps override changes the authored cut.
|
|
11
|
+
* @evidence contracts/development/common.md#meaningful-documentation Members document seconds, fps roles, encode ordering, first and last paths and the shared ffmpeg argument vector.
|
|
12
|
+
*/
|
|
13
|
+
export interface IAutoMovieSequenceRenderPlan {
|
|
14
|
+
/**
|
|
15
|
+
* Render target identity.
|
|
16
|
+
*/
|
|
17
|
+
target: { kind: "sequence"; id: string };
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Sequence fps as authored by the cut.
|
|
21
|
+
*/
|
|
22
|
+
sequenceFps: number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Output fps from the render spec.
|
|
26
|
+
*/
|
|
27
|
+
renderFps: number;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Total output seconds after transition overlaps are subtracted.
|
|
31
|
+
*/
|
|
32
|
+
durationSeconds: number;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Number of output frames.
|
|
36
|
+
*/
|
|
37
|
+
frameCount: number;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Global output sample times, one per frame.
|
|
41
|
+
*/
|
|
42
|
+
times: number[];
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Shot spans on the output clock.
|
|
46
|
+
*/
|
|
47
|
+
shots: IAutoMovieSequenceRenderShotSpan[];
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Incoming transition spans on the output clock.
|
|
51
|
+
*/
|
|
52
|
+
transitionSpans: IAutoMovieSequenceRenderTransitionSpan[];
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Frame samples in capture order.
|
|
56
|
+
*/
|
|
57
|
+
frames: IAutoMovieSequenceRenderFrame[];
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Directory where frame files should be written.
|
|
61
|
+
*/
|
|
62
|
+
frameDir: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* First output frame path.
|
|
66
|
+
*/
|
|
67
|
+
firstFrame: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Last output frame path.
|
|
71
|
+
*/
|
|
72
|
+
lastFrame: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Ffmpeg input pattern for the frame sequence.
|
|
76
|
+
*/
|
|
77
|
+
inputPattern: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Encoded video output path.
|
|
81
|
+
*/
|
|
82
|
+
outputPath: string;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Exact ffmpeg argument vector for the encoded output.
|
|
86
|
+
*/
|
|
87
|
+
ffmpegArgs: string[];
|
|
88
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IAutoMovieSequenceRenderFrame } from "./IAutoMovieSequenceRenderFrame";
|
|
2
|
+
import { IAutoMovieSequenceRenderPlan } from "./IAutoMovieSequenceRenderPlan";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The outcome of rendering a sequence through injected host I/O.
|
|
6
|
+
*
|
|
7
|
+
* @evidence contracts/development/design.md#principled-representation The result records captured samples in encode order alongside the executed manifest, schedule and actual encoded path.
|
|
8
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Keeping the exact plan with captured frames lets inspection compare intended sequence samples with host-returned artifacts.
|
|
9
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts Frame paths are capture results and the output is the encoder result; neither is guessed from a fixture or inferred pattern.
|
|
10
|
+
* @evidence contracts/development/common.md#meaningful-documentation Members distinguish global sample seconds, capture-order records, input pattern, directory and exact encoder arguments.
|
|
11
|
+
*/
|
|
12
|
+
export interface IAutoMovieSequenceRenderResult {
|
|
13
|
+
/**
|
|
14
|
+
* Path to the encoded video.
|
|
15
|
+
*/
|
|
16
|
+
output: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Number of captured frames.
|
|
20
|
+
*/
|
|
21
|
+
frameCount: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Global output sample times.
|
|
25
|
+
*/
|
|
26
|
+
times: number[];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Captured frame samples in encode order.
|
|
30
|
+
*/
|
|
31
|
+
frames: IAutoMovieSequenceRenderFrame[];
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Directory passed through the manifest for frame files.
|
|
35
|
+
*/
|
|
36
|
+
frameDir: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Ffmpeg input pattern for the captured frame sequence.
|
|
40
|
+
*/
|
|
41
|
+
inputPattern: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Exact ffmpeg argument vector handed to the encode adapter.
|
|
45
|
+
*/
|
|
46
|
+
ffmpegArgs: string[];
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The deterministic sequence manifest that drove capture.
|
|
50
|
+
*/
|
|
51
|
+
plan: IAutoMovieSequenceRenderPlan;
|
|
52
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IAutoMovieTrim } from "@automovie/interface";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A shot entry resolved onto the sequence output clock.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/design.md#principled-representation An entry index joins a committed shot to its global start and end, played length and source offset in seconds, preserving the authored trim.
|
|
7
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The manifest exposes shot timing in one span record so capture hosts need not recompute sequence trim arithmetic.
|
|
8
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts The span records engine-resolved timing and authored trim without supplying a replacement shot or consumer-specific duration.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Member documentation distinguishes global seconds, source-local seconds, entry indexing and nullable authored trim.
|
|
10
|
+
*/
|
|
11
|
+
export interface IAutoMovieSequenceRenderShotSpan {
|
|
12
|
+
/**
|
|
13
|
+
* Index into `sequence.shots`.
|
|
14
|
+
*/
|
|
15
|
+
entry: number;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Shot id played by this entry.
|
|
19
|
+
*/
|
|
20
|
+
shot: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Global output second where the entry starts.
|
|
24
|
+
*/
|
|
25
|
+
start: number;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Global output second where the entry ends.
|
|
29
|
+
*/
|
|
30
|
+
end: number;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Seconds of the source shot that this entry plays.
|
|
34
|
+
*/
|
|
35
|
+
played: number;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Source shot-local second where playback begins.
|
|
39
|
+
*/
|
|
40
|
+
offset: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Trim copied from the sequence entry.
|
|
44
|
+
*/
|
|
45
|
+
trim: IAutoMovieTrim | null;
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IAutoMovieTransition } from "@automovie/interface";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Incoming transition span on the output clock.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/design.md#principled-representation An incoming entry identifies the outgoing and incoming shots and one transition interval on the global output clock.
|
|
7
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The manifest names transition timing independently from sampled blend weights because hosts may inspect editorial spans without visiting every frame.
|
|
8
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts Transition kind and duration are the authored values resolved by the timeline, with no shot-name exception.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Members state incoming entry indexing, endpoints, kind and the start, end and overlap duration in seconds.
|
|
10
|
+
*/
|
|
11
|
+
export interface IAutoMovieSequenceRenderTransitionSpan {
|
|
12
|
+
/**
|
|
13
|
+
* Index of the incoming entry in `sequence.shots`.
|
|
14
|
+
*/
|
|
15
|
+
entry: number;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Outgoing shot id.
|
|
19
|
+
*/
|
|
20
|
+
from: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Incoming shot id.
|
|
24
|
+
*/
|
|
25
|
+
to: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Transition style copied from the sequence entry.
|
|
29
|
+
*/
|
|
30
|
+
kind: IAutoMovieTransition["kind"];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Global output second where the transition begins.
|
|
34
|
+
*/
|
|
35
|
+
start: number;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Global output second where the transition ends.
|
|
39
|
+
*/
|
|
40
|
+
end: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Transition overlap duration in seconds.
|
|
44
|
+
*/
|
|
45
|
+
duration: number;
|
|
46
|
+
}
|