Jump to content

unRAID and emby (Internet streaming bitrate limit (Mbps))


Go to solution Solved by shiremail,

Recommended Posts

Posted

Hello together,

I installed emby (purchased emby Premiere for testing purpose). Activated the transcoding and played with various entries of 'Internet streaming bitrate limit (Mbps)' and 'LAN networks'. So far I can't get it to work. The bandwidth is not reduced, the CPU (iGPU) of the server is just idling and the playback on infuse (AppleTV) is interrupted after a while. This might have something to do with the setup of the server/emby and the playback device.

Server (192.168.1.x) emby in docker ---- Internet ---- AppleTV (192.168.10.x) with infuse

Those two networks are connected via VPN, so that they can reach each other directly. 

What should I enter in 'LAN networks' to acknowledge 192.168.10.x as external network and force the bandwidth reduction? Or are there other settings I have to change to make it work?

Bye.

 

GrimReaper
Posted
3 minutes ago, shiremail said:

Server (192.168.1.x) emby in docker ---- Internet ---- AppleTV (192.168.10.x) with infuse

Those two networks are connected via VPN, so that they can reach each other directly. 

What should I enter in 'LAN networks' to acknowledge 192.168.10.x as external network

Something like 192.168.1.0/24, depending on your network setup/number of clients. 

  • Like 1
Posted (edited)

I changed the setting, but no luck. Than I noticed in the log file the following:

 

4:28:54.385 ffmpeg version 5.1-emby_2023_06_25 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC
14:28:54.385 built with gcc 10.3.0 (crosstool-NG 1.25.0)
14:28:54.385 Execution Date: 2024-09-12 14:28:54
14:28:54.420 [h264 @ 0x6f8440] deblocking filter parameters -6 38 out of range
14:28:54.420 [h264 @ 0x6f8440] decode_slice_header error
14:28:54.421 [h264 @ 0x6f8440] top block unavailable for requested intra mode -1
14:28:54.421 [h264 @ 0x6f8440] error while decoding MB 44 17, bytestream 761
14:28:54.421 [h264 @ 0x6f8440] A non-intra slice in an IDR NAL unit.
14:28:54.421 [h264 @ 0x6f8440] decode_slice_header error
14:28:54.421 [h264 @ 0x6f8440] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
14:28:54.439 [h264 @ 0x6f8440] non-existing PPS 1 referenced
14:28:54.445 Input #0, mpeg, from '/mnt/test/test.iso':
14:28:54.445 Duration: 02:01:38.25, start: 600.000000, bitrate: 35685 kb/s
14:28:54.445 Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], Level 41, 23.98 fps, 23.98 tbr, 90k tbn, Start-Time 600.000s
14:28:54.445 Output #0, segment, to '/config/transcoding-temp/528585/528585_%d.ts':
14:28:54.445 Output file #0 does not contain any stream
 
Might this be the reason?
Edited by shiremail
Posted

If i understand this right you are trying to stream an ISO file.

That is not possible in Emby (or indeed any other streaming software afaik).
You will need to convert the ISO file into a compatible format with a tool like fx. "makemkv" https://www.makemkv.com/ after that Emby should be able to stream it.

Posted

Even with a mkv. No luck. Emby grabs all the available upload speed (37 Mbit/s) from the server side. Any other ideas? How can I check in amby if any transcoding is done to the file?

Posted
Spoiler

 

It is doing nothing:

 

 

Bildschirmfoto 2024-09-12 um 19.10.52.png

Posted (edited)
46 minutes ago, shiremail said:

Even with a mkv. No luck. Emby grabs all the available upload speed (37 Mbit/s) from the server side. Any other ideas? How can I check in amby if any transcoding is done to the file?

You can install the Diagnostic Plugin and look at the User Sessions when you play a file. It'll give you a live look at whats being transcoded.

Edited by guunter
Posted

Thanks....the server already shows me that nothing is happening. 

Posted (edited)
2 minutes ago, shiremail said:

Thanks....the server already shows me that nothing is happening. 

I thought infuse will direct play everything and set the bitrate to the file bitrate. I assume you can play a video when playing directly in the web browser?

Edited by guunter
  • Solution
Posted

Found it out...yeah it is infuse. The data capping of the stream works only with the emby app on the Apple TV. It seems there is some communication happening that allows amby server to do the job.

Thank you (all).

 

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