Skip to content

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

@VasanthBetter

Description

@VasanthBetter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions