Jump to content

Question About My User Transcoding Permissions


Joechung
Go to solution Solved by Luke,

Recommended Posts

Dear EMBY technicians
I want to limit the network speed of EMBY users,
Excuse me, why my setting is saved as 1Mbps
My NAS server network check also exceeds 1Mbps?

This is the network data upload situation of my nas. I obviously set the limit to 1mbps. It actually reached 57.4mbps.9E826B2A-28E4-4FC1-8629-675F207F8B10.thumb.jpeg.c909dbef4f35370bd0beac46b3a596ae.jpeg

image.png.22fed19b6dabb70cf653760f86991dc3.png

Link to comment
Share on other sites

Happy2Play
32 minutes ago, Joechung said:

Dear EMBY technicians
I want to limit the network speed of EMBY users,
Excuse me, why my setting is saved as 1Mbps
My NAS server network check also exceeds 1Mbps?

This is the network data upload situation of my nas. I obviously set the limit to 1mbps. It actually reached 57.4mbps.

image.png.22fed19b6dabb70cf653760f86991dc3.png

No that is the limit set for Emby sessions.  That has zero factor on your NAS ISP internet connection speeds.

Now anything played remotely by Emby will be limited to 1Mbps per session with this setting.  But you would have had to set this value.

Edited by Happy2Play
  • Like 1
Link to comment
Share on other sites

5 minutes ago, Happy2Play said:

No that is the limit set for Emby sessions.  That has zero factor on your NAS ISP internet connection speeds.

Now anything played remotely by Emby will be limited to 1Mbps per session with this setting.

What do you mean by the restrictions of Emby session settings? I don't quite understand what you said.

Link to comment
Share on other sites

Happy2Play
3 minutes ago, Joechung said:

What do you mean by the restrictions of Emby session settings? I don't quite understand what you said.

That setting is restricting each session/stream to a 1Mbps limit.

Link to comment
Share on other sites

22 minutes ago, Happy2Play said:

That setting is restricting each session/stream to a 1Mbps limit.

I think I know what you mean. It is to restrict the use of the transmission data played by remote users, right? But what I don’t understand is that when I log in to the EMBY media library from an external network, I also set 1Mbps for playback. Why is the traffic received by my mobile phone 5~10MBPS per second? I obviously set 1mbps. May I ask why this happens?

My phone is not running any background, only EMBY is receiving network data.

795C3A54-2A2E-42DD-A9AD-08D2890D0E60.jpeg

Edited by Joechung
Link to comment
Share on other sites

GrimReaper
16 minutes ago, Happy2Play said:

That setting is restricting each session/stream to a 1Mbps limit.

Just to append on this: playback sessions for your remote users - streams. It does not affect their downloads. You can revoke download permission in each User settings. 

Link to comment
Share on other sites

2 minutes ago, GrimReaper said:

Just to append on this: playback sessions for your remote users - streams. It does not affect their downloads. You can revoke download permission in each User settings. 

I did not set up downloading. I just want to understand why I set a limit of 1Mps when using remote playback, but it is the same as unlimited?

Link to comment
Share on other sites

GrimReaper

Well, it shouldn't. If media has higher bitrate than limit set, it should cause transcoding down to/under limit value or cause Playback error of no streams available if transcoding is disabled. Post server log. 

Edit: Or your WAN is not recognized as external network, which happens in some setups, then it does not apply. 

Edited by GrimReaper
Append
  • Agree 1
Link to comment
Share on other sites

3 minutes ago, GrimReaper said:

Well, it shouldn't. If media has higher bitrate than limit set, it should cause transcoding down to/under limit value or cause Playback error of no streams available if transcoding is disabled. Post server log. 

Great, you finally understand what I mean. I am worried that if a limit is set, but the media library is still unlimited, it will greatly affect my use, because my family also uses EMBY. If you can't restrict it, it will affect me very much.
Please check the log.

embyserver.txt

Link to comment
Share on other sites

Happy2Play

Need specific example is not working but the log shows this.

2021-09-22 15:41:13.293 Info App: User policy for Jay Emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2021-09-22 15:41:13.294 Info App: RemoteClientBitrateLimit: 1000000, RemoteIp: xx.xxx.xxx.xxx, IsInLocalNetwork: False
2021-09-22 15:41:13.294 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 6766479, max bitrate: 1000000

 

  • Like 1
Link to comment
Share on other sites

34 minutes ago, Happy2Play said:

Need specific example is not working but the log shows this.



2021-09-22 15:41:13.293 Info App: User policy for Jay Emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2021-09-22 15:41:13.294 Info App: RemoteClientBitrateLimit: 1000000, RemoteIp: xx.xxx.xxx.xxx, IsInLocalNetwork: False
2021-09-22 15:41:13.294 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 6766479, max bitrate: 1000000

 

What should I do to successfully limit users?

Please help me, or how should I set it up?

Edited by Joechung
Link to comment
Share on other sites

GrimReaper
1 minute ago, Joechung said:

