[FFmpeg-user] Encoding raw alaw to PCM

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 26 23:33:17 CEST 2011


Amit Dor-Shifer <amit.dor.shifer <at> gmail.com> writes:

> Hi. I've a file containing raw audio payload, alaw-coded (I.E. just the
> bytes of the packets captured, 8khz, 1 chan, 8b/sample). I've successfully
> used sox to play this file, using the following:
> play -r 8k -t raw -e a-law -b 8 myfile

ffmpeg -ar 8k -f alaw -i file out.ogg

Carl Eugen



More information about the ffmpeg-user mailing list