[Libav-user] Convert audio to G711 raw format

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Aug 2 12:08:57 EEST 2016

On Monday 01 August 2016 11:52:32 am you wrote:
> I want to convert an audio file to G.711 format. I can see encoding to uLaw
> PCM and aLaw PCM, but can't find a command line argument that will convert
> my audio file to simple G.711.

$ ffmpeg -i input -f alaw out1
$ ffmpeg -i input -f mulaw out2


$ ffmpeg -i input out.al
$ ffmpeg -i input out.ul

Carl Eugen

More information about the Libav-user mailing list