@hyperframes/producer 0.9.67 → 0.9.69

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.
@@ -1752,6 +1752,10 @@ import { createStagingDir as createStagingDir2 } from "@hyperframes/core/atomic-
1752
1752
  var BYTES_PER_MIB = 1024 * 1024;
1753
1753
  var DEFAULT_HDR_WINDOW_BYTES = 512 * BYTES_PER_MIB;
1754
1754
 
1755
+ // src/services/render/segmentManifest.ts
1756
+ import { previewToken } from "@hyperframes/core/preview-proof";
1757
+ import { renameWithRetry as renameWithRetry2 } from "@hyperframes/engine";
1758
+
1755
1759
  // src/services/render/stages/captureStreamingStage.ts
1756
1760
  import {
1757
1761
  DrawElementVerificationError,
@@ -2048,9 +2052,6 @@ import {
2048
2052
  createVideoFrameInjector
2049
2053
  } from "@hyperframes/engine";
2050
2054
 
2051
- // src/services/render/segmentManifest.ts
2052
- import { renameWithRetry as renameWithRetry2 } from "@hyperframes/engine";
2053
-
2054
2055
  // src/services/render/hdrMode.ts
2055
2056
  import {
2056
2057
  analyzeCompositionHdr,
@@ -3467,7 +3468,10 @@ async function prepareHeifImageInputs(html, options) {
3467
3468
  }
3468
3469
 
3469
3470
  // src/services/htmlCompiler.ts
3470
- import { createStudioPositionSeekReapplyScript } from "@hyperframes/studio-server/manual-edits-render-script";
3471
+ import {
3472
+ createStudioPositionSeekReapplyScript,
3473
+ htmlHasStudioPositionEdits
3474
+ } from "@hyperframes/studio-server/manual-edits-render-script";
3471
3475
  import { getPositionEditsRenderScript } from "@hyperframes/core/runtime/position-edits-render";
3472
3476
 
3473
3477
  // src/services/assetMediaType.ts
@@ -5077,14 +5081,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
5077
5081
  abortSignal: options.abortSignal
5078
5082
  });
5079
5083
  const assembledHtml = await inlineExternalScripts(coalescedHtml, budget);
5080
- const HF_POSITION_ATTRS = [
5081
- 'data-hf-studio-path-offset="true"',
5082
- 'data-hf-studio-box-size="true"',
5083
- 'data-hf-studio-rotation="true"',
5084
- 'data-hf-studio-motion="'
5085
- ];
5086
- const hasPositionEdits = HF_POSITION_ATTRS.some((attr) => assembledHtml.includes(attr));
5087
- const htmlWithPositionScript = hasPositionEdits ? insertBeforeCloseTag(
5084
+ const htmlWithPositionScript = htmlHasStudioPositionEdits(assembledHtml) ? insertBeforeCloseTag(
5088
5085
  assembledHtml,
5089
5086
  "body",
5090
5087
  `<script>${createStudioPositionSeekReapplyScript()}
@@ -12661,6 +12658,7 @@ import { basename as basename6, dirname as dirname16, join as join31 } from "nod
12661
12658
  import {
12662
12659
  appendRateCapArgs as appendRateCapArgs2,
12663
12660
  appendRenderProvenanceArgs as appendRenderProvenanceArgs2,
12661
+ concatListInputArgs,
12664
12662
  describeFfmpegFailure as describeFfmpegFailure5,
12665
12663
  getEncoderPreset as getEncoderPreset5,
12666
12664
  MIXED_AUDIO_FILENAME as MIXED_AUDIO_FILENAME4,
@@ -12879,7 +12877,7 @@ function concatDemuxerInput(chunkPaths, workDir, fpsArg) {
12879
12877
  const body = chunkPaths.map((path) => `file '${path.replace(/'/g, "'\\''")}'`).join("\n");
12880
12878
  writeFileSync11(listPath, `${body}
12881
12879
  `, "utf-8");
12882
- return ["-r", fpsArg, "-f", "concat", "-safe", "0", "-i", listPath];
12880
+ return ["-r", fpsArg, ...concatListInputArgs(listPath)];
12883
12881
  }
12884
12882
  async function probeJoinedFrameInfo(videoPaths, fps, signal) {
12885
12883
  const infos = await Promise.all(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "0.1.0",
3
3
  "buildId": "dev",
4
- "sha256": "86a2ef6f99a452f41a285a4644e91a0aed2ecbd865ad50d0828d958092d1cf53",
4
+ "sha256": "b80e7f680f11ef0b2095d559d0709e1f1a606424fd7ea3efc0f778222f183615",
5
5
  "artifacts": {
6
6
  "iife": "hyperframe.runtime.iife.js",
7
7
  "esm": "hyperframe.runtime.mjs"