Jump to content

Transcoding thread count issue


damien_c2

Recommended Posts

damien_c2

Hello, i have an issue (i have find an workaround) when transcoding thread count is set to auto, in some case (i dont know which one perfectly) when the cpu usage it higher than 15% Emby dosent use enough thread and make all the playback buffering. 

Note:

The cpu usage is not at 100% (only 15%-20%) 

Workaround:

Set transcoding thread count to an value other than auto fix the issue. 

emby.zip

Edited by damien_c2
Add file.
Link to comment
Share on other sites

OK - we are not talking about video here.

The first half of your logs are "directstream" which means that ffmpeg does nothing more than cutting the file into segments.
The other half of your logs are "remux".

These terms are confusing and inaccurate unfortunately: "directstream" is actually pure remuxing and "remux" is audio transcoding where video is only remuxed.

Could you please post only two ffmpeg log files showing the same playback scenario - one with and another one without the threads param being configured?

Thanks, sw

Link to comment
Share on other sites

damien_c2
13 hours ago, softworkz said:

OK - we are not talking about video here.

The first half of your logs are "directstream" which means that ffmpeg does nothing more than cutting the file into segments.
The other half of your logs are "remux".

These terms are confusing and inaccurate unfortunately: "directstream" is actually pure remuxing and "remux" is audio transcoding where video is only remuxed.

Could you please post only two ffmpeg log files showing the same playback scenario - one with and another one without the threads param being configured?

Thanks, sw

How i can know which stream going to the right log file ?

Link to comment
Share on other sites

3 minutes ago, damien_c2 said:

How i can know which stream going to the right log file ?

There's no log file "per stream".

Just look into the logs folder - do playback - stop playback - then you should see exactly one ffmpeg log having been added.
(you could also delete all ffmpeg logs before)

Link to comment
Share on other sites

  • 4 weeks later...

Thanks for the log!

It shows remuxing of the video and transcoding audio from AC3 to MP3.

The ffmpeg processing runs at about 30x, which means that it is 30 times faster than watching in normal timing.

What issue did you experience at the time when the log was recorded?

Thanks,
sw

Link to comment
Share on other sites

damien_c2
10 hours ago, softworkz said:

Thanks for the log!

It shows remuxing of the video and transcoding audio from AC3 to MP3.

The ffmpeg processing runs at about 30x, which means that it is 30 times faster than watching in normal timing.

What issue did you experience at the time when the log was recorded?

Thanks,
sw

Hello, buffering (video stop and play) 

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
On 12/30/2022 at 3:03 AM, damien_c2 said:

Hi since i have set to 16 no. 

Can you try setting it back to default and updating to Emby Server 4.7.11?

Link to comment
Share on other sites

damien_c2
On 2/5/2023 at 10:14 PM, Luke said:

Can you try setting it back to default and updating to Emby Server 4.7.11?

I will try but i have found an other issue whit transcoding. 

Link to comment
Share on other sites

On 2/13/2023 at 2:22 PM, damien_c2 said:

I will try but i have found an other issue whit transcoding. 

Hi, what issue?

Link to comment
Share on other sites

damien_c2
On 2/5/2023 at 10:14 PM, Luke said:

Can you try setting it back to default and updating to Emby Server 4.7.11?

I have set to auto and it look fine. 

  • Thanks 1
Link to comment
Share on other sites

  • 4 weeks later...

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...