[FFmpeg-user] Encoding raw alaw to PCM

Amit Dor-Shifer amit.dor.shifer at gmail.com
Fri Oct 28 01:09:32 CEST 2011

On Fri, Oct 28, 2011 at 1:15 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Amit Dor-Shifer <amit.dor.shifer <at> gmail.com> writes:
> > Attachment (test-123.sample): application/octet-stream, 2340 bytes
> Is there a software that can decode this sample?
> Carl Eugen
> I managed to decode this sample w/asterisk's g729 astconv tool (

./astconv codec_g729.so -d 10 /tmp/test-123.sample /tmp/test.slin

After-which, sox was able to play it:

play -r 8k -t raw -e signed-integer -b 16 /tmp/test.slin

More information about the ffmpeg-user mailing list