Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Motronic
Nov 6, 2009

Gaz2k21 posted:

I’m about loving done with plex, literally nothing has changed about my setup and now it just defaults to plex relay on both my PS4 and my Roku despite being on the same network as my server, before this I could stream 4K without issue.

Is there any good alternatives or am I doomed to putting media on a flash drive???

This isn't something that I know of as a "plex problem" so you've got something else going on, and replacing plex probably won't give you the results you want. But if you want to just throw something else at it try Emby I guess.

Adbot
ADBOT LOVES YOU

teagone
Jun 10, 2003

That was pretty intense, huh?

Gaz2k21 posted:

I’m about loving done with plex, literally nothing has changed about my setup and now it just defaults to plex relay on both my PS4 and my Roku despite being on the same network as my server, before this I could stream 4K without issue.

Are you using your own network equipment, or are you using a modem/router supplied by your ISP? If the latter, its possible your provider pushed an update of some kind that broke things. Have you double checked to make sure your ports are forwarded properly?

calandryll
Apr 25, 2003

Ask me where I do my best drinking!



Pillbug

Gaz2k21 posted:

I’m about loving done with plex, literally nothing has changed about my setup and now it just defaults to plex relay on both my PS4 and my Roku despite being on the same network as my server, before this I could stream 4K without issue.

Is there any good alternatives or am I doomed to putting media on a flash drive???

The same thing started happening to me recently. Are you running anything like pi-hole? It looks like something needs to be whitelisted, because if I disable it for a few minutes it's fine. I'll have to dig for what exactly is being blocked for me.

Edit: I'm using unbound for pi-hole. Had to add:
code:
private-domain: plex.direct
To the unbound config.

calandryll fucked around with this message at 01:14 on May 14, 2021

Sand Monster
Apr 13, 2008

calandryll posted:

The same thing started happening to me recently. Are you running anything like pi-hole? It looks like something needs to be whitelisted, because if I disable it for a few minutes it's fine. I'll have to dig for what exactly is being blocked for me.

Edit: I'm using unbound for pi-hole. Had to add:
code:
private-domain: plex.direct
To the unbound config.

I have the same setup; to confirm, you don't have to change anything in pi-hole config, just add the above to the unbound config?

H110Hawk
Dec 28, 2006

Takes No Damage posted:

Is there anything I can do with this to improve security with Plex?

Require client certificate authentication. :getin: (This won't work for plex without some seriously stupid level of engineering a forward proxy on all clients don't do it.)

calandryll
Apr 25, 2003

Ask me where I do my best drinking!



Pillbug

Sand Monster posted:

I have the same setup; to confirm, you don't have to change anything in pi-hole config, just add the above to the unbound config?

As far as I am aware that's all is needed. I haven't it have it try to do relay since then.

priznat
Jul 7, 2009

Let's get drunk and kiss each other all night.
E: oops wrong thread!

Chubby Henparty
Aug 13, 2007


Gaz2k21 posted:

Is there any good alternatives or am I doomed to putting media on a flash drive???

It was pretty barebones last time I looked but Jellyfin is apparently coming along.

kri kri
Jul 18, 2007

And if you are iOS infuse is great

Sneeze Party
Apr 26, 2002

These are, by far, the most brilliant photographs that I have ever seen, and you are a GOD AMONG MEN.
Toilet Rascal
Currently, I use a Shield TV to stream/transcode Plex to a couple of people. 99% of my media is 1080p, but in the future I expect my 4k content to increase. Therefore, I'm looking for a new solution for streaming and transcoding.

What I'd like to do is have some kind of NUC/Mini PC that has relatively low power draw. Currently I have like 2 1080p streams or transcodes going at a time. I expect this number to double or maybe triple in the next year as I share my library with a few more people. I'd probably be using Ubuntu. But I could use Windows 10.

Is there a solution for this that is low power and costs around $300? I've tried doing the research about this, but I'm way more behind on processor tech than I thought I was, and the processors that these little machines use have a lot of variability between them. Any help would be appreciated.

univbee
Jun 3, 2004




