Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion failed. 2 frames left in the queue on closing ffmpeg #95

Open
VasanthBetter opened this issue Nov 21, 2022 · 1 comment
Open

Comments

@VasanthBetter
Copy link

VasanthBetter commented Nov 21, 2022

@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);

@ajmas
Copy link
Contributor

ajmas commented Dec 23, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants