I use the following command to convert m4a format to mp3
ffmpeg -i audio.m4a -acodec libmp3lame audio.mp3
I've 32 x86 cores, however libmp3lame processes in a single thread. I know libmp3lame does not support multithreading, thus I'm open to other alternates that can be executed in ubuntu CLI.
If audio.m4a is 2hours long video, that usually takes > 3minutes and speed appears to be 45x to 50x.
My primary goal is to convert multiple youtube videos in mp3 format within seconds.
Update 1:
Since I'm using 32 cores CPU, when there's only one video conversion it utilizes just one core. So in that cases how to use multiple cores, to get output faster. I want to achieve the maximum from the CPU. Also if FFmpeg is not the answer, is there any other way.