Reputation: 1
I'm trying to extract a thumbnail from a video using Fluent FFmpeg, but I'm encountering the error "muxing overhead: unknown, conversion failed." Despite this error, the thumbnail is being generated correctly.
Here's my code:
const screenshotPath = resolve(`${output}/${videoId}_thumbnail.png`);
ffmpeg(inputUrl)
.screenshots({
timestamps: [timestamp],
filename: screenshotPath,
size: '640x360'
})
.output(screenshotPath)
.on('error', (err) => {
log.error(`VideoId:${videoId} -> Error while extracting screenshot`, err);
});
I've already verified the following:
Despite these checks, the error persists. I'm wondering if this is a known issue or if there's something else I might be missing.
Upvotes: 0
Views: 66