remotion 3.3.41 → 3.3.42
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/audio/AudioForRendering.js +2 -2
- package/dist/config.d.ts +7 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
|
@@ -27,7 +27,7 @@ const AudioForRenderingRefForwardingFunction = (props, ref) => {
|
|
|
27
27
|
var _a;
|
|
28
28
|
return `audio-${(0, random_1.random)((_a = props.src) !== null && _a !== void 0 ? _a : '')}-${sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.relativeFrom}-${sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.cumulatedFrom}-${sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.durationInFrames}`;
|
|
29
29
|
}, [props.src, sequenceContext]);
|
|
30
|
-
const { volume: volumeProp, playbackRate, allowAmplificationDuringRender, ...nativeProps } = props;
|
|
30
|
+
const { volume: volumeProp, playbackRate, allowAmplificationDuringRender, onDuration, ...nativeProps } = props;
|
|
31
31
|
const volume = (0, volume_prop_1.evaluateVolume)({
|
|
32
32
|
volume: volumeProp,
|
|
33
33
|
frame: volumePropFrame,
|
|
@@ -76,7 +76,7 @@ const AudioForRenderingRefForwardingFunction = (props, ref) => {
|
|
|
76
76
|
props.playbackRate,
|
|
77
77
|
allowAmplificationDuringRender,
|
|
78
78
|
]);
|
|
79
|
-
const { src
|
|
79
|
+
const { src } = props;
|
|
80
80
|
// If audio source switches, make new handle
|
|
81
81
|
if (environment === 'rendering') {
|
|
82
82
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
package/dist/config.d.ts
CHANGED
|
@@ -12,7 +12,13 @@ declare type FfmpegExecutable = string | null;
|
|
|
12
12
|
declare type Loop = number | null;
|
|
13
13
|
declare type CodecOrUndefined = 'h264' | 'h265' | 'vp8' | 'vp9' | 'mp3' | 'aac' | 'wav' | 'prores' | 'h264-mkv' | 'gif' | undefined;
|
|
14
14
|
declare type Crf = number | undefined;
|
|
15
|
-
declare type FlatConfig = ObjectConfig['Bundling'] & ObjectConfig['Log'] & ObjectConfig['Preview'] & ObjectConfig['Puppeteer'] & ObjectConfig['Output'] & ObjectConfig['Rendering']
|
|
15
|
+
declare type FlatConfig = ObjectConfig['Bundling'] & ObjectConfig['Log'] & ObjectConfig['Preview'] & ObjectConfig['Puppeteer'] & ObjectConfig['Output'] & ObjectConfig['Rendering'] & {
|
|
16
|
+
/**
|
|
17
|
+
* Set the audio codec to use for the output video.
|
|
18
|
+
* See the Encoding guide in the docs for defaults and available options.
|
|
19
|
+
*/
|
|
20
|
+
setAudioCodec: (codec: 'pcm-16' | 'aac' | 'mp3' | 'opus') => void;
|
|
21
|
+
};
|
|
16
22
|
declare type ObjectConfig = {
|
|
17
23
|
/**
|
|
18
24
|
* @deprecated New flat config format: You can now replace `Config.Preview.` with `Config.`
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.42";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.42",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "bfb8098300fb75d4c27220eead954c2dc8e5b4ce"
|
|
69
69
|
}
|