General Observations after a few weeks of using PMS

Firstly… there are going to be criticisms in here… don’t take it personally, they’re simply observations based on my use of PMS and android apps over the last few weeks.

I will also be making a lot of comparisons to Emby, as I’ve been using that for almost 9yrs in it’s various forms… Since it was originally a media centre plugin for Vista called Video Browser… So I’ll be comparing the two and pointing out where each one excels and fails.

Just to be upfront about my home network as I will be talking about playback and speeds during this. Currently stuck with a router from my ISP until March when my current contract runs out. I will be getting a better deal with either their much newer router, or discount so I can purchase my own decent one… or switching to a new provider that has better equipment/discounts for using your own. My network is currently a 40Mbps Fibre to the cabinet service, with the cabinet only being 20yrs away from my house. I get the full 40 down and 10Mbps up. If I get the upgrade in March, that will double or triple.

My home network is a mix of wired and wi-fi. My desktop and my media server are wired on a gigabit lan, I have 2 tablets which connect via wifi, one is older and only connects at 72mbps whilst the new one connects at 144mbps. This is down to the router only being 2.4ghz at the moment. My new tablet will connect to 5ghz when I get it, my old tablet won’t. My current phone does the same and is also capable of connecting to 5ghz when I get it. I also have a crappy little android TV box. I was given it to play with and whilst I’ve proven that in theory it’s a decent thing to have… this particular one is a piece of crap. In a month or two I’ll be getting one of the new Shield TV boxes.

This week I shall be upgrading my home LAN. Adding a gigabit switch to my office and routing new cat6 cabling that will allow me to connect the android tv box & my samsung TV to it direct. I will revisit some of the playback issues/tests in a week or so to determine how the upgrade has affected playback.

Cosmetic look and feel. When it comes to the Web UI… Plex looks a dozen times better than Emby does now… Emby seems to be determined to try and force the exact same UI on both touch screen users as well as those using the Web UI. The single problem with this is simple… What works on a touch screen DOES NOT work in a web browser. The two require a completely different useage methodology. No matter how many times this is raised and pointed out with those devs… the blinkers come up and the Web UI degrades further with each release. In this regard, PMS is so far ahead in it’s ease of use, layout and easy access to all settings and options… that it makes Emby look amateurish. The plex team deserve a huge pat on the back for understanding how good design & layout can make or break a product. The layout and ease of use of the Web UI scores 7/10 for Plex and 5/10 for Emby.

There are many areas of improvement though. It’s impossible to search for collections/Boxsets and you simply cannot easily find movies that are part of a set in this way. You have to manually edit the metadata for each one and place them in a specific sort order.

One of the ways this can be improved is by placing links to a boxset from within the movie page… In exactly the same way that you can easily navigate from a TV episode to a season folder or even the parent show folder. Both Plex and Emby could benefit from this to make ease of use better for the user. the suggestion has been made to Emby and ignored (like most good ideas have been).

When it comes to a visual look of a Movie/TV page in the web UI… the lack of information with Plex is disappointing. There’s no easy way to find out the cast other than 3 or 4 of the main cast members. No images so you can see who they are… This is actually an area that emby excels at… although the actual implementation and layout falls far short. But the idea is excellent… the design is where it fails. So where the amount of info available to the user is concerned… Emby gets an 8 and Plex gets a 4.

Still sticking with the web UI and this is the most important one of all.

Playback & Transcoding.

When the browser is able to play something nateively, both Plex and Emby are evenly matched, playback within Firefox is smooth and the sound is excellent through my 5.1 amp in my office.

When the server has to transcode however… things become very different. Most of my media comes in x265 (HEVC) format with AAC or AC3 5.1. I have been replacing my older TV shows with better quality ones and re-ripping all my DVD’s and Bluray discs as time allows. It’s a long process to do a single movie, so to do hundreds is a process that’s been going on for almost 12 months now and isn’t close to being finished. The same applies to my TV shows, of which I also have a very large collection on disc. I am a prolific collector of movies and TV shows… Have been for all my adult life.

When you compare Plex & Emby and their respective abilities to transcode x265 media in the web ui… Emby manages this almost flawlessly… Plex however is utterly inadequate. I have tested at great length the same files one after the other with both emby and plex and every single time when plex struggles… Emby is virtually perfect… When Plex falls over and cannot play a file, Emby breezes it. I constantly get ‘this server is not powerful enough to play this’ messages with Plex… when the same file is played with Emby, no such issues are present.

I have done my best to ensure all settings are the same, that where possible things are played natively as much as possible.

I have also compared playback on each file with VLC as well as both Emby & PMS… In one case using VLC actually highlighted a corrupted video file, so it was replaced and tests run again with something else.

