Skip to content

🎥 Make videos programmatically with React

chore(remotion-media): list synthetic audio fallback fixture

JonnyBurger94cfafee142f
diff --git a/packages/remotion-media/generate.ts b/packages/remotion-media/generate.ts
index 6a01dfe0c4..4f41741fb0 100644
--- a/packages/remotion-media/generate.ts
+++ b/packages/remotion-media/generate.ts
@@ -1,6 +1,6 @@
+import {$} from 'bun';
import {copyFileSync, existsSync, mkdirSync} from 'fs';
import path from 'path';
-import {$} from 'bun';
const audioCodecs = [
'aac',
@@ -34,7 +34,7 @@ type Category = (typeof categories)[number];
type VideoVariant = {
videoCodec: VideoCodec;
- audioCodec: AudioCodec;
+ audioCodec: AudioCodec | 'alac (default) / aac';
container: Container | 'm3u8';
fileNames: string[];
size: number;
@@ -620,6 +620,16 @@ variants.push({
category: 'edge-cases',
});
+// Already hosted in R2; retain the synthetic audio-fallback fixture in the catalog.
+variants.push({
+ videoCodec: 'h264',
+ audioCodec: 'alac (default) / aac',
+ container: 'mov',
+ fileNames: ['media-tests/unsupported-primary-alac-aac-v1.mov'],
+ size: 30234,
+ category: 'edge-cases',
+});
+
// Sound effects (pre-existing files, CC0 licensed)
const soundEffects = [
{
diff --git a/packages/remotion-media/variants.json b/packages/remotion-media/variants.json
index 6d7c8925f7..d6a35dc1ce 100644
--- a/packages/remotion-media/variants.json
+++ b/packages/remotion-media/variants.json
@@ -790,6 +790,14 @@
"size": 318935,
"category": "edge-cases"
},
+ {
+ "videoCodec": "h264",
+ "audioCodec": "alac (default) / aac",
+ "container": "mov",
+ "fileNames": ["media-tests/unsupported-primary-alac-aac-v1.mov"],
+ "size": 30234,
+ "category": "edge-cases"
+ },
{
"videoCodec": "none",
"audioCodec": "pcm",