@remotion/renderer 4.0.494 → 4.0.495

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
@@ -448,6 +448,7 @@ export declare const BrowserSafeApis: {
448
448
  value: boolean;
449
449
  };
450
450
  setConfig: () => void;
451
+ reset: () => void;
451
452
  id: "muted";
452
453
  };
453
454
  videoCodecOption: {
@@ -470,6 +471,7 @@ export declare const BrowserSafeApis: {
470
471
  source: string;
471
472
  };
472
473
  setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
474
+ reset: () => void;
473
475
  id: "codec";
474
476
  };
475
477
  offthreadVideoCacheSizeInBytesOption: {
@@ -793,6 +795,7 @@ export declare const BrowserSafeApis: {
793
795
  source: string;
794
796
  };
795
797
  setConfig: (shouldOpen: boolean) => void;
798
+ reset: () => void;
796
799
  id: "no-open";
797
800
  };
798
801
  pixelFormatOption: {
@@ -955,6 +958,7 @@ export declare const BrowserSafeApis: {
955
958
  value: boolean;
956
959
  };
957
960
  setConfig: (value: boolean) => void;
961
+ reset: () => void;
958
962
  id: "overwrite";
959
963
  };
960
964
  binariesDirectoryOption: {
@@ -1239,6 +1243,7 @@ export declare const BrowserSafeApis: {
1239
1243
  source: string;
1240
1244
  };
1241
1245
  setConfig: (pattern: string | null) => void;
1246
+ reset: () => void;
1242
1247
  id: "image-sequence-pattern";
1243
1248
  };
1244
1249
  mediaCacheSizeInBytesOption: {
@@ -1498,6 +1503,7 @@ export declare const BrowserSafeApis: {
1498
1503
  value: null;
1499
1504
  };
1500
1505
  setConfig: (height: number | null) => void;
1506
+ reset: () => void;
1501
1507
  id: "height";
1502
1508
  };
1503
1509
  overrideWidthOption: {
@@ -1517,6 +1523,7 @@ export declare const BrowserSafeApis: {
1517
1523
  value: null;
1518
1524
  };
1519
1525
  setConfig: (width: number | null) => void;
1526
+ reset: () => void;
1520
1527
  id: "width";
1521
1528
  };
1522
1529
  overrideFpsOption: {
@@ -1536,6 +1543,7 @@ export declare const BrowserSafeApis: {
1536
1543
  value: null;
1537
1544
  };
1538
1545
  setConfig: (fps: number | null) => void;
1546
+ reset: () => void;
1539
1547
  id: "fps";
1540
1548
  };
1541
1549
  overrideDurationOption: {
@@ -1555,6 +1563,7 @@ export declare const BrowserSafeApis: {
1555
1563
  value: null;
1556
1564
  };
1557
1565
  setConfig: (duration: number | null) => void;
1566
+ reset: () => void;
1558
1567
  id: "duration";
1559
1568
  };
1560
1569
  rspackOption: {
@@ -2013,6 +2022,7 @@ export declare const BrowserSafeApis: {
2013
2022
  source: string;
2014
2023
  };
2015
2024
  setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
2025
+ reset: () => void;
2016
2026
  id: "codec";
2017
2027
  };
2018
2028
  readonly disallowParallelEncoding: {
@@ -2099,6 +2109,7 @@ export declare const BrowserSafeApis: {
2099
2109
  value: boolean;
2100
2110
  };
2101
2111
  setConfig: () => void;
2112
+ reset: () => void;
2102
2113
  id: "muted";
2103
2114
  };
2104
2115
  readonly logLevel: {
@@ -2951,6 +2962,7 @@ export declare const BrowserSafeApis: {
2951
2962
  source: string;
2952
2963
  };
2953
2964
  setConfig: (pattern: string | null) => void;
2965
+ reset: () => void;
2954
2966
  id: "image-sequence-pattern";
2955
2967
  };
2956
2968
  readonly sampleRate: {
@@ -3223,6 +3235,7 @@ export declare const BrowserSafeApis: {
3223
3235
  value: boolean;
3224
3236
  };
3225
3237
  setConfig: () => void;
3238
+ reset: () => void;
3226
3239
  id: "muted";
3227
3240
  };
