Chapter 958: Using @remotion/renderer in Next.js
Core Idea
The @remotion/renderer package has dependencies on a headless browser and FFmpeg, which makes using it in Next. js a bit tricky.
Key Concepts
- Deploy to Vercel
- While self-hosting Next.js
- See also
Code Examples
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
serverExternalPackages: ['@remotion/renderer'],
};
module.exports = nextConfig;
- What it demonstrates: Usage pattern for Using @remotion/renderer in Next.js from the official docs.
Key Takeaways
- Understand deploy to vercel when working with Using @remotion/renderer in Next.js.
- Understand while self-hosting next.js when working with Using @remotion/renderer in Next.js.
- Understand see also when working with Using @remotion/renderer in Next.js.
Connects To
- 4 0 Alpha: related page in the Miscellaneous (Core) section.
- ai: related page in the Miscellaneous (Core) section.
- Animated Emoji: related page in the Miscellaneous (Core) section.