[FFmpeg-user] Encoding raw alaw to PCM

Amit Dor-Shifer amit.dor.shifer at gmail.com
Wed Oct 26 04:52:42 CEST 2011

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

I want to achieve the same with ffmpeg, and more specifically, to re-encode
and save the payload in a different encoding/format (preferably ogg, but
PCM/wav would be nice for a start).

Would appreciate someone's input, as I'm fumbling with the cmdline args.


More information about the ffmpeg-user mailing list