You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screenshots are generated but are not saved in the tmp directory for the specified video file further below. However, it works as expected for all other video files.
Code to reproduce
// below is a snippet code from the actual function which returns a promise
const ffmpeg = require("fluent-ffmpeg");
const thumbnailFileNames = [];
ffmpeg(videoFilePath)
.on("filenames", (filenames) => {
thumbnailFileNames.push(...filenames);
})
.on("end", () => {
resolve(thumbnailFileNames);
})
.on("error", (err) => {
reject(err);
})
.screenshots({
timestamps,
filename: `${thumbnailFilePattern}-%s.png`,
folder: '/tmp',
size: `${width}x${height}`,
})
Version information
Problem
Screenshots are generated but are not saved in the tmp directory for the specified video file further below. However, it works as expected for all other video files.
Code to reproduce
Input file:
https://awsstage-test-video-ap-south-1.s3.amazonaws.com/112016/459d2a24-f9ed-49e4-af60-85018da4e737.mp4
Expected results
Screenshots generated and saved in tmp directory
Observed results
Screenshots are generated but screenshot image files not saved in tmp directory
The text was updated successfully, but these errors were encountered: