BUG not enough bandwidth or cpu capacity

Hi there,

it seems that I run into a bug wich I can’t locate exactly. It could be on the server or the iOS client.

Here is my issue and why it must be a bug.

I tried to run a file through the internet which needs to be transcoded to the lack of support from the iOS device. Either the satellite is circling forever or I got the message that my internet connection or my cpu isn’t powerful enough. When I check my network it seems that the upload is limited to 1 MBit or below.

If I connect due to VPN all runs fine. It transcodes of course and the stream is fine. Oh, of course my server is reachable and a frönend of mine can access my content on his shield.

So, do anybody else have a similar issue?

Device: DS916+
PSM: 1.13.5
iOS: 11.4 iPad
Client: 5.2

P.S. Please relocate this treat if it is in the wrong place.

P.P.S. I hate this crappie new forum.

I doubt it’s a bug so let’s figure out what’s how it should be.

Can you provide the XML for the video item you tried to play so we can figure out what’s going on?

Also, are you running the 32 or 64 bit PMS version? If you downloaded from Synology, you get the 32 bit version only which can’t support HW transcoding. Plex.tv/downloads will give you the 64 bit version.

Hi there. Unfortunately I only have limited access to my server now so i couldn’t catch the xml. ,But I tried different files.

I use the 64Bit version because the Transcode information shows hw Transcode. and I take my Updates always directly from Plex. It shows the same, if I play it trough VPN or without. So Transcoding seems to work well.

Edit:
Meanwhile I encountered the same issue through VPN sometimes, too. As workaround I started cloud sync and this was really strange. While I watching one file of the series, approximately 45 min, I synced further three files to the cloud. So the PMS have clearly the capacity and bandwidth. The funny part comes now, as I start the synced file I got a message that the server, the cloud, isn’t powerful enough and I was asked if I want to continue with the original file. I agreed and it run fine. So I conclude that there must be some issue in the remote settings in the iOS app.

P.S. Please ditch this shxxx forum

Obtaining XML:

  • Hover over item played to expose ellipsis while in the Web interface
  • Click ellipsis to expose dropdown
  • Click Get Info
  • In Info popup, click View XML in lower left corner
  • Highlight and copy from the top down to </media>
  • Paste into forum for reply

PS: The forum stays

1 Like

I tried this before, but as I mentioned, I have only limited access. This means I only can acces trough my iOS device and when I click there on the xml option it shows me only a blank screen.

Then, through your iOS device, use Safari. It will permit you to sign as the owner and obtain the info.

I tried safari and it shows only a blank tab, as I said. Nothing else, meanwhile I fired up a virtual remote machine in my network and gain through VPN and this machine to the requested information.

Media videoResolution=“sd” id=“281918” duration=“2544560” bitrate=“1321” width=“640” height=“352” aspectRatio=“1.85” audioChannels=“2” audioCodec=“mp3” videoCodec=“mpeg4” container=“avi” videoFrameRate=“PAL” videoProfile=“advanced simple”>





As I mentioned before, while I watching one stream from cloud sync I was able to Transcode and upload three more files like this.

  1. I added the requested information in my last post by using an VM.

  2. I did it like trumpy mentioned and it didn’t work. It just shows me a cryptic link only with a blan k tab. I tried this with safari and chrome, boath on iOS. I believe this is some typical Apple issue, so it’s annoying but nothing Plex can do. But i will give it a further attempt and post the results.

Surprise. Same result.

I launched the Plex app over Plex.tv, like trumpy wrote,
Logged in as admin
Opened the file
Show information
Clicked on the link below “show xml file”

It opens a new blank tab.

All.

I added a picture from what I did. I refrained to add a picture from a blank tab.

I am still think that this issue belongs in some crappie Apple restrictions.

However, I got the infos through my remote VM and pasted them in before trumpy post.

Read the first post. This post mentioned my problem with iOS. The apples issue came from getting I
The xml information.

I used a VM to fetch the requested xml informations, because i have an issue to get trough a browser on my iOS device.
The VM has nothing to do with my origin issue.

I wrote about the VM, because all the given instructions to get the xml via my iPad didn’t worked and I have to do a workaround.

So I copied almost the whole xml file. BTW, the forum reacts to this < symbols and hide the following text if it entered at the beginning of a line without a space between the next letter. So I had to add some spaces to the infos below.

