Jump to content

Bitrate exceeds DirectPlay/DirectStream limit


Go to solution Solved by Q-Droid,

Recommended Posts

Posted

I have a user who is connecting to an emby server over a good connection to the server (> 50Mbps). Their streaming bitrate is set to 30Mbps in their user profile and transcoding is enabled for the user. The server's Internet bandwidth is configured to 300Mbps (see screenshots). 

Specifically I'm seeing interruptions in playback with files that have a bitrate > 6 Mbps. For instance....

$ exiftool THE-COLOR-OF-MONEY.m4v | grep Bitrate
Avg Bitrate                     : 10.6 Mbps

 

...will give the following errors in the logfile...

 

2024-12-13 14:44:20.635 Info Server: http/1.1 Response 200 to ‌‍‍203.0.113.57‌. Time: 23ms. POST http://‌‍‍192.168.0.150‌:8096/emby/Items/1569/PlaybackInfo?UserId=cd480153e1b94642bb7e5ab5&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=6370000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV 
(QN55S95CAFXZA)&X-Emby-Device-Id=585facd9-109c-47f5-8c2a-fec904d9dcdc&X-Emby-Client-Version=1.9.0&X-Emby-Token=‌e277d34dfa88423a9a9855186d08ca17‌&X-Emby-Language=en-us&reqfoat=json
2024-12-13 14:44:20.851 Info HttpClient: GET http://assets.fanart.tv/fanart/movies/11873/hdmovielogo/the-color-of-money-517ecf8798a7f.png
2024-12-13 14:44:21.855 Info Server: http/1.1 POST http://‌‍‍192.168.0.150‌:8096/emby/Items/1569/PlaybackInfo?UserId=cd480153e1b94642a7ae9fc9bb7e5ab5&StartTimeTicks=0&IsPlaybarue&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=-1&MediaSourceId=mediasource_1569&MaxStreamingBitrate=6370000&X-Emby-Client=Emby for Samsung&X-Emby-
Device-Name=Samsung Smart TV (QN55S95CAFXZA)&X-Emby-Device-Id=585facd9-109c-47f5-8c2a-fec904d9dcdc&X-Emby-Client-Version=1.9.0&X-Emby-Token=‌e277d34dfa88423a9a9855186d08ca1‌&X-Emby-Language=en-us&reqformat=json. Source Ip: ‌‍‍203.0.113.57‌, UserAgent: Mozilla/5.0 (SMART-TV; LINUX; Tizen 7.0) AppleWebKit/537.36 (KHTML, like Gecko) 94.0.4606.31/7.Safari/537.36
2024-12-13 14:44:21.859 Info Server: http/1.1 POST http://‌‍‍192.168.0.150‌:8096/emby/Items/1569/PlaybackInfo?UserId=cd480153e1b94642a7ae9fc9bb7e5ab5&StartTimeTicks=0&IsPlaybaalse&AutoOpenLiveStream=false&MaxStreamingBitrate=6370000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN55S95CAFXZA)&X-Emby-Device-Id=585facd9-
109c-47f5-8c2a-fec904d9dcdc&X-Emby-Client-Version=1.9.0&X-Emby-Token=‌e277d34dfa88423a9a9855186d08ca17‌&X-Emby-Language=en-us&reqformat=json. Source Ip: ‌‍‍203.0.113.57‌, UserAgozilla/5.0 (SMART-TV; LINUX; Tizen 7.0) AppleWebKit/537.36 (KHTML, like Gecko) 94.0.4606.31/7.0 TV Safari/537.36
2024-12-13 14:44:21.884 Info App: User policy for EMBY-USER. EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-12-13 14:44:21.884 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.884 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.884 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.885 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.885 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.885 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.886 Info SessionManager: Adding playSession 23c0b2188cc64580884953c414d46880 to session 60d2f98cd2c463d434085a22e9370205
2024-12-13 14:44:21.887 Info App: User policy for EMBY-USER. EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-12-13 14:44:21.887 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.887 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.887 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.887 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.888 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 10662025, max bitrate: 6370000
2024-12-13 14:44:21.888 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000

 

How can I increase the performance of the server to not show interruptions in the user's stream?

Thanks in advance!

server-transcoding.png

server-bandwidth.png

user-profile-transcoding.png

user-profile-bandwidth.png

embyserver.txt

  • Solution
Posted (edited)
15 hours ago, hrvxla said:

Their streaming bitrate is set to 30Mbps in their user profile and transcoding is enabled for the user. The server's Internet bandwidth is configured to 300Mbps (see screenshots). 

All this does when setting on your server as shown is overriding the global limit for this user from 300 down to 30. The max bitrate of ~6 shown below is from from the bandwidth detection between the client and your server. To overcome this limit your user has to set a higher bitrate on their end in the app playback settings for their session.

Edit: The Auto setting on the client is unreliable, many would say it's broken and a hindrance.

15 hours ago, hrvxla said:
2024-12-13 14:44:21.884 Info App: Bitrate exceeds DirectStream limit: media bitrate: 10662025, max bitrate: 6370000

 

Edited by Q-Droid
added auto
  • Agree 1
Posted

Hi, you restricted the user’s access to remuxing. I would try turning that back on.

Posted
1 hour ago, Luke said:

Hi, you restricted the user’s access to remuxing. I would try turning that back on.

Where do you see that?

Posted

EnablePlaybackRemuxing: False

Posted

thanks for the help; bitrate on the app was adjusted and remuxing allowed for the user.

  • Thanks 1

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