@hyperframes/engine 0.3.2 → 0.4.1

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.
@@ -12,8 +12,8 @@ import { getCachedGpuEncoder, getGpuEncoderName } from "../utils/gpuEncoder.js";
12
12
  import { runFfmpeg } from "../utils/runFfmpeg.js";
13
13
  export const ENCODER_PRESETS = {
14
14
  draft: { preset: "ultrafast", quality: 28, codec: "h264" },
15
- standard: { preset: "medium", quality: 23, codec: "h264" },
16
- high: { preset: "slow", quality: 18, codec: "h264" },
15
+ standard: { preset: "medium", quality: 18, codec: "h264" },
16
+ high: { preset: "slow", quality: 15, codec: "h264" },
17
17
  };
18
18
  /**
19
19
  * Get encoder preset for a given quality and output format.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/engine",
3
- "version": "0.3.2",
3
+ "version": "0.4.1",
4
4
  "description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "linkedom": "^0.18.12",
20
20
  "puppeteer": "^24.0.0",
21
21
  "puppeteer-core": "^24.39.1",
22
- "@hyperframes/core": "^0.3.2"
22
+ "@hyperframes/core": "^0.4.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^22.10.1",
@@ -17,8 +17,8 @@ export type { EncoderOptions, EncodeResult, MuxResult } from "./chunkEncoder.typ
17
17
 
18
18
  export const ENCODER_PRESETS = {
19
19
  draft: { preset: "ultrafast", quality: 28, codec: "h264" as const },
20
- standard: { preset: "medium", quality: 23, codec: "h264" as const },
21
- high: { preset: "slow", quality: 18, codec: "h264" as const },
20
+ standard: { preset: "medium", quality: 18, codec: "h264" as const },
21
+ high: { preset: "slow", quality: 15, codec: "h264" as const },
22
22
  };
23
23
 
24
24
  /**