Then there’s the problem with system processes… Emby has a single process for the server, and another that is active when it transcodes. plex requires I’m not sure how many… because the 6 that are currently running as I type this (not playing any media) can jump to 20 when you start playing something… I kid you not… at some points there are 10-12 plexscripthost.exe’s running and for some reason a lot of conhost.exe process start up at the same time. If you close Plex… my total process drop from it’s current 78 (not playing anything, but was a short while ago) to a mere 62. plex requires 16 processes whilst not currently playing any media and is using 3 to 4 times as much memory as Emby.

This is a massive issue and it’s draining system resources… and my system isn’t low or slow on either… 8GB ram and a quad core 4.2ghz FX cpu. With just the basics and emby running, my system consumes around 2.75gb of memory and most of the time the CPU is in idle mode and running in low power mode. When the basics and Plex are running… memory is in the same ball park but it’s always running the CPU at full power… never goes into idle/low power mode. When actually playing/transcoding a video file that’s being played in a web browser on another system… Plex jumps into the mid 80 processes, and many of those fail to stop after the media does. To get rid of them you either have to stop them each individually or shut down PMS and restart it.

Conclusions are that Emby has come a long way with their transcoding but Plex is languishing a long way behind… Plex is also a massive resource hog and running emby and plex side by side, even on a decent system like mine… Is taxing. So for web ui transcoding playback… Emby gets a 9 whilst Plex gets a 6.

For sheer use of resources… Emby gets a 7 but Plex gets a 4.

The android experience.

Cosmetics… Once again plex is way out in front with a nice look and feel to it’s design, navigation is good but a lack of access to information without actually going into each individual item is very noticeable when you’ve become accustomed to it. Emby for android is a little better, still not a fan of some of the poor design choices and direction it’s heading it. But it works well and looks ok. Both score good for this… Plex gets 8, Emby 7

Playback… Once again some massive issues with playback… x264 plays almost flawlessly on both… But x265 which should be playing natively on ALL devices, as all are more than capable of it… Is a struggle for Plex once more. It’s transcoding many files for playback that DO NOT require transcoding and no amount of playing with the settings seems to resolve this… It’s seemingly random and I cannot figure out why. Emby on the other hand trundles along perfectly happily playing direct on both the tablet, phone and Samsung TV.

Another bad score for Plex… Just 6 in this regard Whilst Emby gets a 9.

There are other tests to do… I currently cannot test out Plex for kodi because as it stands… plex is not worth paying a subscription for… Not for me, not yet. I have had a lifetime subscription for emby for a long time now. But I’ve been a supporter for it for a long time… It’s a shame that the poor design and lack of development focus is hampering it so much. It’s why I came to try out PMS… I bought the android app but the rest isn’t at a lace when it’s worth paying for things that simply aren’t working as they should yet. But the potential is there, and if the core issues can be fixed… It’ll be brilliant.

There is no clear winner… what Plex fails with, Emby does well, but where Emby fails, plex excels by a huge margin… So simply trying to score out of 10 for various things doesn’t give a real world picture of things.

If I had a wish… it would be to combine the visual and design aspects of Plex with the behind the scenes core stuff of Emby… Now that would be a thing of beauty to use.

As for my use… for now, I shall continue to use both in various ways… Web UI is emby for ease of playback and I just have to put up with the crappy design interface and terrible ease of use. When it comes to android use, it’s 50/50. I use Plex first and fall back to emby when plex fails with x265 stuff… I’m stuck with Emby for kodi until such a time as it’s available for all… again, not paying for something that I am unable to properly test and evaluate.

When playing stuff on my Samsung TV (2014 Series6) I would normally gravitate to plex… but for one major issue. Everytime I open Plex on the TV it prompts me to do the link code again. As a result I rarely use it… partly because the mediaserver is currently hooked up to the same TV… but when I redo my network layout, it might be relocated somewhere else. Having to grab my tablet/phone or switch source to a web browser to enter the link code every time… it’s a nuisance and it’s extremely annoying and puts me off using plex at all on a TV.

Plex is good, don’t get me wrong… in some ways it’s far better than emby. But for now it’s not good enough to consider paying for a subscription.

This isn’t a them vs us situation… simply my own personal observations based on the way I use and interact with both servers. neither is good enough to be considered the best yet.

Meant to mention that with regard to the TV Plex is actually transcoding an x265 file over wifi perfectly right this minute with no stuttering, no errors and no ridiculous amount of extra processes running like it does when playing the exact same file via the wired lan to the browser ui on my desktop machine…

Perhaps there is some issue with playing within a browser that needs some serious attention. Because it’s virtually unplayable that way.

