New Buffering Issues - Speed < 0.8 - After working great for months

Hi All,

So I’ve been using Plex without a problem for the last 7-8 Months or so, however lately my VPS cannot seem to keep up with transcoding.

A little background on my setup:

  • Ubuntu 16.04 VPS
  • 50 mbit/s / 50 mbit/s connection
  • Intel® Xeon® CPU E5-2450L @ 1.80GHz (2-cores on my VPS)
  • 4gb of RAM
  • Plex Server Version#: 1.13.5.5332
  • Plex Player Version#: 3.57.1

Video is being served out of a mega.co.nz backend mounted with rclone with a union-fs in-between.

This exact setup was working perfectly with content up to and including 1080p video transcoding.

One change I made lately was to reset my plex token as someone had gotten a hold of my previous one. Otherwise I haven’t made any changes to the system.

I turned on verbose logging temporarily and noticed speeds were always between 0.5-0.8, so definitely not enough to keep up with playing.

I have netstat installed on thsi server as well and watched that and htop during transcoding and the Plex Media Transcoder seems to be about hte only thing taking up any significant CPU resources…

Any other tips or anything else I could check to debug this?

Thanks!!

None of that matters so far.

XML of the video being played and what are the player settings?

Subtitles in use?
Are they being burned in?

Haha okay thanks, well subtitles are not being used - never have been.

I have transcoder quality set to “Prefer High Speed Encoding”

Video XML:

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="6" librarySectionTitle="TV Shows" librarySectionUUID="c4e94f40-aea6-4a6b-80ee-76411fc428c3" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1534566129"><Video ratingKey="3957" key="/library/metadata/3957" parentRatingKey="3952" grandparentRatingKey="3178" guid="com.plexapp.agents.thetvdb://289574/4/4?lang=en" librarySectionTitle="TV Shows" librarySectionID="6" librarySectionKey="/library/sections/6" type="episode" title="Sharon Osbourne, Kathleen Madigan, Jay Rock" grandparentKey="/library/metadata/3178" parentKey="/library/metadata/3952" grandparentTitle="The Late Show with Stephen Colbert" parentTitle="Season 4" contentRating="TV-14" summary="Stephen welcomes TV host Sharon Osbourne, comic Kathleen Madigan, with musical guest Jay Rock." index="4" parentIndex="4" viewOffset="1047000" viewCount="1" lastViewedAt="1536529852" year="2018" thumb="/library/metadata/3957/thumb/1536438699" art="/library/metadata/3178/art/1536395438" grandparentThumb="/library/metadata/3178/thumb/1536395438" grandparentArt="/library/metadata/3178/art/1536395438" grandparentTheme="/library/metadata/3178/theme/1536395438" duration="2451181" originallyAvailableAt="2018-09-07" addedAt="1536395365" updatedAt="1536438699"><Media videoResolution="1080" id="7088" duration="2451181" bitrate="4609" width="1920" height="1080" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mkv" videoFrameRate="NTSC" audioProfile="lc" videoProfile="high"><Part accessible="1" exists="1" id="7102" key="/library/parts/7102/1536396757/file.mkv" duration="2451181" file="/mnt/media/tv/The Late Show with Stephen Colbert/The Late Show with Stephen Colbert - 4x04 - Sharon Osbourne, Jay Rock.mkv" size="1412233515" audioProfile="lc" container="mkv" videoProfile="high"><Stream id="13552" streamType="1" default="1" codec="h264" index="0" bitrate="4609" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" frameRate="29.970" hasScalingMatrix="0" height="1080" level="40" profile="high" refFrames="4" scanType="progressive" width="1920" displayTitle="Unknown (H.264 High)"/><Stream id="13553" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" audioChannelLayout="stereo" profile="lc" samplingRate="48000" displayTitle="Unknown (AAC Stereo)"/></Part></Media><Extras size="0">
</Extras></Video></MediaContainer>

Oh Lord… is there any better way to format this in this post?

Do you guys normally just post screenshots of these to get the browsers nice xml formatting?

Normally, just use triple grave bracketing (on preceding and succeeding lines. Also, we only need the media information part itself. We don’t need the parent/ grand parent / artist info.

Grabbing only <media> makes it come out a lot clearer too

<Media videoResolution="1080" id="10082" duration="5439862" bitrate="35637" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="dca-ma" videoCodec="h264" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="high">
<Part accessible="1" exists="1" id="10082" key="/library/parts/10082/1505508175/file.mkv" duration="5439862" file="/volume1/Animated/Aladdin (1992)/Aladdin (1992).mkv" size="24232649635" audioProfile="ma" container="mkv" deepAnalysisVersion="2" requiredBandwidths="36753,36506,35870,35684,35684,35684,35684,35684" videoProfile="high">
<Stream id="3647" streamType="1" default="1" codec="h264" index="0" bitrate="34869" language="English" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" frameRate="23.976" hasScalingMatrix="0" height="1080" level="41" profile="high" refFrames="4" requiredBandwidths="31373,31157,30820,30775,30775,30775,30775,30775" scanType="progressive" width="1920" displayTitle="English (H.264 High)"/>
<Stream id="3648" streamType="2" selected="1" default="1" codec="dca" index="1" channels="6" bitrate="768" language="English" languageCode="eng" audioChannelLayout="5.1(side)" bitDepth="24" profile="ma" requiredBandwidths="5238,5108,4983,4983,4983,4983,4983,4983" samplingRate="48000" displayTitle="English (DTS-HD MA 5.1(side))"/>
</Part>
</Media>

Okay here we go, this is pretty exemplary of most of my content - 1080p h264 mkv container. Like I said, this was able to be transcoded to 720p and streamed without a problem for months, up until about a week or two ago. This would take at max 5-10 sec to buffer and then play without buffering all the way through.

I would sometimes try to direct play it to view it at 1080p and that worked well, as well. Unfortunately neither works anymore, I’m currently having some trouble with my VPS provider where im only getting about 50mbits up atm, where I should be getting around 200mbits up from my VPS.

This is obviously unrelated to not being able to transcode fast enough, however. Right?

Thanks!

<Media videoResolution="1080" id="7088" duration="2451181" bitrate="4609" width="1920" height="1080" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mkv" videoFrameRate="NTSC" audioProfile="lc" videoProfile="high">
<Part accessible="1" exists="1" id="7102" key="/library/parts/7102/1536396757/file.mkv" duration="2451181" file="/mnt/media/tv/The Late Show with Stephen Colbert/The Late Show with Stephen Colbert - 4x04 - Sharon Osbourne, Jay Rock.mkv" size="1412233515" audioProfile="lc" container="mkv" videoProfile="high">
<Stream id="13552" streamType="1" default="1" codec="h264" index="0" bitrate="4609" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" frameRate="29.970" hasScalingMatrix="0" height="1080" level="40" profile="high" refFrames="4" scanType="progressive" width="1920" displayTitle="Unknown (H.264 High)"/>
<Stream id="13553" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" audioChannelLayout="stereo" profile="lc" samplingRate="48000" displayTitle="Unknown (AAC Stereo)"/>
</Part>
</Media>

How about the VPS provider issue gets settled first then we re-evaluate where things stand at that point?

Sure thing, but generally 50mbit/s up should be enough to stream 720p video at 2Mbps right?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.