Jump to content

Throttle function not working


Bazzu85

Recommended Posts

Bazzu85

Hi,

 

tried a movie with throttle on, and in emby dashboard transcode details I've always thottle off..

 

tried to disable -> save -> enable -> save

 

this before last update 4.4.1.0 and so now...

Link to comment
Share on other sites

Please attach the emby server log. I just tested and it seems to be working just fine.

Link to comment
Share on other sites

Happy2Play

sorry, it was disabled..

 

here's the log with throttle enabled in transcoding section

Does this only happen on transcoded hevc content?  But to me it looks like the system can not keep up as there are a couple ThrottleBuffer in the log.

00:34:34.982 frame=  457 fps= 20 q=25.0 size=   12368kB time=00:00:19.44 bitrate=5468.6kbits/s throttle=off speed=0.796x    
>> ThrottleByStreamBufferSize: Playback position unknown
00:34:36.832 frame=  464 fps= 19 q=25.0 size=   12578kB time=00:00:19.70 bitrate=5483.2kbits/s throttle=off speed=0.75x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:01 - TranscodingPosition: 00:00:19 - ThrottleBuffer: 18s (Treshold: 120s)
00:34:38.941 frame=  466 fps= 17 q=25.0 size=   12644kB time=00:00:19.70 bitrate=5511.7kbits/s throttle=off speed=0.69x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:01 - TranscodingPosition: 00:00:19 - ThrottleBuffer: 18s (Treshold: 120s)
00:34:39.604 frame=  468 fps= 17 q=25.0 size=   12677kB time=00:00:19.70 bitrate=5526.5kbits/s throttle=off speed=0.673x    
00:34:40.098 frame=  473 fps= 17 q=25.0 size=   12807kB time=00:00:20.01 bitrate=5491.9kbits/s throttle=off speed=0.672x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:01 - TranscodingPosition: 00:00:20 - ThrottleBuffer: 18s (Treshold: 120s)
00:34:41.871 frame=  478 fps= 16 q=25.0 size=   13033kB time=00:00:20.18 bitrate=5539.9kbits/s throttle=off speed=0.638x    
00:34:42.485 frame=  487 fps= 16 q=25.0 size=   13303kB time=00:00:20.68 bitrate=5510.6kbits/s throttle=off speed=0.642x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:01 - TranscodingPosition: 00:00:20 - ThrottleBuffer: 19s (Treshold: 120s)
00:34:43.104 frame=  496 fps= 16 q=25.0 size=   13529kB time=00:00:20.97 bitrate=5523.9kbits/s throttle=off speed=0.638x    
00:34:43.666 frame=  505 fps= 16 q=25.0 size=   13790kB time=00:00:21.19 bitrate=5570.5kbits/s throttle=off speed=0.634x    
00:34:44.213 frame=  513 fps= 16 q=25.0 size=   14229kB time=00:00:21.67 bitrate=5614.9kbits/s throttle=off speed=0.638x    
Link to comment
Share on other sites

Bazzu85

here's a log of a transcode from an XVID file.. ffmpeg-transcode-ef3f9578-f122-4c92-9e75-32126c64cb60_1.txt

I started plya the file and pressed pause..

at the beginning emby says throttle off: post-176733-0-34478400-1586329891_thumb.jpg

 

after a while throttle is active: post-176733-0-10287100-1586329914_thumb.jpg

 

I made the same test with the movie HEVC and throttle remains off at the beginning: post-176733-0-54141100-1586330106_thumb.jpg

after a while is active: post-176733-0-03399800-1586330183_thumb.jpg

Link to comment
Share on other sites

neik

The throttle stays off until the buffer is filled and only then it activates the throttle.

So, until the buffer isn't filled the throttle will stay off in the dashboard.

Depending on the transcoding speed this happens quite fast or takes some time.

 

Looking at the snippet in Happy2Play's post, it would probably take a while for that file as it is transcoding slower than realtime speed (speed <1).

 

From your screenshots everything looks normal to me.

  • Like 1
Link to comment
Share on other sites

Bazzu85

The throttle stays off until the buffer is filled and only then it activates the throttle.

So, until the buffer isn't filled the throttle will stay off in the dashboard.

Depending on the transcoding speed this happens quite fast or takes some time.

 

Looking at the snippet in Happy2Play's post, it would probably take a while for that file as it is transcoding slower than realtime speed (speed <1).

 

From your screenshots everything looks normal to me.

 

I doesn't know this..

thx for your explanation!

  • Like 1
Link to comment
Share on other sites

Bazzu85

Why did you think something was wrong?

 

because when starting playing a movie I always see throttle off.

After a while I noticed that throttle became ON and @@neik explained me why..

Link to comment
Share on other sites

  • 9 months later...
rbjtech

It's actually a little confusing I agree ..

Throttle Off = CPU ON

Throttle Active = CPU OFF

Personally I would like to see this changed to something like 'Transcoding : Active' and 'Transcoding : Paused' - as that makes more logical sense.

 

Link to comment
Share on other sites

Q-Droid

Known issue with Chromecast, throttle doesn't "activate" and transcodes the whole thing without pausing.

 

 

 

Edited by Q-Droid
  • Like 1
Link to comment
Share on other sites

That pic looks correct.  If throttle is off you're telling it to not throttle or stop and just convert the whole thing.

Link to comment
Share on other sites

Happy2Play
1 hour ago, cayars said:

That pic looks correct.  If throttle is off you're telling it to not throttle or stop and just convert the whole thing.

But per the log 

>> ThrottleBySegmentRequest: Initialize - TargetBufferSize: 120s

>> ThrottleBySegmentRequest: Latest request position unknown

But as mentioned there is a issue with Chromecast, will see if I can find the other topic.

Link to comment
Share on other sites

From the quick peak at the log I didn't see throttle kicking in and it showed throttle off.

Link to comment
Share on other sites

Happy2Play
1 minute ago, Thidsa said:

But throttle is on in emby. I have never had it off....

Yes the log shows it enabled, but is not receiving the client info to make it work.

Here is a previous topic but still doesn't truly explain the cause.

Transcode Throttle appears to be broken - General/Windows - Emby Community

Link to comment
Share on other sites

Sorry guys, my bad. I read "This episode was transcoding in whole with throttle off, even with playback paused." as meaning the throttle setting was turned off.
I'll take a fresh look.

Thanks you!

EDIT: Looks like Q-Droid gave the reason correct?

Edited by cayars
Link to comment
Share on other sites

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