MediaContainer size="1" allowSync="1" identifier
="com.plexapp.plugins.library" librarySectionID="2" librarySectionTitle="TV Serien" librarySectionUUID="d877f217-e5ba-4507-99dc-0ac323ed60a5" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1532413343">
< Video ratingKey="102309" key="/library/metadata/102309" parentRatingKey="102291" grandparentRatingKey="102141" guid="com.plexapp.agents.thetvdb://72449/4/18?lang=de" librarySectionTitle="TV Serien" librarySectionID="2" librarySectionKey="/library/sections/2" type="episode" title="Das Licht" titleSort="Licht" grandparentKey="/library/metadata/102141" parentKey="/library/metadata/102291" grandparentTitle="Stargate SG-1" parentTitle="Staffel 4" contentRating="TV-PG" summary="SG-1 findet einen verlassenen Goa'uld Palast, in dem ein Licht eine tödliche Hypnose hervorruft." index="18" parentIndex="4" rating="7.0" viewCount="1" lastViewedAt="1533735407" year="2001" thumb="/library/metadata/102309/thumb/1520437505" art="/library/metadata/102141/art/1520438008" parentThumb="/library/metadata/102291/thumb/1520437686" grandparentThumb="/library/metadata/102141/thumb/1520438008" grandparentArt="/library/metadata/102141/art/1520438008" grandparentTheme="/library/metadata/102141/theme/1520438008" duration="2544560" originallyAvailableAt="2001-01-26" addedAt="1515254410" updatedAt="1520437505">
< Media videoResolution="sd" id="281918" duration="2544560" bitrate="1321" width="640" height="352" aspectRatio="1.85" audioChannels="2" audioCodec="mp3" videoCodec="mpeg4" container="avi" videoFrameRate="PAL" videoProfile="advanced simple">
<Part accessible="1" exists="1" id="283018" key="/library/parts/283018/1230286496/file.avi" duration="2544560" file="/volume1/Anime_Serien/Taiga-Drama/Stargate SG1/Season 04/Stargate SG-1 - S04E18 - Das Licht.avi" size="420316678" container="avi" deepAnalysisVersion="2" requiredBandwidths="1977,1617,1485,1485,1485,1485,1485,1485" videoProfile="advanced simple">
< Stream id="545451" streamType="1" codec="mpeg4" index="0" bitrate="1045" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" frameRate="25.000" height="352" level="5" profile="advanced simple" refFrames="1" requiredBandwidths="1717,1356,1245,1245,1245,1245,1245,1245" width="640" displayTitle="Unbekannt (MPEG4)"/>
< Stream id="545452" streamType="2" selected="1" codec="mp3" index="1" channels="2" bitrate="129" audioChannelLayout="stereo" requiredBandwidths="130,130,130,130,130,130,130,130" samplingRate="48000" streamIdentifier="1" displayTitle="Unbekannt (MP3 Stereo)"/>
< Stream id="545453" streamType="2" codec="mp3" index="2" channels="2" bitrate="127" audioChannelLayout="stereo" requiredBandwidths="127,127,127,127,127,127,127,127" samplingRate="48000" streamIdentifier="2" displayTitle="Unbekannt (MP3 Stereo)"/>
< Stream id="545499" key="/library/streams/545499" streamType="3" codec="srt" language="Deutsch" languageCode="ger" displayTitle="Deutsch (SRT)"/>
<Stream id="545500" key="/library/streams/545500" streamType="3" codec="srt" language="English" languageCode="eng" displayTitle="English (SRT)"/>
< /Part>
< /Media>

@K1ngLear

With what appears to VMs and VPN,

I worked through this again. I have a couple questions. I am rephrasing to work to a hypothesis

  1. If everything works well through the VPN,
  2. Are both the server running and VPN initiated from within the VM?
  3. Client apps not connected to the VPN cannot see the server over the local LAN but can after they join the VPN?
  4. If the VM & VPN are independent, what are subnet IDs and and netmasks for the local LAN(s) involved.
  1. Thanks for reply

To your questions.

  1. Meanwhile the steam through my VPN stutter, too. I am syncing the files no to cloud sync and use this stream. In the time I stream one file from the cloud sync, I can sync up to three further file to the cloud.

  2. No, the PMS and VPN are not initiated through the VM.
    Obviously I expressed myself, due to my lousy English, not well enough. Sorry for that. I used the VM only to fetch the requested information, xml file, because on the virtual windows I had access to desktop based Webbrowser. I couldn’t access the xml info by using any iOS based browser.
    I repeat, the VM had nothing to do with my issue.
    The PMS runs nativ on my Synology in the LAN.

  3. The Client always see the PMS, either VPN or WAN, every time I could connect to the server.
    I am trying to connect over the WAN to my PMS. If I use the native connection on my iOS app I get the message that the connection or my cpu is to weak. If i connect through my vpn, sometimes all running well and sometimes nothing works.

  4. The VPN runs on my syno, so every vpn Traffic is routed to the NAS.

  5. Maybe is this information helpful, too.
    As soon as I try to stream from cloud sync I got a message that this server isn’t powerful enough for Transcode and it will be tried to play the original stream. Obviously the cloud sync haven’t any transcoding capabilities and the file in the cloud was transcoded previously. So, I guess the Plex is trying to transcode the file to the remote access quality setting and ignores that the origin quality is beneath this settings and no transcode is needed.

