Open witchpiggie opened 1 year ago
import Ffmpeg from "fluent-ffmpeg"; const filePath = 'C:\path\to\file.mp4'; const newFilePath = 'C:\path\to\newfile.mp4'; Ffmpeg(filePath) .addOptions([ '-codec copy', '-map_metadata -1' ]) .on('progress', info => console.log(`Progress: ${info.percent}%`)) .on('end', () => { console.log(`Completed ${filePath}`); (async()=> await fs.rm(filePath))(); }) .on('error', err => Logger.error(err)) .save(newFilePath);
File should be copied with metadata removed
Nothing happens. I run it and get no errors, or output of any kind. The files are the same and have not changed or been renamed.
same here, Mac OS.
Happened to me after a while on MacOS too.
Version information
Code to reproduce
Expected results
File should be copied with metadata removed
Observed results
Nothing happens. I run it and get no errors, or output of any kind. The files are the same and have not changed or been renamed.
Checklist