oivps 0 Posted April 23, 2020 Share Posted April 23, 2020 Hi, All the video freezes every 30-40 seconds for a couple of seconds and then continue. I got 50mbps connection. Tried even the lowest quality, also tried on both my LG Smart TV (65SM9010PLA) and my Laptop, all the same. Emby server is installed on a remote Ubuntu 18 server with 1 cpu and 2GB of ram. I checked the resource usage, it does not even pass 10%. Server is fast enough, download/upload up to 700mbps with no issue. My ping to the server: C:\Users\me>ping xxx.xxx.145.229 -t Pinging xxx.xxx.145.229 with 32 bytes of data: Reply from xxx.xxx.145.229: bytes=32 time=78ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=77ms TTL=49 Ping statistics for xxx.xxx.145.229: Packets: Sent = 14, Received = 14, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 75ms, Maximum = 78ms, Average = 75ms With transcoding enabled, I see "Media bitrate exceeds limit." error. Maybe related to the case: https://puu.sh/FBs8v/a1dd03bc3d.png Without transcoding, it was the same, freezing and freezing. https://puu.sh/FBrNs/356db1b923.png Emby server log: https://paste2.org/YtW4OwbH ffmpeg log: https://paste2.org/nekZXVs4 Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted April 24, 2020 Share Posted April 24, 2020 Hi, All the video freezes every 30-40 seconds for a couple of seconds and then continue. I got 50mbps connection. Tried even the lowest quality, also tried on both my LG Smart TV (65SM9010PLA) and my Laptop, all the same. Emby server is installed on a remote Ubuntu 18 server with 1 cpu and 2GB of ram. I checked the resource usage, it does not even pass 10%. Server is fast enough, download/upload up to 700mbps with no issue. My ping to the server: C:\Users\me>ping xxx.xxx.145.229 -t Pinging xxx.xxx.145.229 with 32 bytes of data: Reply from xxx.xxx.145.229: bytes=32 time=78ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=75ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=76ms TTL=49 Reply from xxx.xxx.145.229: bytes=32 time=77ms TTL=49 Ping statistics for xxx.xxx.145.229: Packets: Sent = 14, Received = 14, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 75ms, Maximum = 78ms, Average = 75ms With transcoding enabled, I see "Media bitrate exceeds limit." error. Maybe related to the case: https://puu.sh/FBs8v/a1dd03bc3d.png Without transcoding, it was the same, freezing and freezing. https://puu.sh/FBrNs/356db1b923.png Emby server log: https://paste2.org/YtW4OwbH ffmpeg log: https://paste2.org/nekZXVs4 your server can't keep up w/ the transcode. you can see in the logs it gradually slows to a point whee it simply can't transcode fast enough, thus the dropped frames. do you have emby set to a max bitrate in admin? since your uplink is obviously fast enough, you need to figure out why transcoding is happening. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 24, 2020 Author Share Posted April 24, 2020 your server can't keep up w/ the transcode. you can see in the logs it gradually slows to a point whee it simply can't transcode fast enough, thus the dropped frames. do you have emby set to a max bitrate in admin? since your uplink is obviously fast enough, you need to figure out why transcoding is happening. It is set as auto. But even with transcoding disabled I face the same problem. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 24, 2020 Author Share Posted April 24, 2020 I played with these settings as well, did not help: https://puu.sh/FBXCa/9f195fe779.png Should I change of these? https://puu.sh/FBY69/6b5102dff5.png Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted April 25, 2020 Share Posted April 25, 2020 try disabling hardware acceleration. does this happen with all media files? Link to comment Share on other sites More sharing options...
oivps 0 Posted April 25, 2020 Author Share Posted April 25, 2020 hardware acceleration is disabled. It works fine with this low quality and smaller size video: https://puu.sh/FCnAs/9787adbfb4.jpg It freezes on this bigger file: https://puu.sh/FCnAu/4145ae848c.jpg Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted April 26, 2020 Share Posted April 26, 2020 hardware acceleration is disabled. It works fine with this low quality and smaller size video: https://puu.sh/FCnAs/9787adbfb4.jpg It freezes on this bigger file: https://puu.sh/FCnAu/4145ae848c.jpg we've established that it is freezing because your server can't handle the transcode. HEVC Main 10 is not a format everything is capable of playing, which is why it's likely transcoding. What client are you trying to play this file on and does it support HEVC? If not, there is your answer. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 26, 2020 Author Share Posted April 26, 2020 we've established that it is freezing because your server can't handle the transcode. HEVC Main 10 is not a format everything is capable of playing, which is why it's likely transcoding. What client are you trying to play this file on and does it support HEVC? If not, there is your answer. Do you mean the server needs more/better CPU? Higher frequency or higher number of cores? The client is my LG TV, it is new 65SM9010PLA TV with quad CPU. I could play the file locally with no problem. But how this could be related to the client? I faced the same issue even on my laptop. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted April 26, 2020 Share Posted April 26, 2020 Do you mean the server needs more/better CPU? Higher frequency or higher number of cores? The client is my LG TV, it is new 65SM9010PLA TV with quad CPU. I could play the file locally with no problem. But how this could be related to the client? I faced the same issue even on my laptop. well, is it transcoding that file when you're trying to play it on your tv and laptop? check the dashboard when you're playing it, or check stats for nerds on the client. also, measure your actual real world bandwidth from the vps to your client using iperf or something. 50mbps advertised doesn't take into account hops and general overhead. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 26, 2020 Author Share Posted April 26, 2020 well, is it transcoding that file when you're trying to play it on your tv and laptop? check the dashboard when you're playing it, or check stats for nerds on the client. also, measure your actual real world bandwidth from the vps to your client using iperf or something. 50mbps advertised doesn't take into account hops and general overhead. Yes, it transcodes as shown in the first screenshot. The BW is quite good, I can download with almost 6.4 MB per seconds. I lowered the playback quality, it was the same. Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 26, 2020 Share Posted April 26, 2020 I would try lowering it to 1 mbps, then work your way up from there as you see success. Please see if that helps. thanks. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 26, 2020 Author Share Posted April 26, 2020 I would try lowering it to 1 mbps, then work your way up from there as you see success. Please see if that helps. thanks. Do you mean the transcoding? Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 27, 2020 Share Posted April 27, 2020 Yes exactly. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 27, 2020 Author Share Posted April 27, 2020 Yes exactly. Same, "Media bitrate exceeds limit." and freezing. Link to comment Share on other sites More sharing options...
oivps 0 Posted April 27, 2020 Author Share Posted April 27, 2020 I added more CPU, it is the same. You mean in users menu, right? Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 28, 2020 Share Posted April 28, 2020 I added more CPU, it is the same. You mean in users menu, right? No, in the playback settings of the Emby app that you're playing with. Please try this and let us know if it helps. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now