3228
3241
  readonly logLevel: {
@@ -3786,6 +3799,7 @@ export declare const BrowserSafeApis: {
3786
3799
  value: boolean;
3787
3800
  };
3788
3801
  setConfig: () => void;
3802
+ reset: () => void;
3789
3803
  id: "muted";
3790
3804
  };
3791
3805
  readonly logLevel: {
@@ -2487,6 +2487,9 @@ var imageSequencePatternOption = {
2487
2487
  setConfig: (pattern) => {
2488
2488
  currentImageSequencePattern = pattern;
2489
2489
  },
2490
+ reset: () => {
2491
+ currentImageSequencePattern = null;
2492
+ },
2490
2493
  id: cliFlag40
2491
2494
  };
2492
2495
 
@@ -2944,6 +2947,9 @@ var mutedOption = {
2944
2947
  setConfig: () => {
2945
2948
  mutedState = true;
2946
2949
  },
2950
+ reset: () => {
2951
+ mutedState = DEFAULT_MUTED_STATE;
2952
+ },
2947
2953
  id: cliFlag50
2948
2954
  };
2949
2955
 
@@ -2973,6 +2979,9 @@ var noOpenOption = {
2973
2979
  setConfig: (shouldOpen) => {
2974
2980
  shouldOpenBrowser = shouldOpen;
2975
2981
  },
2982
+ reset: () => {
2983
+ shouldOpenBrowser = true;
2984
+ },
2976
2985
  id: cliFlag51
2977
2986
  };
2978
2987
 
@@ -3340,6 +3349,9 @@ var overrideDurationOption = {
3340
3349
  });
3341
3350
  currentDuration = duration;
3342
3351
  },
3352
+ reset: () => {
3353
+ currentDuration = null;
3354
+ },
3343
3355
  id: cliFlag58
3344
3356
  };
3345
3357
 
@@ -3380,6 +3392,9 @@ var overrideFpsOption = {
3380
3392
  validateFps(fps, "in Config.overrideFps()", false);
3381
3393
  currentFps = fps;
3382
3394
  },
3395
+ reset: () => {
3396
+ currentFps = null;
3397
+ },
3383
3398
  id: cliFlag59
3384
3399
  };
3385
3400
 
@@ -3420,6 +3435,9 @@ var overrideHeightOption = {
3420
3435
  validateDimension(height, "height", "in Config.overrideHeight()");
3421
3436
  currentHeight = height;
3422
3437
  },
3438
+ reset: () => {
3439
+ currentHeight = null;
3440
+ },
3423
3441
  id: cliFlag60
3424
3442
  };
3425
3443
 
@@ -3460,6 +3478,9 @@ var overrideWidthOption = {
3460
3478
  validateDimension(width, "width", "in Config.overrideWidth()");
3461
3479
  currentWidth = width;
3462
3480
  },
3481
+ reset: () => {
3482
+ currentWidth = null;
3483
+ },
3463
3484
  id: cliFlag61
3464
3485
  };
3465
3486
 
@@ -3514,6 +3535,9 @@ var overwriteOption = {
3514
3535
  validate2(value3);
3515
3536
  shouldOverwrite = value3;
3516
3537
  },
3538
+ reset: () => {
3539
+ shouldOverwrite = null;
3540
+ },
3517
3541
  id: cliFlag62
3518
3542
  };
3519
3543
 
@@ -4850,6 +4874,9 @@ var videoCodecOption = {
4850
4874
  return { value: DEFAULT_CODEC, source: "default" };
4851
4875
  },
4852
4876
  setConfig: setCodec,
4877
+ reset: () => {
4878
+ codec = undefined;
4879
+ },
4853
4880
  id: cliFlag86
4854
4881
  };
4855
4882
 
package/dist/index.d.ts CHANGED
@@ -1237,6 +1237,7 @@ export declare const RenderInternals: {
1237
1237
  source: string;
1238
1238
  };
1239
1239
  setConfig: (pattern: string | null) => void;
1240
+ reset: () => void;
1240
1241
  id: "image-sequence-pattern";
1241
1242
  };
1242
1243
  readonly sampleRate: {
@@ -12,5 +12,6 @@ export declare const imageSequencePatternOption: {
12
12
  source: string;
13
13
  };
14
14
  setConfig: (pattern: string | null) => void;
15
+ reset: () => void;
15
16
  id: "image-sequence-pattern";
16
17
  };
@@ -31,5 +31,8 @@ exports.imageSequencePatternOption = {
31
31
  setConfig: (pattern) => {
32
32
  currentImageSequencePattern = pattern;
33
33
  },
34
+ reset: () => {
35
+ currentImageSequencePattern = null;
36
+ },
34
37
  id: cliFlag,
35
38
  };
@@ -202,6 +202,7 @@ export declare const allOptions: {
202
202
  value: boolean;
203
203
  };
204
204
  setConfig: () => void;
205
+ reset: () => void;
205
206
  id: "muted";
206
207
  };
207
208
  videoCodecOption: {
@@ -224,6 +225,7 @@ export declare const allOptions: {
224
225
  source: string;
225
226
  };
226
227
  setConfig: (newCodec: import("..").CodecOrUndefined) => void;
228
+ reset: () => void;
227
229
  id: "codec";
228
230
  };
229
231
  offthreadVideoCacheSizeInBytesOption: {
@@ -547,6 +549,7 @@ export declare const allOptions: {
547
549
  source: string;
548
550
  };
549
551
  setConfig: (shouldOpen: boolean) => void;
552
+ reset: () => void;
550
553
  id: "no-open";
551
554
  };
552
555
  pixelFormatOption: {
@@ -709,6 +712,7 @@ export declare const allOptions: {
709
712
  value: boolean;
710
713
  };
711
714
  setConfig: (value: boolean) => void;
715
+ reset: () => void;
712
716
  id: "overwrite";
713
717
  };
714
718
  binariesDirectoryOption: {
@@ -993,6 +997,7 @@ export declare const allOptions: {
993
997
  source: string;
994
998
  };
995
999
  setConfig: (pattern: string | null) => void;
1000
+ reset: () => void;
996
1001
  id: "image-sequence-pattern";
997
1002
  };
998
1003
  mediaCacheSizeInBytesOption: {
@@ -1252,6 +1257,7 @@ export declare const allOptions: {
1252
1257
  value: null;
1253
1258
  };
1254
1259
  setConfig: (height: number | null) => void;
1260
+ reset: () => void;
1255
1261
  id: "height";
1256
1262
  };
1257
1263
  overrideWidthOption: {
@@ -1271,6 +1277,7 @@ export declare const allOptions: {
1271
1277
  value: null;
1272
1278
  };
1273
1279
  setConfig: (width: number | null) => void;
1280
+ reset: () => void;
1274
1281
  id: "width";
1275
1282
  };
1276
1283
  overrideFpsOption: {
@@ -1290,6 +1297,7 @@ export declare const allOptions: {
1290
1297
  value: null;
1291
1298
  };
1292
1299
  setConfig: (fps: number | null) => void;
1300
+ reset: () => void;
1293
1301
  id: "fps";
1294
1302
  };
1295
1303
  overrideDurationOption: {
@@ -1309,6 +1317,7 @@ export declare const allOptions: {
1309
1317
  value: null;
1310
1318
  };
1311
1319
  setConfig: (duration: number | null) => void;
1320
+ reset: () => void;
1312
1321
  id: "duration";
1313
1322
  };
1314
1323
  rspackOption: {
@@ -12,5 +12,6 @@ export declare const mutedOption: {
12
12
  value: boolean;
13
13
  };
14
14
  setConfig: () => void;
15
+ reset: () => void;
15
16
  id: "muted";
16
17
  };
@@ -34,5 +34,8 @@ exports.mutedOption = {
34
34
  setConfig: () => {
35
35
  mutedState = true;
36
36
  },
37
+ reset: () => {
38
+ mutedState = DEFAULT_MUTED_STATE;
39
+ },
37
40
  id: cliFlag,
38
41
  };
@@ -15,5 +15,6 @@ export declare const noOpenOption: {
15
15
  source: string;
16
16
  };
