Is there any best practice to keep the size of the transcoded output file under a specific size?
I need to keep it under <100 MB but somehow I end up with big output files. The problem is that my (test) video file is 600kb while the generated output.wav 4MB. It is quite far away from what I expected.
var proc = new ffmpeg({
source: file,
nolog: false
});
proc.addInputOption('-acodec libopus');
format = "wav";
proc.addOptions([
'-f ' + format,
'-ab 192000',
'-ar 16000',
'-vn'
]);
This is how I gave the parameters to ffmpeg library. What parameters should I change here to reduce the size and keep the max. quality?