[FFmpeg-user] audio pcm sample rate for G.711 and G.726

Moritz Barsnick barsnick at gmx.net
Wed Jun 11 14:55:12 CEST 2014


On Wed, Jun 11, 2014 at 18:45:58 +0800, Diaz Soho wrote:
> which sample rate is necessary for G.711, G.726 encode when I would like to
> capture audio pcm data from usb sound card?

Judging from Wikipedia, G.711 and G.726 both use 8 kHz only.

> 8KHz is MUST , right?

If your sound card doesn't support this sampling rate natively, you can
use a higher rate as input to ffmpeg and resample to 8 kHz (-ar 8000).

Moritz


More information about the ffmpeg-user mailing list