Skip to content

🎥 Make videos programmatically with React

Update test-list.tsx

Jonny Burger10540d2cd7cb
diff --git a/packages/convert/app/tests/test-list.tsx b/packages/convert/app/tests/test-list.tsx
index 380feb5b92..5849ce3068 100644
--- a/packages/convert/app/tests/test-list.tsx
+++ b/packages/convert/app/tests/test-list.tsx
@@ -112,11 +112,30 @@ export const aviToMp4 = (): TestStructure => {
});
};
+export const rotatedVideo = (): TestStructure => {
+ const src =
+ 'https://remotion-assets.s3.eu-central-1.amazonaws.com/example-videos/iphone-hevc.mov';
+
+ return addTestWatcher({
+ name: 'Rotated video',
+ src,
+ async execute(onUpdate) {
+ await convertMedia({
+ src,
+ container: 'webm',
+ onAudioTrack: allowSafariAudioDrop,
+ onProgress: makeProgressReporter(onUpdate),
+ });
+ },
+ });
+};
+
export const testList: TestStructure[] = [
basicMp4ToWebM(),
av1WebmToMp4(),
aviToMp4(),
convertToWav(),
weirdMp4aConfig(),
+ rotatedVideo(),
lpcmLivePhoto(),
];