What should I do to successfully limit users?

Please help me, or how should I set it up?

For starters, you should give actual example and server log where it fails, as @Happy2Play showed you above, that limit does apply.

36 minutes ago, Happy2Play said:

Need specific example is not working but the log shows this.


2021-09-22 15:41:13.293 Info App: User policy for Jay Emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2021-09-22 15:41:13.294 Info App: RemoteClientBitrateLimit: 1000000, RemoteIp: xx.xxx.xxx.xxx, IsInLocalNetwork: False
2021-09-22 15:41:13.294 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 6766479, max bitrate: 1000000

 

 

Play some media remotely that you think is not respecting bandwidth limit and post some screenshots and log. 

Link to comment
Share on other sites

Happy2Play
1 minute ago, Joechung said:

What should I do to successfully limit users?

I don't follow as you are already limiting users to 1Mbps on all remote playback per sessions.  As that example above shows the user be in limited to 1Mbps.

Quote

2021-09-22 15:40:42.237 Info Server: http/1.1 Response 204 to xx.xxx.xxx.xx. Time: 5ms. http://xxxxxxxxx.myqnapcloud.cn:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=英豪&X-Emby-Device-Id=5F51EDEE-533F-474A-A17A-691A92EBBC80&X-Emby-Client-Version=2.0.8
2021-09-22 15:40:42.303 Info Server: http/1.1 Response 200 to 61.140.237.26. Time: 210ms. http://xxxxxxxxxxxx.myqnapcloud.cn:8096/emby/videos/80435/hls1/main/34.ts?DeviceId=5F51EDEE-533F-474A-A17A-691A92EBBC80&MediaSourceId=b1e3c17494450462f639ee04e87e5de8&PlaySessionId=cf4b8cfa60874f69b918352b892a348c&VideoCodec=h264,hevc,mpeg2video&AudioCodec=ac3,mp3,aac&VideoBitrate=616000&AudioBitrate=384000&AudioStreamIndex=1&TranscodingMaxAudioChannels=6&SegmentContainer=ts&SegmentLength=3&MinSegments=1&BreakOnNonKeyFrames=True&hevc-profile=Main,Main10&TranscodeReasons=ContainerBitrateExceedsLimit

 

Link to comment
Share on other sites

41 minutes ago, Happy2Play said:

I don't follow as you are already limiting users to 1Mbps on all remote playback per sessions.  As that example above shows the user be in limited to 1Mbps.

 

Hello, I mean I set the user limit of the network within 1m, but my actual test is beyond 1m to become unlimited. So my requirement is that I want to successfully limit the user within 1m.

Link to comment
Share on other sites

5 minutes ago, GrimReaper said:

Are you trolling us? 

? First of all, I respect every member of your EMBY staff. I think you have done a good job in EMBY, but I need to ask you some small questions. I have never thought of trolling you, and ONLY when I have real problems will I post information for help on the EMBY forum. Please don't get me wrong. Thank you.

Edited by Joechung
Link to comment
Share on other sites

GrimReaper

You've been told several times to provide specific example where you feel bitrate limit is not respected:

1 hour ago, Happy2Play said:

Need specific example is not working

 

1 hour ago, GrimReaper said:

For starters, you should give actual example and server log where it fails

 

1 hour ago, GrimReaper said:

Play some media remotely that you think is not respecting bandwidth limit and post some screenshots and log.

You've been shown and evidenced several times that your bitrate limit IS respected:

1 hour ago, Happy2Play said:

 but the log shows this.




2021-09-22 15:41:13.293 Info App: User policy for Jay Emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2021-09-22 15:41:13.294 Info App: RemoteClientBitrateLimit: 1000000, RemoteIp: xx.xxx.xxx.xxx, IsInLocalNetwork: False
2021-09-22 15:41:13.294 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 6766479, max bitrate: 1000000

 

 

1 hour ago, Happy2Play said:

I don't follow as you are already limiting users to 1Mbps on all remote playback per sessions.  As that example above shows the user be in limited to 1Mbps.

Quote

2021-09-22 15:40:42.237 Info Server: http/1.1 Response 204 to xx.xxx.xxx.xx. Time: 5ms. http://xxxxxxxxx.myqnapcloud.cn:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=英豪&X-Emby-Device-Id=5F51EDEE-533F-474A-A17A-691A92EBBC80&X-Emby-Client-Version=2.0.8
2021-09-22 15:40:42.303 Info Server: http/1.1 Response 200 to 61.140.237.26. Time: 210ms. http://xxxxxxxxxxxx.myqnapcloud.cn:8096/emby/videos/80435/hls1/main/34.ts?DeviceId=5F51EDEE-533F-474A-A17A-691A92EBBC80&MediaSourceId=b1e3c17494450462f639ee04e87e5de8&PlaySessionId=cf4b8cfa60874f69b918352b892a348c&VideoCodec=h264,hevc,mpeg2video&AudioCodec=ac3,mp3,aac&VideoBitrate=616000&AudioBitrate=384000&AudioStreamIndex=1&TranscodingMaxAudioChannels=6&SegmentContainer=ts&SegmentLength=3&MinSegments=1&BreakOnNonKeyFrames=True&hevc-profile=Main,Main10&TranscodeReasons=ContainerBitrateExceedsLimit

 

