Jump to content


Photo

Question about my bandwidth

transcoding

  • Please log in to reply
45 replies to this topic

#1 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 06 April 2020 - 10:19 AM

Hi

 

I have used Emby for a while and I have never managed to set my server up to work properly for transcoding. I had always assumed that I just had inferior hardware, but I recently updated my HTPC to a fairly reasonable machine (AMD Ryzen 5 3400G Processor with Radeon RX Vega 11 Graphics & 16GB DDR4 RAM 500GB SSD) but I still have the problem. I therefore have now a dedicated router for a Wireguard VPN with a stable 10MB/s connection when roaming, but I still get some movies that buffer incessantly (once every 2min for 30sec).

 

I have:

Emby Server 4.4.1.0

Hardware Acceleration is enabled

Transcoding thread count: 3

H.264 encoding preset: Auto

H.264 encoding CRF: 23

Internet streaming bitrate limit (Mbps): 6MB/s

 

Is there anything I am missing?

 

Thanks



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 06 April 2020 - 01:34 PM

Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. thanks.



#3 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 11 April 2020 - 06:50 AM

Hi

 

Apologies for the delay ... but here are the logs attached. Note that they are taken during playback of a movie that is causing the problem ...

 

Thanks

Attached Files



#4 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 11 April 2020 - 03:12 PM

... while I am here I thought I would also ask about whether my transcoding temp folder could be kept on my NAS? Basically I would prefer not using my SSD given the shorter life but when I tried previously I had buffering which at the time I assumed was due to hardware ... but should I typically expect on a wired LAN with a NAS on RAID5 to be able to cope with what is needed?

 

Thanks



#5 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 12 April 2020 - 03:42 PM

Hi, any ideas? Thanks in advance ...



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 12 April 2020 - 04:29 PM

If you're seeing significant buffering this is usually a sign that the bitrate is too high. Please try lowering the in-app quality setting and see if that helps. Thanks.



#7 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 12 April 2020 - 06:24 PM

Hi @Luke, I am watching on an LG TV and that option does not seem to be available ... Thanks



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 12 April 2020 - 10:07 PM

Where are you looking for it?

#9 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 13 April 2020 - 03:43 AM

When playing the movie (in the settings at the bottom right). I also tried to see a settings from the home page but I couldn't find any ...



#10 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51927 posts
  • Local time: 04:35 AM

Posted 13 April 2020 - 10:43 AM

Hi.  I believe the setting you are looking for is labeled "Quality"



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 13 April 2020 - 12:00 PM

When playing the movie (in the settings at the bottom right). I also tried to see a settings from the home page but I couldn't find any ...

 

Try clicking your user icon in the top right -> playback settings. Now are you able to locate it?



#12 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 13 April 2020 - 04:02 PM

Hi

 

Thanks, and yes, I did adjust that to 1080p - 5MB/s but it continues to buffer? I have a stable connection greater than 10MB/s ... is there something else to try?

 

Thanks ...



#13 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51927 posts
  • Local time: 04:35 AM

Posted 13 April 2020 - 04:06 PM

Yes, try dropping it down to 2 or 1 and then work your way back up until you find the sweet spot.



#14 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 13 April 2020 - 04:14 PM

Yes, try dropping it down to 2 or 1 and then work your way back up until you find the sweet spot.

 

Thanks ebr ... although I would have thought that it was my actual bandwidth that was the bottleneck ... but are you suggesting that it is something else in the system?



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 13 April 2020 - 04:41 PM

It really depends. It could also be ISP throttling happening on either side of the connection.



#16 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 14 April 2020 - 03:03 AM

It really depends. It could also be ISP throttling happening on either side of the connection.

 

it shouldn't be throttling as the ISP on both sides give me upwards of 50MB/s down and 20MB/s up ... and I have a Wireshark VPN installed giving a direct connection ... (that gives me at least 10MB/s connection to the client ...



#17 maegibbons OFFLINE  

maegibbons

    Advanced Member

  • Members
  • 2890 posts
  • Local time: 09:35 AM
  • LocationLutterworth, England, UK

Posted 14 April 2020 - 05:21 AM

it shouldn't be throttling as the ISP on both sides give me upwards of 50MB/s down and 20MB/s up ... and I have a Wireshark VPN installed giving a direct connection ... (that gives me at least 10MB/s connection to the client ...

How did you test this? With iperf?

Never assume anything with WAN links.

Krs

Mark

A 'like' is always appreciated!

Edited by maegibbons, 14 April 2020 - 05:22 AM.


#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 14 April 2020 - 10:10 AM

it shouldn't be throttling as the ISP on both sides give me upwards of 50MB/s down and 20MB/s up ... and I have a Wireshark VPN installed giving a direct connection ... (that gives me at least 10MB/s connection to the client ...

 

"shouldn't be" isn't the same thing as whether it actually is or isn't...



#19 Pseudomax OFFLINE  

Pseudomax

    Advanced Member

  • Members
  • 39 posts
  • Local time: 09:35 AM

Posted 14 April 2020 - 01:28 PM

So the connections are both my own paid for ISP connections. speedtest.net is how I tested these connections (on many occasions) and I use both connections for multiple other video streaming services that certainly give a decent quality stream (BBC iPlayer manages on a higher than normal setting).

 

So although I am sure you have many technical reasons why this could all be incorrect ... I am a reasonably proficient lay user (I managed to get a wireguard VPN up and running between both sites) ... so I would expect that there is some way it can explained to me where to go looking if this doesn't work ... rather than less helpful comments about how I didn't test correctly or why my ISP might be the problem...?

 

I will try @ebr 's suggestion of going backwards until I get success ... but I did provide my logs and there has been no comment on these?



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 04:35 AM

Posted 14 April 2020 - 01:53 PM

I will try @ebr 's suggestion of going backwards until I get success ... but I did provide my logs and there has been no comment on these?

Because there's nothing obvious yet unfortunately. The ISP throttling could be port based or service based which would explain why SpeedTest reports a high value.

 

Try using the web app to download one of your videos in the web browser. How fast does that go?







Also tagged with one or more of these keywords: transcoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users