[Libav-user] wav VS raw

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 9 11:53:58 CEST 2014

ReSearchIT Eng <researchiteng at ...> writes:

> the input files (wav and raw)

The files are not identical, the 
wav header is 46 bytes in your file.
You can also test:
$ ffmpeg -i 684.wav out.sw
out.sw is two bytes shorter than your file 
and produces identical output when decoding:
$ ffmpeg -i 684.wav -ab 23850 -f amr -acodec libvo_amrwbenc outwav.awb
$ ffmpeg -ar 16k -i out.sw -ab 23850 -f amr -acodec libvo_amrwbenc outsw.awb
$ md5sum outwav.awb outsw.awb
bc51eace259260e06bed90a8fa953fc4  outwav.awb
bc51eace259260e06bed90a8fa953fc4  outsw.awb

If you need more help, please find out what 
top-posting means, and stop it!

Carl Eugen

More information about the Libav-user mailing list