17
17
  setConfig: (shouldOpen: boolean) => void;
18
+ reset: () => void;
18
19
  id: "no-open";
19
20
  };
@@ -26,5 +26,8 @@ exports.noOpenOption = {
26
26
  setConfig: (shouldOpen) => {
27
27
  shouldOpenBrowser = shouldOpen;
28
28
  },
29
+ reset: () => {
30
+ shouldOpenBrowser = true;
31
+ },
29
32
  id: cliFlag,
30
33
  };
@@ -13,6 +13,7 @@ export type RemotionOption<SsrName extends string, Type> = {
13
13
  source: string;
14
14
  };
15
15
  setConfig: (value: Type) => void;
16
+ reset?: () => void;
16
17
  id: string;
17
18
  };
18
19
  export type AnyRemotionOption<T> = RemotionOption<string, T>;
@@ -198,6 +198,7 @@ export declare const optionsMap: {
198
198
  source: string;
199
199
  };
200
200
  setConfig: (newCodec: import("..").CodecOrUndefined) => void;
201
+ reset: () => void;
201
202
  id: "codec";
202
203
  };
203
204
  readonly disallowParallelEncoding: {
@@ -284,6 +285,7 @@ export declare const optionsMap: {
284
285
  value: boolean;
285
286
  };
286
287
  setConfig: () => void;
288
+ reset: () => void;
287
289
  id: "muted";
288
290
  };
289
291
  readonly logLevel: {
@@ -1136,6 +1138,7 @@ export declare const optionsMap: {
1136
1138
  source: string;
1137
1139
  };
1138
1140
  setConfig: (pattern: string | null) => void;
1141
+ reset: () => void;
1139
1142
  id: "image-sequence-pattern";
1140
1143
  };
1141
1144
  readonly sampleRate: {
@@ -1408,6 +1411,7 @@ export declare const optionsMap: {
1408
1411
  value: boolean;
1409
1412
  };
1410
1413
  setConfig: () => void;
1414
+ reset: () => void;
1411
1415
  id: "muted";
1412
1416
  };
1413
1417
  readonly logLevel: {
@@ -1971,6 +1975,7 @@ export declare const optionsMap: {
1971
1975
  value: boolean;
1972
1976
  };
1973
1977
  setConfig: () => void;
1978
+ reset: () => void;
1974
1979
  id: "muted";
1975
1980
  };
1976
1981
  readonly logLevel: {
@@ -15,5 +15,6 @@ export declare const overrideDurationOption: {
15
15
  value: null;
16
16
  };
17
17
  setConfig: (duration: number | null) => void;
18
+ reset: () => void;
18
19
  id: "duration";
19
20
  };
@@ -42,5 +42,8 @@ exports.overrideDurationOption = {
42
42
  });
43
43
  currentDuration = duration;
44
44
  },
45
+ reset: () => {
46
+ currentDuration = null;
47
+ },
45
48
  id: cliFlag,
46
49
  };
@@ -15,5 +15,6 @@ export declare const overrideFpsOption: {
15
15
  value: null;
16
16
  };
17
17
  setConfig: (fps: number | null) => void;
18
+ reset: () => void;
18
19
  id: "fps";
19
20
  };
@@ -36,5 +36,8 @@ exports.overrideFpsOption = {
36
36
  (0, validate_1.validateFps)(fps, 'in Config.overrideFps()', false);
37
37
  currentFps = fps;
38
38
  },
39
+ reset: () => {
40
+ currentFps = null;
41
+ },
39
42
  id: cliFlag,
40
43
  };
@@ -15,5 +15,6 @@ export declare const overrideHeightOption: {
15
15
  value: null;
16
16
  };
17
17
  setConfig: (height: number | null) => void;
18
+ reset: () => void;
18
19
  id: "height";
19
20
  };
@@ -36,5 +36,8 @@ exports.overrideHeightOption = {
36
36
  (0, validate_1.validateDimension)(height, 'height', 'in Config.overrideHeight()');
37
37
  currentHeight = height;
38
38
  },