The problem with 4K is the HDR tone mapping which is nontrivial to convert to SDR. Plex has options to leverage hardware acceleration for it but said hardware has to be fairly recent, not sure if it's possible to get capable hardware for $300.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



I still keep my 4K libraries separate and non-shared, it’s just easier.

univbee
Jun 3, 2004




Yeah, I feel like if you're playing 4K media and it's transcoding you're doing it wrong.

Khablam
Mar 29, 2012

Mini PCs will chew through 1080p with aplomb. Something like this for under $200 will handle almost 2 dozen streams using QuickSync.

As others have said, 4k oft assumes HDR, which assumes HDR tonemapping. Doing this at any scale for a budget is hard right now. Splitting the library is the neatest solution, only share 1080p sources. If you're streaming to yourself or people you can trust to direct stream/play then allow them your 4k library as well.

If you do want to transcode HDR you need to look at the state of it's support

Software HDR tonemapping + 4k encoding is extremely slow, so the only options are HW transcoding. Windows isn't an option here so you're looking at either straight linux or docker on linux to make it work.
A single 4kHDR>1080p with tonemapping is around 20-25% GPU usage under linux depending on the source on a 10x0 series GPU.
QuickSync still wins out here with a 9 or 10th gen CPU managing 8 or more sessions according to user reports.

Plex maintain their own official docker image which makes needing to learn much about how linux runs to do this out of the equation
https://forums.plex.tv/t/official-plex-media-server-docker-images-getting-started/172291

Sneeze Party
Apr 26, 2002

These are, by far, the most brilliant photographs that I have ever seen, and you are a GOD AMONG MEN.
Toilet Rascal
As far as 4k goes, it looks like it's possible to pre-transcode them and just have smaller versions of 4k content for people who don't want to stream the 4k media directly. And that seems like a fine idea, if it works.

Khablam posted:

Mini PCs will chew through 1080p with aplomb. Something like this for under $200 will handle almost 2 dozen streams using QuickSync.
This looks like it would work great, but I want a smaller form factor. Am I understanding that basically any CPU can handle lots of 1080p transcodes?

Khablam
Mar 29, 2012

Sneeze Party posted:

This looks like it would work great, but I want a smaller form factor. Am I understanding that basically any CPU can handle lots of 1080p transcodes?
Any intel CPU 7th gen or later. 8th is a little better, then I think it's basically all the same through 8-10.
You need plex pass for HW transcoding.

Khablam fucked around with this message at 19:24 on May 16, 2021

TheScott2K
Oct 26, 2003

I'm just saying, there's a nonzero chance Trump has a really toad penis.
Seconding "take UHD off the table for remote users/transcoding" if you're trying to get by on cheap and attainable hardware. It's just a much bigger lift.

univbee
Jun 3, 2004




Sneeze Party posted:

As far as 4k goes, it looks like it's possible to pre-transcode them and just have smaller versions of 4k content for people who don't want to stream the 4k media directly. And that seems like a fine idea, if it works.

If you mean Plex's automated-ish thing, it's flakey with a large library, I think overall you're probably better off just making them yourself manually if you can handle it (you can automate a lot of it with separate software, like auto-encode any files that land in a folder kind-of thing). You can stack multiple files for the same media of a different quality that can be used instead of transcoding, too. This will work within the same library relatively transparently if the files are done right, or you can do multiple separate libraries which can be useful especially in the case of 4K and non-4K media, and also x264 and x265 if that's a situation that comes up. Due to weird circumstances with a terrible internet connection at my dad's place I have three qualities I do for files:

