src_simple is for converting a whole file in one go. It does not give good results when called multiple times on discrete chunks of the file like you are doing. If you want to convert the file in chunks like that, you should be using the src_process API. Also be aware that the libsamplerate source code tarball includes sources to a program
Okay. So if I want to add mp3 to mp3 split functionality like this: ffmpeg -i somefile.mp3 -f segment -segment_time 3 -c copy out%03d.mp3 I have to change configuration like this: ./configure --disable-everything --disable-network --disable-autodetect --enable-decoder=mp3*,pcm* --enable-encoder=flac --enable-libmp3lame--enable-parser=mpegaudio --enable-demuxer=mp3,wav --enable-muxer=flac,mp3
Download the mp3 from a specific URL. snap run youtube-dl -f your-choice-of-format --extract-audio --audio-format mp3