Jump to content
macor64

4k playback keeps "loading" every couple of minues

Recommended Posts

macor64

i've been testing emby for playback of 4k/UHD files. when I play and 4k movie, it stops playback and i get a "loading" every couple of minutes. from the server management gui I see the following:

 

The media is compatible with the device regarding resolution and media type (H.264, AC3, etc.), but is in an incompatible file container (.mkv, .avi, .wmv, etc.). The video will be re-packaged on the fly before streaming it to the device.

 

Is MKV really an incompatible container in emby? This would really be bad for me because most of my 4k media is in an MKV format that I can stream directly to the TV with another media server software.

 

any suggestions that don't require conversion to another file container?

 

 

Thanks

Share this post


Link to post
Share on other sites
speechles

Can you try with the Emby Beta of the Roku app? This is our current development version. If this works we have this already corrected. If this does not we have work to do. Please let us know which it is. Thanks. :)

Share this post


Link to post
Share on other sites
macor64

"Can you try with the Emby Beta of the Roku app? This is our current development version. If this works we have this already corrected. If this does not we have work to do. Please let us know which it is."

 

I tried the beta roku app and, sadly it did not correct the issue. in fact, where I would actually see some of the movie playing before it would pause, I now only see the splash screen, although I hear the audio, while the screen says "retrieving"

 

Sorry the results aren't better for me.

Share this post


Link to post
Share on other sites
macor64

I can, but i realized that I was using the 4.3.0.15 beta code. I'm going to load 4.2.1.0 and retest. I will report results.

 

Thanks

Share this post


Link to post
Share on other sites
ebr

Hi.  Are you sure your system can handle the bitrate of the item you are trying to play?

 

This sounds like something is just unable to keep up.  The details requested will confirm or refute that.

 

Thanks.

Share this post


Link to post
Share on other sites
macor64

I tested 4k playback on emby server 4.2.1.0, which is running on an ubuntu server 18.04.3 LTS. virtual machine in a proxmox 6.0.9 VE environment:

 

8 x AMD FX-8320 EIght-Core Processor (1 Socket)

Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1(Wed, 03 Jul 2019 10:51:57 +0200)

pve-manager/6.0.9/508dcee0

 

The VM is configured 8 cores and 14GB of RAM and is connected to a gigabit network. the roku that is connected to the 4k TV is directly connected to the home gigabit network.

 

Playback of "The Dark Knight" exited after about 1:43 both times I tried the test (I tested with the beta roku app as well)

 

I have also tested with a non-vm environment and saw the same results. the other environment is a single ubuntu server 18.04.3 LTS running on a dell R710 with 48GB of memory.

 

Attached is the only log i can see on the emby server that has a time stamp around the time the testing was conducted.

embyserver_10.20.2019_08.32.am.txt

 

I will say that the VM environment has another ubuntu server 18.04.3 LTS vm configured identically but running plex and it does not experience the same 4k playback issue as emby.

 

There is only ever one user active at one time, so no chance of plex and emby both running at the same time, unless I purposely do it.

 

If you require any more information, please let me know.

 

I really want emby to work for me and have been testing, loading and reloading  for a while now. my stubborn self will not give up!

 

Thank you

Share this post


Link to post
Share on other sites
ebr

Hi. Can you please provide the media info from the bottom of the web app detail page for this item?  You are statically streaming it and I suspect the bitrate is just too high for the Roku.

Share this post


Link to post
Share on other sites
macor64

Original Media Info
Container:
mkv
Bitrate:
54.8 Mbps
Video codec:
HEVC Main 10
Video bitrate:
54.8 Mbps
Video framerate:
23.9760246 fps
Audio codec:
DTS DTS-HD MA
Audio channels:
6
Audio sample rate:
48000 Hz
Audio bit depth:
24

Share this post


Link to post
Share on other sites
Luke

Have you tried lowering the in app quality setting on the Roku? Usually this type of thing just means the bitrate is too high for the connection.

Share this post


Link to post
Share on other sites
macor64

Lowering the bitrate on 4k does not appear to make much difference as far as playback stability.

 

I can play a 4K movie at 1080p just fine. It may be that the combination of roku and the emby app in my environment just won't yield what I want, as far as 4k playback, and perhaps a future release of emby will perform better (4k playback)  for me. Emby IS really good and smoother for straight 1080p playback than Plex.

 