Plex isn’t a resource hog. Plex uses 0% cpu on my setup. You have something going on with your setup.


The other thing I’ve seen that would cause Plex to hog system resources is certain third party channels.

Can’t say about the transcoder - All my media is encoded so that it should direct play on my clients, so the Plex transcoder isn’t something I rely on.

I do have Orca’s app installed on my (4) Samsung TVs, but I don’t use it - I did just try it on the TV in my living room and it worked without having to link with new pin. I haven’t used the app on that TV in months. There is a forum specific to the Samsung.
https://forums.plex.tv/categories/samsung-smart-hub

Personally, I only use the web ui for managing the server, but it would be nice to have cast pics available. They are available on my primary app - Plex for Kodi and I really like using them.

There is definitely something fishy going on when playing stuff via the web ui on another machine…

Currently playing the same file again on the TV and PMS is transcoding it perfectly

Current Processes running for PMS are
Plex DLNA Server.exe
Plex Media Server.exe
Ples Update Service.exe
PlexScriptHost.exe
Plextranscoder.exe

In addition to that there are 2 ConHost.exe running.

Total processes running on the media server… 66

If I stop the current file playing on the TV then the PlexScriptHost.exe and a ConHost.exe processes stop and total running is now 64.

If I then start the same file from where I left it… but through the web browser on another machine… Both of those processes restart when the video resumes.

However… and this appears to be the problem. If the video playback stop/starts due to transcoding not keeping up, or a slowdown in bandwidth or any of the dozen or so reasons that can interfere… then those same 2 processes are duplicated again and again each time it stutters… Which can and has resulted in nearly 20 extra processes running, each consuming resources and so forth.

What’s causing it… I have no idea. but focusing on it this evening has highlighted an issue.

Normal cause of high cpu is having video thumbnail enabled. I think this might be the default when setting up a new server - not sure though. It can take Plex a very long time to generate preview thumbs. These will of course use up large amounts of disk space. I don’t use them, but I know quite a few folks like having the BIF index files available when using FF to see where they are at in a video.

Where’s the setting for that?

I would have thought that after a couple of weeks, that would be done with now… Just last night I went off to bed without seeing any problems with PMS processes and woke up to find it running at 80… No new media added, no movies/tv shows or music had been played in that entire time… and an extra 14 processes had decided to start up and never exit.

It’s so bad, using up so much CPU and memory that it makes transcoding anything impossible unless it’s such a low bitrate that it makes the resulting video quality horrendous… All of my new media is done in x265 10bit with a minimum combined bitrate of close to 3k… Much higher for stuff if including DTS or if I just want a higher quality image.

Two places. Per library and global.
Edit library> Advanced> Enable video preview thumbnails.
Settings> Server> Library> Generate video preview thumbnails

I found them and turned it off… seemed to make no difference. When I started up PMS within 20 mins there were 3 plexscripthost and 4 conhost processes running. I even turned of most of those settings, previews and chapter thumbnails.

I’m not the only one to have noticed this behaviour either… I started a thread about it in the PMS windows section.

There’s also chapter thumbs - Same Place, not that far apart turning one off and leaving the other on would indicate blindness.

I had to re-generate preview thumbs for the entire library a while back. On this AMD FX-8350 it took about 10 days. I did stop it periodically, for short periods, but it does take a while. That process will absolutely nail your CPU to the ceiling for the duration. Exactly like Handbrake or any other encoder does - because that’s what it’s doing.

When making changes to the way that process behaves a server restart is required. I did it many times during the lengthy process described above.

@JuiceWSA said:
There’s also chapter thumbs - Same Place, not that far apart turning one off and leaving the other on would indicate blindness.

I had to re-generate preview thumbs for the entire library a while back. On this AMD FX-8350 it took about 10 days. I did stop it periodically, for short periods, but it does take a while. That process will absolutely nail your CPU to the ceiling for the duration. Exactly like Handbrake or any other encoder does - because that’s what it’s doing.

When making changes to the way that process behaves a server restart is required. I did it many times during the lengthy process described above.

Yeah, I saw chapters and turned that off too. Even assuming that it takes days to process all the thumbnails for my media… 3 weeks in and still doing it?

I’m gonna rebuild my gaming rig this summer (waiting to see what the new AMD A4 socket CPUs are like), was gonna swap out the 4 core FX for the 6core in my current gaming rig… until I did some comparisons and a 4core @ 4.2Ghz gives me almost exactly the same performance as the 6core @ 3.5Ghz. I’m no longer into messing around with overclocking components… Had my fun with that in the 90’s and 00’s with great effect. :slight_smile:

