Skip to content

🎥 Make videos programmatically with React

clear TODOs

Jonny Burgereeb7f1260668
diff --git a/packages/docs/docs/ssr-legacy.md b/packages/docs/docs/ssr-legacy.md
index 24e2f6a719..c4a50dbcba 100644
--- a/packages/docs/docs/ssr-legacy.md
+++ b/packages/docs/docs/ssr-legacy.md
@@ -35,7 +35,6 @@ const start = async () => {
const compositionId = "HelloWorld";
// Create a webpack bundle of the entry file.
- // TODO: This is wrong in Lambda
const bundleLocation = await bundle(require.resolve("./src/index"));
// Extract all the compositions you have defined in your project
@@ -66,7 +65,7 @@ const start = async () => {
const { assetsInfo } = await renderFrames({
config: composition,
// Path of the webpack bundle you have created
- serveUrl: bundleLocation,
+ bundle: bundleLocation,
// Get's called after bundling is finished and the
// actual rendering starts.
onStart: () => console.log("Rendering frames..."),
diff --git a/packages/renderer/src/stringify-ffmpeg-filter.ts b/packages/renderer/src/stringify-ffmpeg-filter.ts
index c2364d6b77..aa06b877b9 100644
--- a/packages/renderer/src/stringify-ffmpeg-filter.ts
+++ b/packages/renderer/src/stringify-ffmpeg-filter.ts
@@ -35,8 +35,6 @@ export const stringifyFfmpegFilter = ({
return (
`[${streamIndex}:a]` +
[
- // TODO: This will solve the issue of stitching videos together reported by Olli
- // on Discord. But will it introduce other problems where the audio is not right? Pending investigation
'apad',
`atrim=${trimLeft}:${trimRight}`,
// For n channels, we delay n + 1 channels.