G.711 is 8 bits, could be an issue. Also, not sure if you need to downsample to 8kHz manually or not.
> On Dec 3, 2021, at 5:36 PM, Robert Smith via Libav-user > <[email protected]> wrote: > > pCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16; _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
