Jump to content

Need help. 4K movie stalled every 10 seconds.


Go to solution Solved by GrimReaper,

Recommended Posts

Posted (edited)

I was using Threadripper 3970 + RTX3090 for EMBY server. There was never been any problem. Everything run smothly. However, I need to used Threadripper for cloud gaming. I decide to switch Emby to VM. After I have done that. Even 1080p movie, it always stalled every 10 to 30 seconds.

Here is the vm spec for EMBY.

Xeon E5-2430 16 core, 24G RAM, Quadro p400 ( and RTXA2000).

I have no idea it is server spec relate or VM or my emby sitting which cause movie to stall.

Every time movie was stalling, the workload of the vm never hit 100% except for RAM. You can see the server performance while transcoding to 4K@60Mbps below.

[img]https://i.imgur.com/XfkTU9E.png[/img]

 

When EMBY play 4k small file (less than 10G). Most of them were fine. However, when play 4k big file (more than 10G). It will stall like usual.

No matter using Quadro p400 or RTXA2000, the result is the same.

Usually, EMBY server will transcode only 1 connection at a time. I watched movie from NVidia Shield Pro and brave browser.

Any help would be appreciated.

 

Thanks.

 

 

 

Edited by KJung
Posted

Hello KJung,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted (edited)

The hardware transcode is simply not fast enough to sustain the video buffer.

If the p400 works ok when not as a VM, then I would suggest there is something wrong with the video card passthrough.

image.thumb.png.539522fce20b3bceeead9703e607f66e.png

Edited by rbjtech
  • Solution
GrimReaper
Posted

Have you tried playing that item with subtitles disabled - or with external srt subs? 

Posted

I just try disable subtitles. It worked!!!! Now without subtitle even i was using 4K 160Mbps and encoding preset to veryslow. Movie was smooth. No pause even a bit. Thank you so much.

 

One last thing. How can I watch with subtitle? Is it possible?

GrimReaper
Posted
16 minutes ago, KJung said:

How can I watch with subtitle? Is it possible?

 

2 hours ago, GrimReaper said:

with external srt subs? 

Dowload external textual subs from provider like OpenSubtitles, SubScene, Addic7ed or any other of your preference. 

Posted

@KJung what hypervisor do you use for the VM?

Posted
56 minutes ago, justinrh said:

@KJung what hypervisor do you use for the VM?

Proxmox 7.3

Posted

Removing subtitles is not a solution - it is a workaround.  You are simply lowering the workload.

If you need to transcode, then you need to increase transcoding performance above 1x to sustain the buffer.   

if you had no issues transcoding using a real machine, but you do via a VM - then the issue is the VM GPU passthrough.... as I said above.

Posted
5 hours ago, rbjtech said:

Removing subtitles is not a solution - it is a workaround.  You are simply lowering the workload.

If you need to transcode, then you need to increase transcoding performance above 1x to sustain the buffer.   

if you had no issues transcoding using a real machine, but you do via a VM - then the issue is the VM GPU passthrough.... as I said above.

Thank you for  your advice.

I have tried to use RTXA2000 which equivalent to RTX3050 instead of p400. The result was the same.

Yes, I did do GPU pass-through to the EMBY server only.

However, all the resource being used including CPU GPU HDD were all below 50% while movie was stalled which I was in doubt that if hw was too low, why they used the resource not at the max 100% or at least near 100%

At then end of the day, if I need to used bare metal or increase more Resource for Emby. I will have to live with no subtitle or watch the movie via NVIDIA Shield.

Right now the problem only occur when watching via web interface in brave browser. Using NVIDIA Shield can watch movie smoothly and without any stall.

My plan is to install Emby in docker or Linux version, maybe it helps. Right now, Emby is in Windows 10.

Posted (edited)

If you can get an HEVC extension for Brave and play the AC3 or AAC soundtrack - then the Brave browser will likely direct play as well - I know Edge does this, as I can direct play 4K Remux's (with AC3 Audio) just fine. 

Edited by rbjtech
Happy2Play
Posted
10 minutes ago, rbjtech said:

If you can get an HEVC extension for Brave and play the AC3 or AAC soundtrack - then the Brave browser will likely direct play as well - I know Edge does this, as I can direct play 4K Remux's (with AC3 Audio) just fine. 

Not when it comes to graphical subtitles though.

  • Agree 1
Posted
2 minutes ago, Happy2Play said:

Not when it comes to graphical subtitles though.

True - but SRT's work just fine.  

  • Like 1
Happy2Play
Posted

Would think these cards wouldn't have a problem but can only guess it is something VM setup.

But at the same time there is this as options are disabled in 4.7.11.0.

Warning: Hardware-accelerated subtitle-overlay is disabled due to diagnostic option

 

  • 2 weeks later...
Posted

@KJung are you still having an issue with this?

Posted
On 3/5/2023 at 11:25 AM, Luke said:

@KJung are you still having an issue with this?

No, after disable subtitle. Problem was gone. I have to watch movie without subtitle.

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