[Libav-user] How to transcode mp3 file to G.711 encoded wav file

Robert Smith wmk587 at yahoo.com
Mon Dec 6 07:30:38 EET 2021


 Thank you for your response. 
Could you recommend code example of down sampling to 8kHz?

    On Friday, December 3, 2021, 06:15:54 PM EST, Bob Kirnum <bkirnum at gmail.com> 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 <libav-user at ffmpeg.org> wrote:
> 
> pCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16;
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
libav-user-request at ffmpeg.org with subject "unsubscribe".
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20211206/17b0d9c3/attachment.htm>


More information about the Libav-user mailing list