@remotion/renderer 4.0.113 → 4.0.115
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/check-apple-silicon.d.ts +3 -1
- package/dist/check-apple-silicon.js +32 -2
- package/dist/client.d.ts +779 -14
- package/dist/client.js +3 -1
- package/dist/combine-videos.js +1 -1
- package/dist/ffmpeg-args.d.ts +1 -1
- package/dist/get-extension-of-filename.js +2 -5
- package/dist/index.d.ts +50 -3
- package/dist/jpeg-quality.d.ts +1 -1
- package/dist/options/audio-bitrate.d.ts +10 -0
- package/dist/options/audio-bitrate.js +25 -2
- package/dist/options/beep-on-finish.d.ts +7 -0
- package/dist/options/beep-on-finish.js +24 -1
- package/dist/options/color-space.d.ts +7 -0
- package/dist/options/color-space.js +23 -0
- package/dist/options/crf.d.ts +9 -0
- package/dist/options/crf.js +33 -2
- package/dist/options/delete-after.d.ts +12 -1
- package/dist/options/delete-after.js +25 -2
- package/dist/options/enable-lambda-insights.d.ts +7 -0
- package/dist/options/enable-lambda-insights.js +24 -1
- package/dist/options/enable-multiprocess-on-linux.d.ts +7 -0
- package/dist/options/enable-multiprocess-on-linux.js +24 -1
- package/dist/options/encoding-buffer-size.d.ts +10 -0
- package/dist/options/encoding-buffer-size.js +28 -1
- package/dist/options/encoding-max-rate.d.ts +10 -0
- package/dist/options/encoding-max-rate.js +24 -1
- package/dist/options/enforce-audio.d.ts +7 -0
- package/dist/options/enforce-audio.js +25 -1
- package/dist/options/folder-expiry.d.ts +7 -0
- package/dist/options/folder-expiry.js +24 -1
- package/dist/options/gl.d.ts +16 -4
- package/dist/options/gl.js +35 -3
- package/dist/options/headless.d.ts +15 -0
- package/dist/options/headless.js +36 -0
- package/dist/options/index.d.ts +202 -10
- package/dist/options/index.js +5 -3
- package/dist/options/jpeg-quality.d.ts +9 -0
- package/dist/options/jpeg-quality.js +37 -2
- package/dist/options/log-level.d.ts +16 -0
- package/dist/options/log-level.js +32 -0
- package/dist/options/mute.d.ts +9 -2
- package/dist/options/mute.js +27 -3
- package/dist/options/number-of-gif-loops.d.ts +11 -0
- package/dist/options/number-of-gif-loops.js +31 -1
- package/dist/options/offthreadvideo-cache-size.d.ts +12 -1
- package/dist/options/offthreadvideo-cache-size.js +30 -3
- package/dist/options/option.d.ts +11 -3
- package/dist/options/options-map.d.ts +577 -3
- package/dist/options/options-map.js +46 -12
- package/dist/options/overwrite.d.ts +15 -0
- package/dist/options/overwrite.js +42 -0
- package/dist/options/repro.d.ts +11 -1
- package/dist/options/repro.js +25 -1
- package/dist/options/scale.d.ts +7 -0
- package/dist/options/scale.js +30 -1
- package/dist/options/timeout.d.ts +15 -0
- package/dist/options/timeout.js +44 -0
- package/dist/options/video-bitrate.d.ts +9 -2
- package/dist/options/video-bitrate.js +27 -4
- package/dist/options/video-codec.d.ts +16 -1
- package/dist/options/video-codec.js +81 -2
- package/dist/options/webhook-custom-data.d.ts +3 -1
- package/dist/options/webhook-custom-data.js +8 -1
- package/dist/options/x264-preset.d.ts +20 -3
- package/dist/options/x264-preset.js +47 -7
- package/dist/path-normalize.d.ts +1 -0
- package/dist/path-normalize.js +133 -0
- package/dist/prespawn-ffmpeg.d.ts +1 -1
- package/dist/render-frames.d.ts +1 -3
- package/dist/render-media.d.ts +0 -12
- package/dist/render-media.js +2 -2
- package/dist/render-still.d.ts +1 -3
- package/dist/select-composition.d.ts +2 -3
- package/dist/stitch-frames-to-video.d.ts +1 -1
- package/dist/stitch-frames-to-video.js +1 -1
- package/package.json +9 -9
- package/dist/does-have-m2-bug.d.ts +0 -3
- package/dist/does-have-m2-bug.js +0 -12
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// https://github.com/zacanger/path-normalize/blob/master/src/index.js
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.pathNormalize = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Copyright © 2022 Zac Anger
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
11
|
+
|
|
12
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13
|
+
*/
|
|
14
|
+
/* eslint-disable max-depth, max-statements, complexity, max-lines-per-function */
|
|
15
|
+
const SLASH = 47;
|
|
16
|
+
const DOT = 46;
|
|
17
|
+
const assertPath = (path) => {
|
|
18
|
+
const t = typeof path;
|
|
19
|
+
if (t !== 'string') {
|
|
20
|
+
throw new TypeError(`Expected a string, got a ${t}`);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
// this function is directly from node source
|
|
24
|
+
const posixNormalize = (path, allowAboveRoot) => {
|
|
25
|
+
let res = '';
|
|
26
|
+
let lastSegmentLength = 0;
|
|
27
|
+
let lastSlash = -1;
|
|
28
|
+
let dots = 0;
|
|
29
|
+
let code;
|
|
30
|
+
for (let i = 0; i <= path.length; ++i) {
|
|
31
|
+
if (i < path.length) {
|
|
32
|
+
code = path.charCodeAt(i);
|
|
33
|
+
}
|
|
34
|
+
else if (code === SLASH) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
code = SLASH;
|
|
39
|
+
}
|
|
40
|
+
if (code === SLASH) {
|
|
41
|
+
if (lastSlash === i - 1 || dots === 1) {
|
|
42
|
+
// NOOP
|
|
43
|
+
}
|
|
44
|
+
else if (lastSlash !== i - 1 && dots === 2) {
|
|
45
|
+
if (res.length < 2 ||
|
|
46
|
+
lastSegmentLength !== 2 ||
|
|
47
|
+
res.charCodeAt(res.length - 1) !== DOT ||
|
|
48
|
+
res.charCodeAt(res.length - 2) !== DOT) {
|
|
49
|
+
if (res.length > 2) {
|
|
50
|
+
const lastSlashIndex = res.lastIndexOf('/');
|
|
51
|
+
if (lastSlashIndex !== res.length - 1) {
|
|
52
|
+
if (lastSlashIndex === -1) {
|
|
53
|
+
res = '';
|
|
54
|
+
lastSegmentLength = 0;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
res = res.slice(0, lastSlashIndex);
|
|
58
|
+
lastSegmentLength = res.length - 1 - res.lastIndexOf('/');
|
|
59
|
+
}
|
|
60
|
+
lastSlash = i;
|
|
61
|
+
dots = 0;
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
else if (res.length === 2 || res.length === 1) {
|
|
66
|
+
res = '';
|
|
67
|
+
lastSegmentLength = 0;
|
|
68
|
+
lastSlash = i;
|
|
69
|
+
dots = 0;
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (allowAboveRoot) {
|
|
74
|
+
if (res.length > 0) {
|
|
75
|
+
res += '/..';
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
res = '..';
|
|
79
|
+
}
|
|
80
|
+
lastSegmentLength = 2;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
if (res.length > 0) {
|
|
85
|
+
res += '/' + path.slice(lastSlash + 1, i);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
res = path.slice(lastSlash + 1, i);
|
|
89
|
+
}
|
|
90
|
+
lastSegmentLength = i - lastSlash - 1;
|
|
91
|
+
}
|
|
92
|
+
lastSlash = i;
|
|
93
|
+
dots = 0;
|
|
94
|
+
}
|
|
95
|
+
else if (code === DOT && dots !== -1) {
|
|
96
|
+
++dots;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
dots = -1;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return res;
|
|
103
|
+
};
|
|
104
|
+
const decode = (s) => {
|
|
105
|
+
try {
|
|
106
|
+
return decodeURIComponent(s);
|
|
107
|
+
}
|
|
108
|
+
catch (_a) {
|
|
109
|
+
return s;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
const pathNormalize = (p) => {
|
|
113
|
+
assertPath(p);
|
|
114
|
+
let path = p;
|
|
115
|
+
if (path.length === 0) {
|
|
116
|
+
return '.';
|
|
117
|
+
}
|
|
118
|
+
const isAbsolute = path.charCodeAt(0) === SLASH;
|
|
119
|
+
const trailingSeparator = path.charCodeAt(path.length - 1) === SLASH;
|
|
120
|
+
path = decode(path);
|
|
121
|
+
path = posixNormalize(path, !isAbsolute);
|
|
122
|
+
if (path.length === 0 && !isAbsolute) {
|
|
123
|
+
path = '.';
|
|
124
|
+
}
|
|
125
|
+
if (path.length > 0 && trailingSeparator) {
|
|
126
|
+
path += '/';
|
|
127
|
+
}
|
|
128
|
+
if (isAbsolute) {
|
|
129
|
+
return '/' + path;
|
|
130
|
+
}
|
|
131
|
+
return path;
|
|
132
|
+
};
|
|
133
|
+
exports.pathNormalize = pathNormalize;
|
|
@@ -4,9 +4,9 @@ import type { VideoImageFormat } from './image-format';
|
|
|
4
4
|
import type { LogLevel } from './log-level';
|
|
5
5
|
import type { CancelSignal } from './make-cancel-signal';
|
|
6
6
|
import type { ColorSpace } from './options/color-space';
|
|
7
|
+
import type { X264Preset } from './options/x264-preset';
|
|
7
8
|
import type { PixelFormat } from './pixel-format';
|
|
8
9
|
import type { ProResProfile } from './prores-profile';
|
|
9
|
-
import type { X264Preset } from './x264-preset';
|
|
10
10
|
type RunningStatus = {
|
|
11
11
|
type: 'running';
|
|
12
12
|
} | {
|
package/dist/render-frames.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ export type RenderFramesOptions = {
|
|
|
54
54
|
* @deprecated Renamed to "jpegQuality"
|
|
55
55
|
*/
|
|
56
56
|
quality?: never;
|
|
57
|
-
jpegQuality?: number;
|
|
58
57
|
frameRange?: FrameRange | null;
|
|
59
58
|
everyNthFrame?: number;
|
|
60
59
|
/**
|
|
@@ -80,8 +79,7 @@ export type RenderFramesOptions = {
|
|
|
80
79
|
muted?: boolean;
|
|
81
80
|
concurrency?: number | string | null;
|
|
82
81
|
serveUrl: string;
|
|
83
|
-
|
|
84
|
-
};
|
|
82
|
+
} & Partial<ToOptions<typeof optionsMap.renderFrames>>;
|
|
85
83
|
export declare const internalRenderFrames: (args_0: InternalRenderFramesOptions) => Promise<RenderFramesOutput>;
|
|
86
84
|
/**
|
|
87
85
|
* @description Renders a series of images using Puppeteer and computes information for mixing audio.
|
package/dist/render-media.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ import type { PixelFormat } from './pixel-format';
|
|
|
19
19
|
import type { RemotionServer } from './prepare-server';
|
|
20
20
|
import type { ProResProfile } from './prores-profile';
|
|
21
21
|
import type { OnStartData } from './types';
|
|
22
|
-
import type { X264Preset } from './x264-preset';
|
|
23
22
|
export type StitchingState = 'encoding' | 'muxing';
|
|
24
23
|
export type SlowFrame = {
|
|
25
24
|
frame: number;
|
|
@@ -36,7 +35,6 @@ export type RenderMediaOnProgress = (progress: {
|
|
|
36
35
|
type MoreRenderMediaOptions = ToOptions<typeof optionsMap.renderMedia>;
|
|
37
36
|
export type InternalRenderMediaOptions = {
|
|
38
37
|
outputLocation: string | null;
|
|
39
|
-
codec: Codec;
|
|
40
38
|
composition: Omit<VideoConfig, 'props' | 'defaultProps'>;
|
|
41
39
|
serializedInputPropsWithCustomSchema: string;
|
|
42
40
|
serializedResolvedPropsWithCustomSchema: string;
|
|
@@ -44,7 +42,6 @@ export type InternalRenderMediaOptions = {
|
|
|
44
42
|
imageFormat: VideoImageFormat;
|
|
45
43
|
pixelFormat: PixelFormat;
|
|
46
44
|
envVariables: Record<string, string>;
|
|
47
|
-
jpegQuality: number;
|
|
48
45
|
frameRange: FrameRange | null;
|
|
49
46
|
everyNthFrame: number;
|
|
50
47
|
puppeteerInstance: HeadlessBrowser | undefined;
|
|
@@ -52,7 +49,6 @@ export type InternalRenderMediaOptions = {
|
|
|
52
49
|
onProgress: RenderMediaOnProgress;
|
|
53
50
|
onDownload: RenderMediaOnDownload;
|
|
54
51
|
proResProfile: ProResProfile | undefined;
|
|
55
|
-
x264Preset: X264Preset | undefined;
|
|
56
52
|
onBrowserLog: ((log: BrowserLog) => void) | null;
|
|
57
53
|
onStart: (data: OnStartData) => void;
|
|
58
54
|
timeoutInMilliseconds: number;
|
|
@@ -66,18 +62,12 @@ export type InternalRenderMediaOptions = {
|
|
|
66
62
|
indent: boolean;
|
|
67
63
|
server: RemotionServer | undefined;
|
|
68
64
|
preferLossless: boolean;
|
|
69
|
-
muted: boolean;
|
|
70
65
|
enforceAudioTrack: boolean;
|
|
71
66
|
ffmpegOverride: FfmpegOverrideFn | undefined;
|
|
72
|
-
audioBitrate: string | null;
|
|
73
|
-
videoBitrate: string | null;
|
|
74
|
-
encodingMaxRate: string | null;
|
|
75
|
-
encodingBufferSize: string | null;
|
|
76
67
|
disallowParallelEncoding: boolean;
|
|
77
68
|
audioCodec: AudioCodec | null;
|
|
78
69
|
serveUrl: string;
|
|
79
70
|
concurrency: number | string | null;
|
|
80
|
-
colorSpace: ColorSpace;
|
|
81
71
|
finishRenderProgress: () => void;
|
|
82
72
|
} & MoreRenderMediaOptions;
|
|
83
73
|
type Prettify<T> = {
|
|
@@ -104,7 +94,6 @@ export type RenderMediaOptions = Prettify<{
|
|
|
104
94
|
onProgress?: RenderMediaOnProgress;
|
|
105
95
|
onDownload?: RenderMediaOnDownload;
|
|
106
96
|
proResProfile?: ProResProfile;
|
|
107
|
-
x264Preset?: X264Preset;
|
|
108
97
|
/**
|
|
109
98
|
* @deprecated Use "logLevel": "verbose" instead
|
|
110
99
|
*/
|
|
@@ -122,7 +111,6 @@ export type RenderMediaOptions = Prettify<{
|
|
|
122
111
|
*/
|
|
123
112
|
verbose?: boolean;
|
|
124
113
|
preferLossless?: boolean;
|
|
125
|
-
muted?: boolean;
|
|
126
114
|
enforceAudioTrack?: boolean;
|
|
127
115
|
ffmpegOverride?: FfmpegOverrideFn;
|
|
128
116
|
audioBitrate?: string | null;
|
package/dist/render-media.js
CHANGED
|
@@ -26,6 +26,7 @@ const is_audio_codec_1 = require("./is-audio-codec");
|
|
|
26
26
|
const jpeg_quality_1 = require("./jpeg-quality");
|
|
27
27
|
const logger_1 = require("./logger");
|
|
28
28
|
const make_cancel_signal_1 = require("./make-cancel-signal");
|
|
29
|
+
const x264_preset_1 = require("./options/x264-preset");
|
|
29
30
|
const overwrite_1 = require("./overwrite");
|
|
30
31
|
const perf_1 = require("./perf");
|
|
31
32
|
const pixel_format_1 = require("./pixel-format");
|
|
@@ -45,7 +46,6 @@ const validate_output_filename_1 = require("./validate-output-filename");
|
|
|
45
46
|
const validate_scale_1 = require("./validate-scale");
|
|
46
47
|
const validate_videobitrate_1 = require("./validate-videobitrate");
|
|
47
48
|
const wrap_with_error_handling_1 = require("./wrap-with-error-handling");
|
|
48
|
-
const x264_preset_1 = require("./x264-preset");
|
|
49
49
|
const SLOWEST_FRAME_COUNT = 10;
|
|
50
50
|
const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition, serializedInputPropsWithCustomSchema, pixelFormat, codec, envVariables, frameRange, puppeteerInstance, outputLocation, onProgress, overwrite, onDownload, onBrowserLog, onStart, timeoutInMilliseconds, chromiumOptions, scale, browserExecutable, port, cancelSignal, muted, enforceAudioTrack, ffmpegOverride, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, audioCodec, concurrency, disallowParallelEncoding, everyNthFrame, imageFormat: provisionalImageFormat, indent, jpegQuality, numberOfGifLoops, onCtrlCExit, preferLossless, serveUrl, server: reusedServer, logLevel, serializedResolvedPropsWithCustomSchema, offthreadVideoCacheSizeInBytes, colorSpace, repro, finishRenderProgress, }) => {
|
|
51
51
|
if (repro) {
|
|
@@ -482,7 +482,7 @@ const renderMedia = ({ proResProfile, x264Preset, crf, composition, inputProps,
|
|
|
482
482
|
}
|
|
483
483
|
return (0, exports.internalRenderMedia)({
|
|
484
484
|
proResProfile: proResProfile !== null && proResProfile !== void 0 ? proResProfile : undefined,
|
|
485
|
-
x264Preset,
|
|
485
|
+
x264Preset: x264Preset !== null && x264Preset !== void 0 ? x264Preset : null,
|
|
486
486
|
codec,
|
|
487
487
|
composition,
|
|
488
488
|
serveUrl,
|
package/dist/render-still.d.ts
CHANGED
|
@@ -43,7 +43,6 @@ export type RenderStillOptions = {
|
|
|
43
43
|
frame?: number;
|
|
44
44
|
inputProps?: Record<string, unknown>;
|
|
45
45
|
imageFormat?: StillImageFormat;
|
|
46
|
-
jpegQuality?: number;
|
|
47
46
|
puppeteerInstance?: HeadlessBrowser;
|
|
48
47
|
/**
|
|
49
48
|
* @deprecated Use "logLevel": "verbose" instead
|
|
@@ -67,8 +66,7 @@ export type RenderStillOptions = {
|
|
|
67
66
|
* @deprecated Renamed to `jpegQuality`
|
|
68
67
|
*/
|
|
69
68
|
quality?: never;
|
|
70
|
-
|
|
71
|
-
};
|
|
69
|
+
} & Partial<ToOptions<typeof optionsMap.renderStill>>;
|
|
72
70
|
type RenderStillReturnValue = {
|
|
73
71
|
buffer: Buffer | null;
|
|
74
72
|
};
|
|
@@ -21,7 +21,7 @@ type InternalSelectCompositionsConfig = {
|
|
|
21
21
|
logLevel: LogLevel;
|
|
22
22
|
serveUrl: string;
|
|
23
23
|
id: string;
|
|
24
|
-
} & ToOptions<typeof optionsMap.
|
|
24
|
+
} & ToOptions<typeof optionsMap.selectComposition>;
|
|
25
25
|
export type SelectCompositionOptions = {
|
|
26
26
|
inputProps?: Record<string, unknown> | null;
|
|
27
27
|
envVariables?: Record<string, string>;
|
|
@@ -36,10 +36,9 @@ export type SelectCompositionOptions = {
|
|
|
36
36
|
*/
|
|
37
37
|
verbose?: boolean;
|
|
38
38
|
logLevel?: LogLevel;
|
|
39
|
-
offthreadVideoCacheSizeInBytes?: number | null;
|
|
40
39
|
serveUrl: string;
|
|
41
40
|
id: string;
|
|
42
|
-
}
|
|
41
|
+
} & Partial<ToOptions<typeof optionsMap.renderStill>>;
|
|
43
42
|
type InternalReturnType = {
|
|
44
43
|
metadata: VideoConfig;
|
|
45
44
|
propsSize: number;
|
|
@@ -6,9 +6,9 @@ import type { FfmpegOverrideFn } from './ffmpeg-override';
|
|
|
6
6
|
import type { LogLevel } from './log-level';
|
|
7
7
|
import type { CancelSignal } from './make-cancel-signal';
|
|
8
8
|
import type { ColorSpace } from './options/color-space';
|
|
9
|
+
import type { X264Preset } from './options/x264-preset';
|
|
9
10
|
import type { PixelFormat } from './pixel-format';
|
|
10
11
|
import type { ProResProfile } from './prores-profile';
|
|
11
|
-
import type { X264Preset } from './x264-preset';
|
|
12
12
|
type InternalStitchFramesToVideoOptions = {
|
|
13
13
|
audioBitrate: string | null;
|
|
14
14
|
videoBitrate: string | null;
|
|
@@ -181,7 +181,7 @@ const innerStitchFramesToVideo = async ({ assetsInfo, audioBitrate, audioCodec,
|
|
|
181
181
|
'-c:a',
|
|
182
182
|
(0, audio_codec_1.mapAudioCodecToFfmpegAudioCodecName)(resolvedAudioCodec),
|
|
183
183
|
'-b:a',
|
|
184
|
-
audioBitrate ? audioBitrate : '320k',
|
|
184
|
+
audioBitrate !== null && audioBitrate !== void 0 ? audioBitrate : '320k',
|
|
185
185
|
force ? '-y' : null,
|
|
186
186
|
outputLocation !== null && outputLocation !== void 0 ? outputLocation : tempFile,
|
|
187
187
|
].filter(no_react_1.NoReactInternals.truthy),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.115",
|
|
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.
|
|
21
|
+
"remotion": "4.0.115"
|
|
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-
|
|
44
|
-
"@remotion/compositor-linux-
|
|
45
|
-
"@remotion/compositor-darwin-
|
|
46
|
-
"@remotion/compositor-
|
|
47
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
48
|
-
"@remotion/compositor-
|
|
49
|
-
"@remotion/compositor-linux-arm64-
|
|
43
|
+
"@remotion/compositor-darwin-arm64": "4.0.115",
|
|
44
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.115",
|
|
45
|
+
"@remotion/compositor-darwin-x64": "4.0.115",
|
|
46
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.115",
|
|
47
|
+
"@remotion/compositor-linux-x64-musl": "4.0.115",
|
|
48
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.115",
|
|
49
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.115"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"remotion",
|
package/dist/does-have-m2-bug.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.warnAboutM2Bug = void 0;
|
|
4
|
-
const node_os_1 = require("node:os");
|
|
5
|
-
const warnAboutM2Bug = (codec, pixelFormat) => {
|
|
6
|
-
const isM2 = (0, node_os_1.cpus)().find((c) => c.model.includes('Apple M2'));
|
|
7
|
-
if (codec === 'prores' && pixelFormat === 'yuv422p10le' && isM2) {
|
|
8
|
-
console.warn();
|
|
9
|
-
console.warn('⚠️ Known issue: Apple M2 CPUs currently suffer from a bug where transparent ProRes videos have flickering. https://github.com/remotion-dev/remotion/issues/1929');
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.warnAboutM2Bug = warnAboutM2Bug;
|