18:44
I am trying to create a simple video editor that combine two video by layering one over another, i can easily do it with ffmpeg, but I am not sure how can I make a preview of it before making final video? How video editor display preview without building them? I am looking towards create a react application.
14:54
thank you for your help with my problem.
I am using FFmpeg.wasm on Next.js to compress videos when users upload them. I then send the videos to a server and save them on AWS S3. For the client side, I'm using Next.js.
To solve the error "SharedArrayBuffer is not defined", I added the following code to next.config.mjs:
/** ⓐtype import('next').NextConfig */
const nextConfig =
reactStrictMode: false,
async headers()
return [
source: '/(.*)',
headers: [
key: 'Cross-Origin-Opener-Policy',
(...)