Sorry again for my shabby English and the misunderstandings which occurred based on that.

Please do not apologize for your bad English. My family and friends tolerate my “night ganz rightig” Deutsch :smiley: If we need help, serveral of the Ninjas are German and can help also. :slight_smile:

I hope I have translated well.

Internet ..........//...... Remote devices / players
   |
   |
Modem/Router / Wifi (?)
   |
   |
   +---------- Switch (?) --> Other devices
   |               |
Synology        Computer
   :
(VPN Service)
(PMS)

If you are using the iOS player at home, It uses your wifi?
I think you have this correct but wish to ask:

  1. The LAN IP of the Synology is the same subnet as the WiFi ? (192.168.x.x, 10.x.x.x, 172.16.x.x - 172.31.x.x) ?
  2. Do you use 2 ports on the Synology; One for the Internet and another of the LAN or everything on the same network adapter ?

Now about streaming and ‘not strong enough’…

The DS916+ can use hardware assisted transcoding for all MPEG2 and H.264 video. The DS916’s processor does not have the ability to process HEVC.

Also, I have seen some PAL video which is interlaced. Your file above is interlaced scan method.

Some of your files work and others do not.
Do the “progressive” scan file work but the “interlaced” do not work ?

I ask this because I think I see what is happening better now.

In some situation, PMS attempts two conversions in the CPU instead of one and fails.

  1. Convert Audio/Video to MP4 progressive scan for the iOS app
  2. Convert interlaced to progressive for the iOS app (Apple is only progressive)

If this is true, Do you have any fims which you can play at Original quality which are Progresive scan (720p / 1080p) on the iOS app? Do they play correctly?

  1. Yes, at home I use my WiFi connection.
  2. Yes, my Synology and my WiFi uses the same network and subnet mask. Your, layout of my structure is almost completely correct. All my devices, my access point and the router also, are connected to a switch. I use UniFi equipment for my whole network.
  1. The both port of my syno working with a link aggregation. So every traffic have to run to my switch and then to my router.

No, unfortunately is there no difference. After you mentioned it, I tried several files and all show the same result. Also is it very confusing that my server can transcode and transmit three files from the same series to the cloud while I am watching one via cloud sync. How can this happen? I can’t stream directly but I can do the work for three files, conclusion three times faster then necessary, in the background in the time one file plays. :flushed:

Also I don’t understand why he want to transcode the file in the cloud. Every time I start a file the app tells me that the server haven’t the power, of course it’s true due to it is just the cloud, to transcode the file. Then he asks me if it should be tried to play the file in original, I think it means the version stored in the cloud, version which playing flawless. So you see I get a lot question marks. Why want the system transcode something what the app can obviously play without any kind of problem.

Thx, for help.

It is unclear to me what you mean by “the cloud”

Your media is stored on your Synology.
It reads media from your Synology and transmits the data either local on LAN, local on WiFI, or remote to other devices via the internet.

Is this what you mean?

My Media is stored on my Synology. But due to the actual issue I was searching for a workaround to watch my content at my actual location.

To do so, I started syncing the content with cloudsync to google drive and stream it from there. Before the content will be uploaded to googledrive it must be transcoded by the PMS (Syno) Itself. As soon one file is transcoded it will be uploaded to googledrive and the next queued file will be transcoded. So while I am watching on file of this series three queued file are transcoded and uploaded to googledrive.

Hi there today i made a further test. Due to the fact that all my content is stored on a Synology, I’ve access through the dsfile app for iOS, too. I tried to play on of the mentioned file with the app and it starts flawless. So the connection drops definitely out.

I tried to access on fire tv stick, too. Unfortunately a similar issue. The requested stops every 20 sec. So I checked the transcoding process with plexpy and it shows me that the transcoding process is far ahead of the time index wich I was watching.

It seems that there is something wrong. Hope this further information helps you, too

P.s. I am still not at home.

One more info. It seems that Plex always think that I don’t have enough network performance so I ran a check again. I have on the server site 35 MBit Upload and on my actual location > 100 MBit Download capacity. Due to WiFi still remains 56 MBit. Plex tries to transcode to an 0.1 MBit stream. So, Plex doesn’t fetch the correct network capacity.