If I change
pCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16;
to
pCodecCtx->sample_fmt = AV_SAMPLE_FMT_U8;
Then I get the following error:
[pcm_mulaw @ 0x2d33450] Specified sample_fmt is not supported.
Any idea? Thanks
On Friday, December 3, 2021, 06:15:54 PM EST, Bob Kirnum
<[email protected]> wrote:
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".
_______________________________________________
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".