@remotion/renderer 4.0.35 → 4.0.36

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/client.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const BrowserSafeApis: {
2
3
  getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension;
3
4
  validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
@@ -4,9 +4,6 @@ export declare const createFfmpegComplexFilter: ({ filters, downloadMap, }: {
4
4
  filters: PreprocessedAudioTrack[];
5
5
  downloadMap: DownloadMap;
6
6
  }) => Promise<{
7
- complexFilterFlag: [
8
- string,
9
- string
10
- ] | null;
7
+ complexFilterFlag: [string, string] | null;
11
8
  cleanup: () => void;
12
9
  }>;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="react" />
1
3
  import execa from 'execa';
2
4
  import { HeadlessBrowser } from './browser/Browser';
3
5
  import { SymbolicateableError } from './error-handling/symbolicateable-error';
@@ -121,8 +123,8 @@ export declare const RenderInternals: {
121
123
  validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
122
124
  DEFAULT_BROWSER: "chrome";
123
125
  validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
124
- DEFAULT_OPENGL_RENDERER: "swangle" | "angle" | "egl" | "swiftshader" | null;
125
- validateOpenGlRenderer: (option: "swangle" | "angle" | "egl" | "swiftshader" | null) => "swangle" | "angle" | "egl" | "swiftshader" | null;
126
+ DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | null;
127
+ validateOpenGlRenderer: (option: "angle" | "swangle" | "egl" | "swiftshader" | null) => "angle" | "swangle" | "egl" | "swiftshader" | null;
126
128
  validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
127
129
  DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
128
130
  validateJpegQuality: (q: number | undefined) => void;
@@ -310,8 +312,8 @@ export declare const RenderInternals: {
310
312
  };
311
313
  validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
312
314
  validVideoImageFormats: readonly ["png", "jpeg", "none"];
313
- DEFAULT_STILL_IMAGE_FORMAT: "png" | "jpeg" | "pdf" | "webp";
314
- DEFAULT_VIDEO_IMAGE_FORMAT: "png" | "jpeg" | "none";
315
+ DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
316
+ DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none";
315
317
  DEFAULT_JPEG_QUALITY: number;
316
318
  chalk: {
317
319
  enabled: () => boolean;
@@ -424,7 +426,7 @@ export declare const RenderInternals: {
424
426
  frame: number;
425
427
  serializedInputPropsWithCustomSchema: string;
426
428
  serializedResolvedPropsWithCustomSchema: string;
427
- imageFormat: "png" | "jpeg" | "pdf" | "webp";
429
+ imageFormat: "jpeg" | "png" | "webp" | "pdf";
428
430
  jpegQuality: number;
429
431
  puppeteerInstance: HeadlessBrowser | null;
430
432
  envVariables: Record<string, string>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const audioBitrateOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const validColorSpaces: readonly ["default", "bt709"];
2
3
  export type ColorSpace = (typeof validColorSpaces)[number];
3
4
  export declare const colorSpaceOption: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const crfOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const deleteAfterOption: {
2
3
  name: string;
3
4
  cliFlag: "delete-after";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const enforceAudioOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const folderExpiryOption: {
2
3
  name: string;
3
4
  cliFlag: "enable-folder-expiry";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const jpegQualityOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const muteOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const offthreadVideoCacheSizeInBytesOption: {
2
3
  name: string;
3
4
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const optionsMap: {
2
3
  readonly renderMedia: readonly [{
3
4
  name: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const scaleOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const videoBitrate: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const videoCodecOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const webhookCustomDataOption: {
2
3
  name: string;
3
4
  cliFlag: "webhook-custom-data";
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { RenderMediaOnDownload } from './assets/download-and-map-assets-to-file';
2
3
  import type { RenderAssetInfo } from './assets/download-map';
3
4
  import type { AudioCodec } from './audio-codec';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { TRenderAsset } from 'remotion';
2
3
  import type { DownloadMap } from './assets/download-map';
3
4
  import type { Page } from './browser/BrowserPage';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/renderer",
3
- "version": "4.0.35",
3
+ "version": "4.0.36",
4
4
  "description": "Renderer for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.7.0",
21
- "remotion": "4.0.35"
21
+ "remotion": "4.0.36"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": ">=16.8.0",
@@ -40,13 +40,13 @@
40
40
  "vitest": "0.31.1"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@remotion/compositor-darwin-arm64": "4.0.35",
44
- "@remotion/compositor-darwin-x64": "4.0.35",
45
- "@remotion/compositor-linux-arm64-gnu": "4.0.35",
46
- "@remotion/compositor-linux-arm64-musl": "4.0.35",
47
- "@remotion/compositor-linux-x64-gnu": "4.0.35",
48
- "@remotion/compositor-linux-x64-musl": "4.0.35",
49
- "@remotion/compositor-win32-x64-msvc": "4.0.35"
43
+ "@remotion/compositor-darwin-x64": "4.0.36",
44
+ "@remotion/compositor-linux-arm64-gnu": "4.0.36",
45
+ "@remotion/compositor-linux-arm64-musl": "4.0.36",
46
+ "@remotion/compositor-linux-x64-gnu": "4.0.36",
47
+ "@remotion/compositor-linux-x64-musl": "4.0.36",
48
+ "@remotion/compositor-win32-x64-msvc": "4.0.36",
49
+ "@remotion/compositor-darwin-arm64": "4.0.36"
50
50
  },
51
51
  "keywords": [
52
52
  "remotion",