Thanks

Share this post


Link to post
Share on other sites
speechles

The only issue really is the DTS-HD MA isn't supported. If you lack DTS on the device the HDMI cable from your Roku is connected through this incurs a transcoding penalty for the audio.

 

Are you using GigaBit routers? The reason I ask is if you have the media on a separate storage device than Emby runs on. This means data must travel from the storage device to Emby then from Emby to your Roku. At 54.8Mbit that equates to 109.6Mbit. 109.6 > normal ethernet 100mbit. This might be what is causing your issue. The router is being bottlenecked. It doesn't matter that the devices do not support GigaBit. The routing table must and then your throughput increases. This might be all this is.

Edited by speechles

Share this post


Link to post
Share on other sites
macor64

I have a gigabit configuration throughout my home network. Emby media is nfs mounted from a nas on my home network. Both emby and the NAS are connected to the same physical network switch. The roku is also hard wired into the gigabit network. As far as what is supported, I still refer back to earlier in this thread about this message:  The media is compatible with the device regarding resolution and media type (H.264, AC3, etc.), but is in an incompatible file container (.mkv, .avi, .wmv, etc.). The video will be re-packaged on the fly before streaming it to the device.

 

 

Most of my media is in an MKV file container.

 

Thank you.

Share this post


Link to post
Share on other sites
speechles

It must be encountering an error while playing that MKV. That would make sense it then says it is in an imcompatible container when MKV is supported on Roku. It must be falling back into playback recovery. Something about that MKV it doesn't like. What does it say on stats for nerds in the Roku app when playing that item? This might be the 'ol 4GB bug making a reappearance on some models. Roku had an issue before with files over 4GB and their direct play would fail on them. This might be a regression in their firmware back to this old bug.

Edited by speechles

Share this post


Link to post
Share on other sites
ebr

55Mb/s is just too high for either the Roku or the network connection (remember the Roku device is a potential limiting factor here too).

 

You have to remember, these devices are designed to play streaming media...

Share this post


Link to post
Share on other sites
ajeffco

You have to remember, these devices are designed to play streaming media...

 

Isn't that what emby is doing, streaming media to the roku?  I'm looking to get a 4k TV soon and have started buying 4k discs, so I'm interested in how this works out. 

Share this post


Link to post
Share on other sites
macor64

I have 4k media that I can direct stream through the same roku (4k model) at over 60Mb/s easily over a wired network, using my other media player software. Of course, if I try to fire up more than one 4k stream, then I can see why I would have performance issues, but I only have one 4k TV so that is not an issue, or need, at the moment.

Share this post


Link to post
Share on other sites
ebr

Isn't that what emby is doing, streaming media to the roku?  I'm looking to get a 4k TV soon and have started buying 4k discs, so I'm interested in how this works out. 

 

I should have been more specific - remote streaming from services like Netflix, Hulu, etc.  Those guys don't provide streams over about 20Mb/s.

Share this post


Link to post
Share on other sites
ebr

I have 4k media that I can direct stream through the same roku (4k model) at over 60Mb/s easily over a wired network, using my other media player software. Of course, if I try to fire up more than one 4k stream, then I can see why I would have performance issues, but I only have one 4k TV so that is not an issue, or need, at the moment.

 

If you have the debug option enabled in the app, try turning that off.  Probably won't make a difference, but worth a shot.

Share this post


Link to post
Share on other sites
e27

I had the same issues but I changed to 5.1 surround sound and turned off all subtitles, and it works flawlessly with no transcoding @ 4K 120Mbits.  I am a little confused as to why the forced subtitle prevents it from playing correctly though? Hope this helps.

Edited by e27

Share this post


Link to post
Share on other sites
Luke

@@e27 can we please look at an example? Most likely the subtitles are in a format not supported by Roku and this requires transcoding.

Share this post


Link to post
Share on other sites
Luke

Isn't that what emby is doing, streaming media to the roku? I'm looking to get a 4k TV soon and have started buying 4k discs, so I'm interested in how this works out.

 

Yes, but streaming media from something like Netflix will be at a much lower bitrate. That's what this device is primarily designed for.

Share this post


Link to post
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...