@remotion/renderer 4.0.394 → 4.0.396

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.
@@ -0,0 +1,3 @@
1
+ type BitrateUnit = 'k' | 'K' | 'M';
2
+ export type Bitrate = `${number}${BitrateUnit}`;
3
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { SymbolicateableError } from './error-handling/symbolicateable-error';
4
4
  import { mimeContentType, mimeLookup } from './mime-types';
5
5
  import * as perf from './perf';
6
6
  export type { RenderMediaOnDownload } from './assets/download-and-map-assets-to-file';
7
+ export type { Bitrate } from './bitrate';
7
8
  export { Browser } from './browser';
8
9
  export { BrowserExecutable } from './browser-executable';
9
10
  export { BrowserLog } from './browser-log';
@@ -1,6 +1,7 @@
1
1
  import type { _InternalTypes } from 'remotion';
2
2
  import type { VideoConfig } from 'remotion/no-react';
3
3
  import { type RenderMediaOnDownload } from './assets/download-and-map-assets-to-file';
4
+ import type { Bitrate } from './bitrate';
4
5
  import type { BrowserExecutable } from './browser-executable';
5
6
  import type { BrowserLog } from './browser-log';
6
7
  import type { HeadlessBrowser } from './browser/Browser';
@@ -114,9 +115,9 @@ export type RenderMediaOptions = Prettify<{
114
115
  preferLossless?: boolean;
115
116
  enforceAudioTrack?: boolean;
116
117
  ffmpegOverride?: FfmpegOverrideFn;
117
- audioBitrate?: string | null;
118
- encodingMaxRate?: string | null;
119
- encodingBufferSize?: string | null;
118
+ audioBitrate?: Bitrate | null;
119
+ encodingMaxRate?: Bitrate | null;
120
+ encodingBufferSize?: Bitrate | null;
120
121
  disallowParallelEncoding?: boolean;
121
122
  serveUrl: string;
122
123
  concurrency?: number | string | null;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.394",
6
+ "version": "4.0.396",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -22,11 +22,11 @@
22
22
  "dependencies": {
23
23
  "execa": "5.1.1",
24
24
  "extract-zip": "2.0.1",
25
- "remotion": "4.0.394",
26
- "@remotion/streaming": "4.0.394",
25
+ "remotion": "4.0.396",
26
+ "@remotion/streaming": "4.0.396",
27
27
  "source-map": "^0.8.0-beta.0",
28
28
  "ws": "8.17.1",
29
- "@remotion/licensing": "4.0.394"
29
+ "@remotion/licensing": "4.0.396"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=16.8.0",
@@ -39,19 +39,19 @@
39
39
  "react": "19.2.3",
40
40
  "react-dom": "19.2.3",
41
41
  "@types/ws": "8.5.10",
42
- "@remotion/example-videos": "4.0.394",
43
- "@remotion/eslint-config-internal": "4.0.394",
42
+ "@remotion/example-videos": "4.0.396",
43
+ "@remotion/eslint-config-internal": "4.0.396",
44
44
  "eslint": "9.19.0",
45
45
  "@types/node": "20.12.14"
46
46
  },
47
47
  "optionalDependencies": {
48
- "@remotion/compositor-darwin-arm64": "4.0.394",
49
- "@remotion/compositor-darwin-x64": "4.0.394",
50
- "@remotion/compositor-linux-arm64-gnu": "4.0.394",
51
- "@remotion/compositor-linux-arm64-musl": "4.0.394",
52
- "@remotion/compositor-linux-x64-gnu": "4.0.394",
53
- "@remotion/compositor-linux-x64-musl": "4.0.394",
54
- "@remotion/compositor-win32-x64-msvc": "4.0.394"
48
+ "@remotion/compositor-darwin-arm64": "4.0.396",
49
+ "@remotion/compositor-darwin-x64": "4.0.396",
50
+ "@remotion/compositor-linux-arm64-gnu": "4.0.396",
51
+ "@remotion/compositor-linux-arm64-musl": "4.0.396",
52
+ "@remotion/compositor-linux-x64-gnu": "4.0.396",
53
+ "@remotion/compositor-linux-x64-musl": "4.0.396",
54
+ "@remotion/compositor-win32-x64-msvc": "4.0.396"
55
55
  },
56
56
  "keywords": [
57
57
  "remotion",