[FFmpeg-user] Conversion wav -> mp3 -> wav

André Hänsel andre at webkr.de
Thu Jun 22 23:39:02 EEST 2017

wav is uncompressed, you can put 15 minutes 10 seconds of really horrible music (or even just silence) in there, it will still be 154 MB.

The relationship between quality and file size only exists for compressed formats and you will find that the mp3 is much smaller than the wav.

-----Ursprüngliche Nachricht-----
Von: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] Im Auftrag von Rodolfo Medina
Gesendet: Donnerstag, 22. Juni 2017 22:20
An: ffmpeg-user at ffmpeg.org
Betreff: [FFmpeg-user] Conversion wav -> mp3 -> wav

Hi all.

As an experiment, I converted a .wav file to mp3 format and then back into wav again, just to see what happens:

 $ ffmpeg -i file1.wav file1.mp3
 $ ffmpeg -i file1.mp3 file2.wav

I've always heard and read that the first step produces a loss in quality.  So I would expect that to be seen in a reduction of size.  Instead, I was suprised to see that file1.wav and file2.wav are both 154M large.  Also the output of `ffmpeg -i' is almost the same for the two: in both cases, there is:

 Duration: 00:15:10.84, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s

So I wonder, and am asking to you listers, in where that quality loss is shown and how it can be detected.  Or maybe should we think and conclude that the original quality is restored with the second step...?

Thanks for any help,


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 mailing list