I am using ffmpeg to convert an mp3 file to wav. Depending on whether I use streaming mode, I get different size files. In other words, the following generates different sized files:

ffmpeg -i in.mp3 in.wav
ffmpeg -i - in.wav < in.mp3

What is ffmpeg doing differently in the two scenarios? Is one version inherently "better" than the other?

  • Share full logs. What is the difference in sizes? – Gyan Jul 13 at 5:36
  • Drors-MacBook-Pro:Downloads drormaydan$ ls -l in.mp3 -rw-r--r--@ 1 drormaydan staff 9113 Jul 17 14:19 in.mp3 Drors-MacBook-Pro:Downloads drormaydan$ ffmpeg -nostats -loglevel error -i - in.wav < in.mp3 Drors-MacBook-Pro:Downloads drormaydan$ ffmpeg -nostats -loglevel error -i in.mp3 in2.wav Drors-MacBook-Pro:Downloads drormaydan$ ls -l in.wav in2.wav -rw-r--r-- 1 drormaydan staff 92502 Jul 17 14:27 in.wav -rw-r--r-- 1 drormaydan staff 88354 Jul 17 14:27 in2.wav – Dror Maydan Jul 17 at 21:24

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.