- 4K HDR10 (or SDR if that's as good as it gets), whatever will stream to my equipment without transcoding (usually involves ensuring the subtitles are SRT format and the audio is AAC, AC3 or EAC3).
- 1080p SDR with x264 codec, usually fairly high quality-bitrates but keeping the bitrate cap below 20 megabits per second for video + all audio tracks
- 1080p SDR with x265 codec at a low bitrate (I generally do a 2-pass encode with 2.8 megabits/sec for the video and 128kbps AAC stereo for the audio, to keep things at 3 megabits/sec which is the highest bitrate the bad internet connection will stream reliably)

For SDR stuff I generally do my encodes from an SDR-native source (so not from the 4K usually. Generally from a normal Blu-ray encode), just to avoid any shenanigans with that.

Sometimes I'll also do the low bitrate encodes at 720p but with the same setting. The image is lower resolution but can hold together better with less artifacting, which is preferable for some things.

Most people getting into 4K media need to do at least the first two groups, and may need to do custom extra groups for sharing with particular audio/subtitle formats if the people being shared with need help to avoid transcoding and stressing your Plex server.

IOwnCalculus
Apr 2, 2003





Sneeze Party posted:

As far as 4k goes, it looks like it's possible to pre-transcode them and just have smaller versions of 4k content for people who don't want to stream the 4k media directly. And that seems like a fine idea, if it works.
This looks like it would work great, but I want a smaller form factor. Am I understanding that basically any CPU can handle lots of 1080p transcodes?

Unless they've changed something, the issue is that if someone chooses a bitrate other than what your pre-transcode is set to, it uses the 4K source to do a new transcode anyway instead of starting from the smaller file.

RestingB1tchFace
Jul 4, 2016

Opinions are like a$$holes....everyone has one....but mines the best!!!
Question....what do you guys stream video files on your Plex server to? I have a Synology 720+ that I have my Plex server installed on....and the playback is really spotty. My roku TV two floors up does pretty well...but I don't stream to it very often...so the testing is light. However....I do stream through a chromecast to my living room tv fairly often and certain video files are unwatchable. I'm guessing that it's the NAS doing the transcoding and it simply cannot handle it? Do you guys stream to a more powerful streaming device such as an Xbox, Playstation, or Nvidia Shield (just for example) to handle the transcoding and have better luck?

Tea Bone
Feb 18, 2011

I'm going for gasps.

RestingB1tchFace posted:

Question....what do you guys stream video files on your Plex server to? I have a Synology 720+ that I have my Plex server installed on....and the playback is really spotty. My roku TV two floors up does pretty well...but I don't stream to it very often...so the testing is light. However....I do stream through a chromecast to my living room tv fairly often and certain video files are unwatchable. I'm guessing that it's the NAS doing the transcoding and it simply cannot handle it? Do you guys stream to a more powerful streaming device such as an Xbox, Playstation, or Nvidia Shield (just for example) to handle the transcoding and have better luck?

I used to stream directly to my Bravia Smart TV OS directly, 4k content was a no go and sometimes even 1080 would struggle. Everything was on direct play with the TV connected to the router via ethernet. I eventually found out the TV had a crappy network card and would cap out at 100MB/s. I've now switched to a shield (just the tube version, no the pro) and have had zero problems, I highly recommend it.

Pilfered Pallbearers
Aug 2, 2007

RestingB1tchFace posted:

Question....what do you guys stream video files on your Plex server to? I have a Synology 720+ that I have my Plex server installed on....and the playback is really spotty. My roku TV two floors up does pretty well...but I don't stream to it very often...so the testing is light. However....I do stream through a chromecast to my living room tv fairly often and certain video files are unwatchable. I'm guessing that it's the NAS doing the transcoding and it simply cannot handle it? Do you guys stream to a more powerful streaming device such as an Xbox, Playstation, or Nvidia Shield (just for example) to handle the transcoding and have better luck?

It’s a bottleneck somewhere.

The best test is to see if it’s transcoding or not, then try to play the same file if you can get the same status on your phone app or laptop browser or something and see how it does.

If they all perform bad it’s your server. If just the chrome cast, it’s probably that the chrome cast is underpowered.

RestingB1tchFace
Jul 4, 2016

Opinions are like a$$holes....everyone has one....but mines the best!!!

Tea Bone posted:

I used to stream directly to my Bravia Smart TV OS directly, 4k content was a no go and sometimes even 1080 would struggle. Everything was on direct play with the TV connected to the router via ethernet. I eventually found out the TV had a crappy network card and would cap out at 100MB/s. I've now switched to a shield (just the tube version, no the pro) and have had zero problems, I highly recommend it.

That will most likely be what I'll do. Don't really NEED to right at this moment....however.


Pilfered Pallbearers posted:

It’s a bottleneck somewhere.

The best test is to see if it’s transcoding or not, then try to play the same file if you can get the same status on your phone app or laptop browser or something and see how it does.

If they all perform bad it’s your server. If just the chrome cast, it’s probably that the chrome cast is underpowered.

It best not be my NAS. I just bought the Synology 720+ a few months back. But the chromecast doesn't transcode....does it?

univbee
Jun 3, 2004




Transcoding is always done by the server, not the client, which makes sense since the main reason to transcode is because the internet is too slow to get the original quality file.

Basically Plex allows for something called "Direct Play" which will bring your video and audio across if it's in a codec your end device supports directly and not at a bitrate beyond any cutoff that's set up.

Video will get re-encoded if it's in a codec that isn't supported by the client, for example x265 video is only supported by newer devices that generally also do 4K playback, and isn't supported by Plex via a web browser. Video also gets re-encoded if you're trying to use graphical or advanced subtitle formats, assuming you're using optional subtitles at all.

Audio similarly gets re-encoded for end devices without codec support. Generally you have to stick to AAC Stereo, basic AC3 or EAC3. Due to stricter licensing requirements, DTS and lossless formats typically won't direct play even if those formats play otherwise in other ways (e.g. if the device will play DTS or lossless on a Blu-ray disc).

Pilfered Pallbearers
Aug 2, 2007

RestingB1tchFace posted:

That will most likely be what I'll do. Don't really NEED to right at this moment....however.


It best not be my NAS. I just bought the Synology 720+ a few months back. But the chromecast doesn't transcode....does it?

The chrome cast doesn’t do the transcoding, but transcoded stuff plays different then direct play stuff, so you just need to pay attention.

Arrowsmith
Feb 6, 2006

SAGANISTA!

RestingB1tchFace posted:


It best not be my NAS. I just bought the Synology 720+ a few months back. But the chromecast doesn't transcode....does it?

Have you tried applying this fix yet?

https://nascompares.com/2020/07/30/synology-nas-plex-driver-fix-for-h-256-hevc-ds920-ds220-ds720-and-ds420/

It helped a lot when I had a DS920+.

Tea Bone
Feb 18, 2011

I'm going for gasps.

RestingB1tchFace posted:

That will most likely be what I'll do. Don't really NEED to right at this moment....however.

For what it's worth, I held off buying a shield for about a year because I begrudged paying £120 for a smart TV stick for my already 'smart' TV. After finally buying it I wish I hadn't held off for so long, it's ironed out every little niggle I had with my TV.

cryptoclastic
Jul 3, 2003

The Jesus
So I decided to move from Windows to Ubuntu for my desktop, and set up Plex and everything a docker container. So far so good. I figured out how to set it up and have added my movies to my library!

The problem is that I can't figure out how to add more directories to the docker container so that Plex can see the rest of my media. I get that I need to add them to the actual docker thing with a command, but I can't figure out what that command is! Can anybody help me out here?

Warbird
May 23, 2012

America's Favorite Dumbass


I want to say that’s been fixed for a few months now but it wouldn’t hurt to add.

Khablam
Mar 29, 2012

cryptoclastic posted:

So I decided to move from Windows to Ubuntu for my desktop, and set up Plex and everything a docker container. So far so good. I figured out how to set it up and have added my movies to my library!

The problem is that I can't figure out how to add more directories to the docker container so that Plex can see the rest of my media. I get that I need to add them to the actual docker thing with a command, but I can't figure out what that command is! Can anybody help me out here?
If you have one working, you're basically there. The default installation, I believe, is setup to look for /data/tvshows and /data/movies. If you mount the drives into /data/ with those names it should just pick them up. Movies is clearly working so you just need to do the same to TV, or rename it if it's dir name is different (I'm guessing you have it named TV when it's looking for tvshows)
If you have extra libraries you can clone the line in the config to, e.g., movies2 and mount it the same way.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Anyone know of a toolset that can backup a list of what’s in a plex library? Lost a relatively new 10tb drive and one of the folders was full of weird poo poo that I didn’t make through Sonarr or radarr and would kinda like to have a copy of what was there to rebuild at a future date. Either a list on csv or whatever or a reliable copy of what you see in the browser. I tried the two options in safari (export to pdf, and webarchive) but neither worked.

Was always iffy about WDs change from Reds to white label drives, and yeesh losing a 15 month old does not fill me with confidence for the future. Not that anyone can afford storage right new due to crypto idiots.

Pilfered Pallbearers
Aug 2, 2007

EL BROMANCE posted:

Anyone know of a toolset that can backup a list of what’s in a plex library? Lost a relatively new 10tb drive and one of the folders was full of weird poo poo that I didn’t make through Sonarr or radarr and would kinda like to have a copy of what was there to rebuild at a future date. Either a list on csv or whatever or a reliable copy of what you see in the browser. I tried the two options in safari (export to pdf, and webarchive) but neither worked.

Was always iffy about WDs change from Reds to white label drives, and yeesh losing a 15 month old does not fill me with confidence for the future. Not that anyone can afford storage right new due to crypto idiots.

Is the drive full on dead? If it at least mounts and you know the directory, printing a list folders/files in command line is probably easiest. You don't really need to dive into the drive to do that.


Export tools, as part of webtools, is supposed to do it. I haven't used it so I can't speak to how well it works, but I have used other webtools stuff in plex and it's worked well.

https://forums.plex.tv/t/webtools-ng/598539

Khablam
Mar 29, 2012

EL BROMANCE posted:

Anyone know of a toolset that can backup a list of what’s in a plex library? Lost a relatively new 10tb drive and one of the folders was full of weird poo poo that I didn’t make through Sonarr or radarr and would kinda like to have a copy of what was there to rebuild at a future date. Either a list on csv or whatever or a reliable copy of what you see in the browser. I tried the two options in safari (export to pdf, and webarchive) but neither worked.

Was always iffy about WDs change from Reds to white label drives, and yeesh losing a 15 month old does not fill me with confidence for the future. Not that anyone can afford storage right new due to crypto idiots.
Singlefile is a browser extension that saves a complete page to a single file. It's not particularly what you're looking for, but it will save a plex library open in a web-page to a HTML file you can then open and view. It'll functionally be a snapshot of the page.

I'd also second the suggestion to try to open the drive. A lot of drives that Windows will fail to mount entirely will mount in linux, at least enough for you to dir the contents.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Pilfered Pallbearers posted:

Is the drive full on dead? If it at least mounts and you know the directory, printing a list folders/files in command line is probably easiest. You don't really need to dive into the drive to do that.


Export tools, as part of webtools, is supposed to do it. I haven't used it so I can't speak to how well it works, but I have used other webtools stuff in plex and it's worked well.

https://forums.plex.tv/t/webtools-ng/598539

Yeah seems to be dead, the clicking when putting power through it does not sound healthy. It seems RMAing drives back home was a lot easier than here so I’ll just keep it on hand in case there’s a possibility in the future. I used to have a great tool in the past that would record a file structure of a drive, and typically this is the one drive I could really do with it for!

I meant to mention WebTools as I do have a copy installed (with ExportTools) but it seems since the last time I used it a month or two back something is up and it doesn’t seem to be talking to the database anymore, and simply sees everything on disk as ‘missing’, even on the libraries that are still online. A pain as I thought that was going to be the answer too.

Khablam posted:

Singlefile is a browser extension that saves a complete page to a single file. It's not particularly what you're looking for, but it will save a plex library open in a web-page to a HTML file you can then open and view. It'll functionally be a snapshot of the page.

I'd also second the suggestion to try to open the drive. A lot of drives that Windows will fail to mount entirely will mount in linux, at least enough for you to dir the contents.

Thanks I’ll dig out a copy of that and see if it can go a step further than the web archive saving does. It’s usually very good, but just doesn’t like the plex style.

Drive is a non-encrypted APFS format, tried on two different Macs in both the DAS it lives in and the external power/data board from the enclosure it came in with the same result. As said, I’ll put it aside for the future just in case a recovery is possible, I just don’t hold out much hope.

IOwnCalculus
Apr 2, 2003





cryptoclastic posted:

So I decided to move from Windows to Ubuntu for my desktop, and set up Plex and everything a docker container. So far so good. I figured out how to set it up and have added my movies to my library!

The problem is that I can't figure out how to add more directories to the docker container so that Plex can see the rest of my media. I get that I need to add them to the actual docker thing with a command, but I can't figure out what that command is! Can anybody help me out here?

How did you actually deploy it with Docker - did you use the command line with something like "docker create" or did you write up a docker-compose.yml file and go from there?

Pilfered Pallbearers
Aug 2, 2007

EL BROMANCE posted:

Yeah seems to be dead, the clicking when putting power through it does not sound healthy. It seems RMAing drives back home was a lot easier than here so I’ll just keep it on hand in case there’s a possibility in the future. I used to have a great tool in the past that would record a file structure of a drive, and typically this is the one drive I could really do with it for!

I meant to mention WebTools as I do have a copy installed (with ExportTools) but it seems since the last time I used it a month or two back something is up and it doesn’t seem to be talking to the database anymore, and simply sees everything on disk as ‘missing’, even on the libraries that are still online. A pain as I thought that was going to be the answer too.


Thanks I’ll dig out a copy of that and see if it can go a step further than the web archive saving does. It’s usually very good, but just doesn’t like the plex style.

Drive is a non-encrypted APFS format, tried on two different Macs in both the DAS it lives in and the external power/data board from the enclosure it came in with the same result. As said, I’ll put it aside for the future just in case a recovery is possible, I just don’t hold out much hope.

It’s clicky?

Try running it upside down or vertical.

If that doesn’t work, put it in the freezer for 10-20 minutes and try right outta the freezer.

If that doesn’t work, seriously give it a really solid wack. Sometimes that’ll kick things back into alignment long enough to work.

If your goal is just to get a directory print one of those may mount it long enough to get it running.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



I’ll save that post! Is it worth waiting til I can prep some space to try move things off in one big attempt? I’m guessing this isn’t a time sensitive matter.

Pilfered Pallbearers
Aug 2, 2007

EL BROMANCE posted:

I’ll save that post! Is it worth waiting til I can prep some space to try move things off in one big attempt? I’m guessing this isn’t a time sensitive matter.

If that’s the goal, yes, wait till you have the space.


For the future, if your setup allows I personally can highly recommend stablebit’s software package.

I just made a move, and was worried about my drives. Turns out one of the older drives ended up with some errors from the car trip.

But the scanner picked up the errors, and as soon as the errors occurred drivepool automatically moved the files from that drive to my other ones.

For the more irreplaceable stuff, it also offers duplication on multiple drives. It’s the kind of thing that’s way better than a raid if you don’t care to have a backup of everything.


It’s pretty rare (but not impossible) that a drive will die without any smart flags or other warnings.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Alas it’s Windows only, and I’m a Mac user. If the reasonably priced and unlimited cloud backup services were worth a drat I’d subscribe again, but I’ve had no luck with any of them. I use a 5TB account for personal data and the difference in quality is night and day, to zero surprise. Have gigabit internet so offsite is ideal, but eh copyrighted material so you’re running a risk there too even if I could come close to saturating the line.

It’s all just a silly hobby so whatever, it’s not like this is the first time ha.

Adbot
ADBOT LOVES YOU

cryptoclastic
Jul 3, 2003

The Jesus

IOwnCalculus posted:

How did you actually deploy it with Docker - did you use the command line with something like "docker create" or did you write up a docker-compose.yml file and go from there?

It was done command line. Is one method preferred over the other? I am very very new to Linux. I ended up just deleting the install and then just redoing it.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply