[FFmpeg-user] Encoding raw alaw to PCM

Amit Dor-Shifer amit.dor.shifer at gmail.com
Thu Oct 27 00:25:18 CEST 2011


On Thu, Oct 27, 2011 at 8:33 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> 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
>
> 10x!
Can I achieve the same for raw g729, of same characteristics?


More information about the ffmpeg-user mailing list