fuelbas.blogg.se

Ffmpeg library to encode mp3
Ffmpeg library to encode mp3





ffmpeg library to encode mp3 ffmpeg library to encode mp3

FFmpeg MP3 Encoding Guide: FFmpeg Trac's great guide to encoding to mp3.Whatever sounds best on your playback hardware. Some experimentation might be in order with good choices for the bitrate being taken from the following LAME 'allowable' standards: 64k, 80k, 96k, 112k. Since your input file has an overall bitrate of 71.7 Kbps and a maximum bitrate of 93.8 Kbps we could perhaps fudge the numbers a little and use the following: ffmpeg -i show.m4a -c:a libmp3lame -b:a 96k output.mp3 Encoding to MP3 with a variable bitrate of 70-105 Kbps can be mapped to FFmpeg with the -q:a 8 option as below: ffmpeg -i show.m4a -c:a libmp3lame -q:a 8 output.mp3Īnd I suspect that this is your best option with your input file.Ĭonstant Bitrate (CBR) Encoding is a little over-used IMHO but if this suits your playback equipment best then it is a valid choice.

ffmpeg library to encode mp3

This would be my own choice if only for the reason that the original AAC file is also a VBR file. And FFmpeg is certainly the best tool for both of these! So you actually have two reasonable choices: encode to a Variable Bitrate MP3 file or simply decide on a suitable bitrate for Constant Bitrate (CBR) MP3 encoding. I note that your input file is actually a Variable Bitrate (VBR) AAC file with an overall bitrate of 71.7 Kbps and a maximum bitrate of 93.8 Kbps.







Ffmpeg library to encode mp3