[FFmpeg-user] Large Sized output files recieved while encoding the audio
shubham.tiwari at observe.ai
Wed Apr 20 20:50:32 EEST 2022
I think you are not reading the message properly. If you notice, the size
of the file i am passing is 2 mb, the return file size is 176 mb. Does 88
times increase seem reasonable to you?
I want the file to be in approximately similar quality and file size should
go at max 2 to 3 times. In this case upto 6 mb file size is fine.
I am doing this because we have a redaction logic to be executed on
approximately 1 million audio files per day. And all these calls are
stored in aws s3. so storing multiple files of size 176 mb doesn't seem to
be a good idea.
Concerning my lack of knowledge, I read the documentation page multiple
times but couldn't find something that gives me the right information. In
the end I reached out here. Concerning my lack of knowledge, probably some
help would be better instead of passing remarks.
On Wed, Apr 20, 2022 at 11:07 PM Bouke / Videotoolshed <
bouke at videotoolshed.com> wrote:
> > On 20 Apr 2022, at 19:30, Shubham Tiwari <shubham.tiwari at observe.ai>
> > Please accept my apology for putting a large size msg. I appreciate all
> > help received.
> > I have another example with similar behavior. The exact commands used are
> > below. The detailed output is attached in this email.
> > *command 1*: ffmpeg -i call.wav -af
> > "volume=enable='between(t,0,1)':volume=0" output.wav
> > *behaviour: *executed within a second, input file size 2.1 mb, output
> > size 176 mb
> > *command 2*: ffmpeg -i call.wav -af
> > "volume=enable='between(t,0,1)':volume=0" output.mp3
> > *behaviour: *executed time approx 40 seconds, input file size 2.1 mb,
> > output file size 15 mb
> You do not specify what kind of output file size you want, so yes, it will
> be ‘as it is’.
> Having a .wav extension on your input DOES NOT mean your input is
> uncompressed Wave PCM. (Wave Can be compressed, in your case, you have OGG
> compression with a .wav extension.)
> What do you expect / why are you doing this? The quality of your file will
> NOT get better, nor will the file size get significant down if you process
> Concerning your lack of knowledge, the only thing you can accomplish is
> making things worse.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user