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',
(...)
06:46
I’m encountering an issue where executing an ffmpeg concatenation command through Rust’s Tokio process in a Docker container causes subsequent HTTP requests to fail. The error occurs exclusively after running the ffmpeg command and making immediate requests, resulting in a “curl 52 empty response from server” error with the connection being closed. Notably, this issue does not occur when running the same setup outside of Docker. Additionally, if no HTTP requests are made after the ffmpeg command, the curl 52 error does not occur.
Here is the verbose curl output of my minimum reproducible (...)
05:47
I am designing a video editor bot for Telegram. I want to use ffmpeg
and I need a text to be placed on the video and change the place of
the text randomly every few seconds.
[This has an example on the site itself.][1]
used the following command:
"/home/editor/downloads/video_2023-07-10_17-53-05_7375753324605210932.mp4"
-filter:v drawtext="fontsize=30:fontfile=/usr/share/hellotext=hellotext/share/World':
x=if(eq(mod(t\\,30)\\,0)\\,rand(0\\,(w-text_w))\\,x):y=if(eq(mod (t\\,30
)\\, 0)\\,rand(0\\,(h-text_h))\\,y)" -codec:v libx264 -codec:a copy
-preset (...)