Open VasanthBetter opened 1 year ago
I am not a dev on this project, but I would suggest trying this with ffmpeg from the CLI.
If the issue persists there, then best contact people on the ffmpeg project. Be sure to information on OS, ffmpeg version and the file causing this issues.
@damianociarla @wilsonwc @aleray @ttillberg @ajmas Hey Hi am using ffmpeg file on node for converting video file to mp4 this conversion works for video less than 1 min but if it goes beyond 2 or 3 mins then this issue comes.Need urgent help to upload video of duration greater than 3 mins. ERROR: error conversion Error: ffmpeg exited with code 1: Conversion failed Too manv packets buffered for output stream 0:1.
My Code:
ffmpeg(videoPath) .toFormat("mp4") .on("start", (commandLine: any) => { console.log(
webm conversion started); }) .on("error", (err: any, stdout: any, stderr: any) => { console.log("error conversion", err, stdout, stderr); }) .on("end", (stdout: any, stderr: any) => { console.log("ended webm conversion"); s3uploadAndUnlink(); }) .saveToFile(convertMp4path);