New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
FFMPEG multi thread not working
I was trying to convert webm audio to mp3 using ffmpeg installed on my ubuntu 22.04 VM. It has been assigned 6 cores however no matter what I set, ffmpeg uses only 1 core, which is 16.6% of overall cpu usage.
I added the option -threads 4
but no change.
Anyone else face similar issue?
Comments
Whats your full command you use? I think at least libfaac doesnt support multithreading. Might be same for other audio codecs as well.
Did you try on a video file?
Just tried on video file. It works just fine. All 4 cores are used. So i guess the webm (aac) is the problem... Thanks for the suggestion!