@remotion/web-renderer 4.0.422 → 4.0.423

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.
@@ -1,7 +1,7 @@
1
1
  import { AudioSampleSource, type Quality } from 'mediabunny';
2
2
  export declare const createAudioSampleSource: ({ muted, codec, bitrate, }: {
3
3
  muted: boolean;
4
- codec: "aac" | "alaw" | "flac" | "mp3" | "opus" | "pcm-f32" | "pcm-f32be" | "pcm-f64" | "pcm-f64be" | "pcm-s16" | "pcm-s16be" | "pcm-s24" | "pcm-s24be" | "pcm-s32" | "pcm-s32be" | "pcm-s8" | "pcm-u8" | "ulaw" | "vorbis" | null;
4
+ codec: "aac" | "ac3" | "alaw" | "eac3" | "flac" | "mp3" | "opus" | "pcm-f32" | "pcm-f32be" | "pcm-f64" | "pcm-f64be" | "pcm-s16" | "pcm-s16be" | "pcm-s24" | "pcm-s24be" | "pcm-s32" | "pcm-s32be" | "pcm-s8" | "pcm-u8" | "ulaw" | "vorbis" | null;
5
5
  bitrate: number | Quality;
6
6
  }) => {
7
7
  audioSampleSource: AudioSampleSource;
@@ -360,6 +360,7 @@ var getEncodableAudioCodecs = async (container, options) => {
360
360
  // src/render-media-on-web.tsx
361
361
  import { BufferTarget, StreamTarget } from "mediabunny";
362
362
  import { Internals as Internals8 } from "remotion";
363
+ import { VERSION } from "remotion/version";
363
364
 
364
365
  // src/add-sample.ts
365
366
  import { AudioSample, VideoSample } from "mediabunny";
@@ -3805,6 +3806,9 @@ var internalRenderMediaOnWeb = async ({
3805
3806
  format,
3806
3807
  target
3807
3808
  }), 0);
3809
+ outputWithCleanup.output.setMetadataTags({
3810
+ comment: `Made with Remotion ${VERSION}`
3811
+ });
3808
3812
  const throttledProgress = __using(__stack2, createThrottledProgressCallback(onProgress), 0);
3809
3813
  const throttledOnProgress = throttledProgress?.throttled ?? null;
3810
3814
  try {
@@ -12,4 +12,4 @@ export declare const getMimeType: (container: WebRendererContainer) => string;
12
12
  export declare const getDefaultAudioCodecForContainer: (container: WebRendererContainer) => WebRendererAudioCodec;
13
13
  export declare const getSupportedVideoCodecsForContainer: (container: WebRendererContainer) => WebRendererVideoCodec[];
14
14
  export declare const getSupportedAudioCodecsForContainer: (container: WebRendererContainer) => WebRendererAudioCodec[];
15
- export declare const audioCodecToMediabunnyAudioCodec: (audioCodec: WebRendererAudioCodec) => "aac" | "alaw" | "flac" | "mp3" | "opus" | "pcm-f32" | "pcm-f32be" | "pcm-f64" | "pcm-f64be" | "pcm-s16" | "pcm-s16be" | "pcm-s24" | "pcm-s24be" | "pcm-s32" | "pcm-s32be" | "pcm-s8" | "pcm-u8" | "ulaw" | "vorbis";
15
+ export declare const audioCodecToMediabunnyAudioCodec: (audioCodec: WebRendererAudioCodec) => "aac" | "ac3" | "alaw" | "eac3" | "flac" | "mp3" | "opus" | "pcm-f32" | "pcm-f32be" | "pcm-f64" | "pcm-f64be" | "pcm-s16" | "pcm-s16be" | "pcm-s24" | "pcm-s24be" | "pcm-s32" | "pcm-s32be" | "pcm-s8" | "pcm-u8" | "ulaw" | "vorbis";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/web-renderer"
4
4
  },
5
5
  "name": "@remotion/web-renderer",
6
- "version": "4.0.422",
6
+ "version": "4.0.423",
7
7
  "main": "dist/index.js",
8
8
  "type": "module",
9
9
  "sideEffects": false,
@@ -19,16 +19,17 @@
19
19
  "author": "Remotion <jonny@remotion.dev>",
20
20
  "license": "UNLICENSED",
21
21
  "dependencies": {
22
- "@remotion/licensing": "4.0.422",
23
- "remotion": "4.0.422",
24
- "mediabunny": "1.29.0"
22
+ "@remotion/licensing": "4.0.423",
23
+ "remotion": "4.0.423",
24
+ "mediabunny": "1.34.2",
25
+ "@mediabunny/ac3": "1.34.2"
25
26
  },
26
27
  "devDependencies": {
27
28
  "@react-three/fiber": "9.2.0",
28
- "@remotion/eslint-config-internal": "4.0.422",
29
- "@remotion/player": "4.0.422",
30
- "@remotion/media": "4.0.422",
31
- "@remotion/three": "4.0.422",
29
+ "@remotion/eslint-config-internal": "4.0.423",
30
+ "@remotion/player": "4.0.423",
31
+ "@remotion/media": "4.0.423",
32
+ "@remotion/three": "4.0.423",
32
33
  "@types/three": "0.170.0",
33
34
  "@typescript/native-preview": "7.0.0-dev.20260105.1",
34
35
  "@vitejs/plugin-react": "4.1.0",