Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop

In this Discussion

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.

FFMPEG multi thread not working

somiksomik Member

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

  • drizbodrizbo Member
    edited May 2023

    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?

  • somiksomik Member
    edited May 2023

    @drizbo said:
    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?

    ffmpeg -i input.webm -vn -ab 128k -threads 4 -ar 44100 -y output.mp3
    

    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!

Sign In or Register to comment.