And yet you ask:

26 minutes ago, Joechung said:

So my requirement is that I want to successfully limit the user within 1m.

 

MAYBE PROVIDE ACTUAL EXAMPLE?! 

Edited by GrimReaper
Link to comment
Share on other sites

2 minutes ago, GrimReaper said:

You've been told several times to provide specific example where you feel bitrate limit is not respected:

 

 

You've been shown and evidenced several times that your bandwidth limit IS respected:

 

 

 

And yet you ask:

 

MAYBE PROVIDE ACTUAL EXAMPLE?! 

I understand. I will upload the picture log and test information later. I'll upload it later.

Edited by Joechung
Link to comment
Share on other sites

Q-Droid

Emby does not limit network bandwidth, it limits the media bitrate for the playback sessions. There is a subtle difference between those two things. Emby does not prevent the buffering of the stream to exceed the limit you've set because it does not control the network interfaces. But these are bursts, not steady state. So think of the limit as an average overall stream bitrate limit per session.

 

  • Like 1
Link to comment
Share on other sites

40 minutes ago, Q-Droid said:

Emby does not limit network bandwidth, it limits the media bitrate for the playback sessions. There is a subtle difference between those two things. Emby does not prevent the buffering of the stream to exceed the limit you've set because it does not control the network interfaces. But these are bursts, not steady state. So think of the limit as an average overall stream bitrate limit per session.

 

 

1 hour ago, GrimReaper said:

For starters, you should give actual example and server log where it fails, as @Happy2Play showed you above, that limit does apply.

 

Play some media remotely that you think is not respecting bandwidth limit and post some screenshots and log. 

May I ask that I have set the limit to 1M, why the remote playback is still the same as the direct playback?
Although I set the direct play without transcoding, BUT I have also set the limit of 1M ah, may I ask why this situation occurs?image.png.4db09e476cbf9a63d8b7b5a0d3107a0a.pngimage.png.6960a08e8fff8a27270d07b53c17f92c.pngimage.png.e61ef30805a7b684d6755814422f487e.png

embyserver.txt

Link to comment
Share on other sites

1 hour ago, Q-Droid said:

Emby 不限制网络带宽,它限制播放会话的媒体比特率。这两件事之间有微妙的区别。Emby 不会阻止流的缓冲超过您设置的限制,因为它不控制网络接口。但这些是爆发,而不是稳定状态。因此,将限制视为每个会话的平均整体流比特率限制。

 

 

19 minutes ago, Luke said:

因为您限制了对转码的访问。

 

2 hours ago, Happy2Play said:

我没有遵循,因为您已经将每个会话的所有远程播放的用户限制为 1Mbps。如上例所示,用户仅限于 1Mbps。

 

 

3 hours ago, GrimReaper said:

嗯,不应该。如果媒体的比特率高于限制设置,则应导致转码降低到/低于限制值,或者如果禁用转码,则会导致无可用流的播放错误。发布服务器日志。 

编辑:或者您的 WAN 未被识别为外部网络,这在某些设置中发生,那么它不适用。 

After I selected transcoding, it did become normal. Thank you for your help. I appreciate it.

Link to comment
Share on other sites

GrimReaper
1 hour ago, Joechung said:

 

May I ask that I have set the limit to 1M, why the remote playback is still the same as the direct playback?
Although I set the direct play without transcoding, BUT I have also set the limit of 1M ah, may I ask why this situation occurs?image.png.4db09e476cbf9a63d8b7b5a0d3107a0a.pngimage.png.6960a08e8fff8a27270d07b53c17f92c.pngimage.png.e61ef30805a7b684d6755814422f487e.png

embyserver.txt 5.36 MB · 0 downloads

That is not the situation you provided log initially for, as it had transcoding enabled and that was the assumption everyone had, that in some cases it oviously was not working for your - contrary to the logs showing otherwise. 

3 hours ago, Happy2Play said:

Need specific example is not working but the log shows this.


2021-09-22 15:41:13.293 Info App: User policy for Jay Emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2021-09-22 15:41:13.294 Info App: RemoteClientBitrateLimit: 1000000, RemoteIp: xx.xxx.xxx.xxx, IsInLocalNetwork: False
2021-09-22 15:41:13.294 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 6766479, max bitrate: 1000000

 

 

Link to comment
Share on other sites

3 minutes ago, GrimReaper said:

That is not the situation you provided log initially for, as it had transcoding enabled and that was the assumption everyone had, that in some cases it oviously was not working for your - contrary to the logs showing otherwise. 

 

Because I was not sure how to return to normal in the middle of the process, I made a choice between transcoding and direct output. Sorry if I was misunderstood.

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