Jump to content

FFmpeg single thread/process


Recommended Posts

Posted (edited)

Hello,

 
I'm using Debian 8, 4c/8t processor xeon, Emby 3.2.33.0, mono-complete 5.2.0.224-0xamarin7+debian8b1, ffmpeg 3.2.5-1~bpo8+1
 
I have a performance problem.
 
After installing the emby server, the first play video happens very well and I have a lot of ffmpeg processes and all CPU threads (8) are used.
 
But soon, the other reads only start a single ffmpeg process and a single CPU thread.
So performance is limited and I have jerks
 
I have reinstalled several times my system, ffmpeg (multimedia repositories or Debian repositories) in different versions but ffmpeg always ended up running in mono process and mono thread.
 
A track?
Thank you
 
 

ffmpeg-remux-7eef8f9f-0544-4d32-89de-d9cb9c5c2c0b.txt

server-63643500657.txt

Edited by voisin-it
Posted

Hi, how are you determining this? I see -threads 0 in the log. Can you try updating your installed ffmpeg? Thanks.

Posted

Hi,

 
I see it with the htop command, ffmpeg uses a single thread.
I have tested ffmpeg from official debian repositories and Multimedia..
How to upgrade ffmpeg?
Compiling from trac.ffmpeg.org ?
 

 

In fact, even after the transcoding is complete, the video blocks and resumes variably while the entire processor is only 10%
Posted

I have also tested several configurations in the tab trancadage, but I have the impression that it has no effect

Posted
See the screenshot attached, this is the same video but the server does not execute the same command.
 

 

"ffmpeg -noaccurate_seek" when it is in single thread
 
 
Posted

That command is used depending on the input container, nothing to do with thread count.

Posted
Okay

 

In the Transacoding menu, "Number of transcoding threads: auto, max or 8" has no effect.

 

Do you have any idea about my performance problem, even after the trancodage is finished?

Posted

Yes that setting does have effect, notice the

 

-threads xxx parameter

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...