[FFmpeg-user] Large Sized output files recieved while encoding the audio

morgan holly morganh at mac.com
Wed Apr 20 21:23:55 EEST 2022



> On Apr 20, 2022, at 12:13 PM, morgan holly via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> 
> 
>> On Apr 20, 2022, at 12:04 PM, Shubham Tiwari <shubham.tiwari at observe.ai> wrote:
>> 
>> Thanks Bouke for the opinion.
>> Help from any other person is appreciated!!
>> 
>> Regards,
>> Shubham
>> 
> 
> I have not read the entire thread, but it looks like your source is highly compressed, your output is uncompressed. So yes, in this scenario you should expect a much larger file size on the output. Does your redaction software only work with a wav input?
> _______________________________________________


Shubham,

If you want to have compressed audio in a wav wrapper, try this (but the quality will be bad because it’s compressed)

ffmpeg -i source.wav -b:a 120k -c:a aac output.wav

The “-c:a aac” switch sets the codec to aac (compressed) rather than uncompressed PCM. “-b:a” to set the data rate for the audio, if needed.


More information about the ffmpeg-user mailing list