39
+ reset: () => {
40
+ currentHeight = null;
41
+ },
39
42
  id: cliFlag,
40
43
  };
@@ -15,5 +15,6 @@ export declare const overrideWidthOption: {
15
15
  value: null;
16
16
  };
17
17
  setConfig: (width: number | null) => void;
18
+ reset: () => void;
18
19
  id: "width";
19
20
  };
@@ -36,5 +36,8 @@ exports.overrideWidthOption = {
36
36
  (0, validate_1.validateDimension)(width, 'width', 'in Config.overrideWidth()');
37
37
  currentWidth = width;
38
38
  },
39
+ reset: () => {
40
+ currentWidth = null;
41
+ },
39
42
  id: cliFlag,
40
43
  };
@@ -12,5 +12,6 @@ export declare const overwriteOption: {
12
12
  value: boolean;
13
13
  };
14
14
  setConfig: (value: boolean) => void;
15
+ reset: () => void;
15
16
  id: "overwrite";
16
17
  };
@@ -43,5 +43,8 @@ exports.overwriteOption = {
43
43
  validate(value);
44
44
  shouldOverwrite = value;
45
45
  },
46
+ reset: () => {
47
+ shouldOverwrite = null;
48
+ },
46
49
  id: cliFlag,
47
50
  };
@@ -20,5 +20,6 @@ export declare const videoCodecOption: {
20
20
  source: string;
21
21
  };
22
22
  setConfig: (newCodec: CodecOrUndefined) => void;
23
+ reset: () => void;
23
24
  id: "codec";
24
25
  };
@@ -101,5 +101,8 @@ exports.videoCodecOption = {
101
101
  return { value: codec_1.DEFAULT_CODEC, source: 'default' };
102
102
  },
103
103
  setConfig: setCodec,
104
+ reset: () => {
105
+ codec = undefined;
106
+ },
104
107
  id: cliFlag,
105
108
  };
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.494",
6
+ "version": "4.0.495",
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
  },
23
23
  "dependencies": {
24
24
  "execa": "5.1.1",
25
- "remotion": "4.0.494",
26
- "@remotion/streaming": "4.0.494",
25
+ "remotion": "4.0.495",
26
+ "@remotion/streaming": "4.0.495",
27
27
  "source-map": "0.8.0-beta.0",
28
28
  "ws": "8.21.0",
29
- "@remotion/licensing": "4.0.494"
29
+ "@remotion/licensing": "4.0.495"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=16.8.0",
@@ -40,19 +40,19 @@
40
40
  "react-dom": "19.2.3",
41
41
  "@typescript/native-preview": "7.0.0-dev.20260217.1",
42
42
  "@types/ws": "8.5.10",
43
- "@remotion/example-videos": "4.0.494",
44
- "@remotion/eslint-config-internal": "4.0.494",
43
+ "@remotion/example-videos": "4.0.495",
44
+ "@remotion/eslint-config-internal": "4.0.495",
45
45
  "eslint": "9.19.0",
46
46
  "@types/node": "20.12.14"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@remotion/compositor-darwin-arm64": "4.0.494",
50
- "@remotion/compositor-darwin-x64": "4.0.494",
51
- "@remotion/compositor-linux-arm64-gnu": "4.0.494",
52
- "@remotion/compositor-linux-arm64-musl": "4.0.494",
53
- "@remotion/compositor-linux-x64-gnu": "4.0.494",
54
- "@remotion/compositor-linux-x64-musl": "4.0.494",
55
- "@remotion/compositor-win32-x64-msvc": "4.0.494"
49
+ "@remotion/compositor-darwin-arm64": "4.0.495",
50
+ "@remotion/compositor-darwin-x64": "4.0.495",
51
+ "@remotion/compositor-linux-arm64-gnu": "4.0.495",
52
+ "@remotion/compositor-linux-arm64-musl": "4.0.495",
53
+ "@remotion/compositor-linux-x64-gnu": "4.0.495",
54
+ "@remotion/compositor-linux-x64-musl": "4.0.495",
55
+ "@remotion/compositor-win32-x64-msvc": "4.0.495"
56
56
  },
57
57
  "keywords": [
58
58
  "remotion",