Plex isn’t showing any activity when a lot of these processes are running… Normally I see the log of when it’s done scraping a show/episode/movie and so forth… Nothing being logged yet multiple processes running and increasing… inc stock PLEX ones, it’s been up to 20 at a time. I feel like what ever is triggering them, isn’t stopping them when it’s completed. others have seen similar behaviour, but not to this extreme.

How 'bout ‘Plexweb/settings/server/library’ How many times a minute are you forcing a library scan?

:slight_smile:

My settings are:
Automatically - check
Run a partial scan - check
Periodically - no check

Network drives are troublesome, but I just remember to do those manually when I add something in case Plex misses the call - and it almost always does - yet another bug Plex doesn’t seem too concerned about fixing while they’re playing around with something else.

OK my settings are currently

Update Auto - Check
Partial Changes detected - Check
Update Periodically - Unchecked
Library Interval - 6hrs
Empty trash after every scan - Check
Allow Media Deletion - Unchecked
Weeks on Deck - 26 ( Because I often save shows for summer lull)
Scanner Tasks as low Priority - Check
Video thumbnails - Never
Chapter thumbnails - Never

I have no external networked drives connected. Everything is in the media server… 6 drives a mix of 3 & 4 TB and a 250GB SSD for the OS. Maxed out MB SATA sockets, so the BDrom isn’t even plugged in anymore… and PCIe slots in use so can’t add SATA card.

At the moment, my library is set up to use direct folder paths rather than their network shares… However, with Emby I use the network share paths. At this point the cost of changing and having everything rescanned when I’m trying to figure out these issues is something I’m not gonna change right now.

Channels… should I disabled capability checking… I only have HD trailers installed… Plugins aren’t something I’ve looked into further at this time.

Network settings, IPV6 enabled, secure connections required, network discovery enabled, http pipelining enabled… No cloud syncing no custom certs. Webhooks enabled.

I never optimise any media for streaming, virtually everything in my library is x264 or x265… there are still some older TV shows in xvid/divx avi formats… even some with mp3 or opus sound. I’m replacing these older shows slowly when time allows with x265 encoded versions.

Transcoding settings… Prefer Higher Quality
transcode timeout 20s
transcoder temp dir - Blank
Transcode default duration - 120
transcoder default buffer - 60
Background trans x264 preset - Fast
Max trans streams - 2

Scheduled tasks
start 6am
finish 8am
Backup every 3 days - Check
Backup directory - default
Optimize DB weekly - check
Remove old bundles weekly - check
Remove cache weekly - check
refresh local data - unchecked
update libraries during maintenance - unchecked
upgrade analysis during maintenance - unchecked
refresh data periodically - unchecked
perform extensive analysis during maintenance - unchecked

Cinema trailers is turned off everywhere

Don’t discard the crappy android tv box yet. If it’s based on an amlogic chipset you can put libreelec on it, add the plex plugin to kodi and have a perfect plex client. (at least for me it’s perfect)

@HecklerUK said:
OK my settings are currently …

Yea, that looks pretty much like it is here. When I add stuff it indexes pretty quick, a few minutes to generate my preview thumbs and it’s over.

@astrofisher will probably want a peek at those log files:
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

Drag the zip to a message window and drop it.

I’ve just added a couple of movies and added a few new episodes… started up PMS again and let it do it’s thing.

This is what I’m seeing… multiple entries for the movie and the same thing for the episodes of tv shows… Yet no metadata has actually downloaded at all.

This coincides with the number of extra scripthost & conhost processes I’m seeing… PMS seems to be running multiple instances for each item which is what you described… But they’re not stopping when done.

Since that screen shot it’s updated to say that it’s loading and then finished processing metadata for 5 episodes and 2 movies… But every one of the host processes remains.

… and again…

@astrofisher (and now I) will probably want a peek at those log files:


^^^^^^^^^^^^^^^^ orange text means link - click it^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

drag the zip file onto a message window and drop it.

I left PMS running last night when I went to bed… the number of processes running was 79… 18 of which where related to Plex. When I got up this morning and checked… that number was back down to 66… just the normal 5 running.

I’ll give it a few days of monitoring to see what happens… but thanks to all the suggestions in this (and another thread) we may have improved things.

At the moment I’m still not testing any streaming at all via PMS just leaving the server running as I add new media. Over the last 24hrs I’ve added 4 movies and 6 tv episodes.

If I see the processes getting stuck again whilst no activity is going on… I’ll post the logs. I’m not sure posting the ones I have at the moment will show anything as I’ve stopped and started the server so much and changed so many settings these last few days. You’ll probably be better of with a constant log containing all the data from what I now have running.