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
TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down
Hey all, have had a rock solid set up in my home off an UnRaid server to a few older 1080p TVs for years. Finally broke the bank and picked up an 85" QLED 4K HDR goodness and looking to up my library game on a few select titles to match. So I grabbed a few 2160p titles and am having some very mixed results and need some help in guiding my troubleshooting. Everything is hard wired from my AppleTV 4K (newest one) to the UnRaid server over gigabit and Plex dashboard confirms they're all being Direct played so the server CPU and such SHOULDN'T be a factor.

Some titles are playing just fine (Plex says 32Mbps, file size 17-24gb) and others buffer every 20-30 seconds (70Mbps, but the graph shows 300-400mbps, file size 35gb) or completely go frame by frame (92Mpbs, graph show 500-600, file size 40gb).

I'm a bit behind the times on current encoding standards and bitrates. Where should I begin looking at? Are the titles TOO high of a quality? Should I investigate my network connections to make sure they can truly operate at Gbps speeds? Is the NAS hardware actually at play here?

I'd have hoped that a high-functioning NAS (dual older XEONs with 64gb RAM) and gigabit to a brand new ATV4k should be able to handle direct playing these, but perhaps my expectations are too high.


Thanks in advance for some direction. Would LOVE to carry forward my existing structure and have a smaller curated library of super high quality content, but if this isn't in the cards I'll just plunk down for an UHD bluray player.

Adbot
ADBOT LOVES YOU

Burden
Jul 25, 2006

TraderStav posted:

Hey all, have had a rock solid set up in my home off an UnRaid server to a few older 1080p TVs for years. Finally broke the bank and picked up an 85" QLED 4K HDR goodness and looking to up my library game on a few select titles to match. So I grabbed a few 2160p titles and am having some very mixed results and need some help in guiding my troubleshooting. Everything is hard wired from my AppleTV 4K (newest one) to the UnRaid server over gigabit and Plex dashboard confirms they're all being Direct played so the server CPU and such SHOULDN'T be a factor.

Some titles are playing just fine (Plex says 32Mbps, file size 17-24gb) and others buffer every 20-30 seconds (70Mbps, but the graph shows 300-400mbps, file size 35gb) or completely go frame by frame (92Mpbs, graph show 500-600, file size 40gb).

I'm a bit behind the times on current encoding standards and bitrates. Where should I begin looking at? Are the titles TOO high of a quality? Should I investigate my network connections to make sure they can truly operate at Gbps speeds? Is the NAS hardware actually at play here?

I'd have hoped that a high-functioning NAS (dual older XEONs with 64gb RAM) and gigabit to a brand new ATV4k should be able to handle direct playing these, but perhaps my expectations are too high.


Thanks in advance for some direction. Would LOVE to carry forward my existing structure and have a smaller curated library of super high quality content, but if this isn't in the cards I'll just plunk down for an UHD bluray player.

Your setup looks pretty good if it is direct playing. Are you by chance using subtitles? If so what kind? Subtitles can really throw a wrench when playing files because it has to sometimes burn them and causes transcoding.

TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down

Burden posted:

Your setup looks pretty good if it is direct playing. Are you by chance using subtitles? If so what kind? Subtitles can really throw a wrench when playing files because it has to sometimes burn them and causes transcoding.

Nope, no subtitles. Seems like different movies are transferred at different speeds. Matrix just came down at 17.1GB but showed up at 103Mpbs in Plex Dashboard. Stuttered every frame.

My sab is going crazy unpacking so maybe I'll retry this when the server is otherwise idle, but still don't think that's the issue. Perhaps a codec that the ATV doesn't agree with?

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



I get the occasional title that acts up on my Apple TV but it’s pretty rare these days. That Matrix release sounds pretty heavily reencoded if it’s 17gb and it’s possible the group that did it made an encoding choice the ATV doesn’t like, maybe go big and grab the remux and then you’ll know it’s how it was on the disc at least.

I don’t use a NAS to serve (instead a Mac Mini with a DAS hanging off it) but other than that it’s a similar setup to my main one.

kri kri
Jul 18, 2007

I glossed over most of the post but try infuse if you have an Apple TV

TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down

EL BROMANCE posted:

I get the occasional title that acts up on my Apple TV but it’s pretty rare these days. That Matrix release sounds pretty heavily reencoded if it’s 17gb and it’s possible the group that did it made an encoding choice the ATV doesn’t like, maybe go big and grab the remux and then you’ll know it’s how it was on the disc at least.

I don’t use a NAS to serve (instead a Mac Mini with a DAS hanging off it) but other than that it’s a similar setup to my main one.

Thanks, sounds like it may be release dependent and lots of trial and error then. Unless there's a way to suss these out ahead of time. I'll continue to play. Thanks!

kri kri posted:

I glossed over most of the post but try infuse if you have an Apple TV

Thanks, will take a look. Since this is only local play a separate program for just the highest quality wouldn't muck everything up at all.

TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down
Holy moley I think InFuse was the answer, or better said the AppleTV Plex app was no good. It's ripping through Matrix with no problem, one quick buffer at the start and so far nothing.

I nuked a few of the other files anticipating those releases were bad. Need to pull down again and see if this works.

Thanks, this may just do the trick nicely!

OldSenileGuy
Mar 13, 2001
Are you using the "enhanced" player in Plex? I don't remember if this a Plex-pass only option, but I've had better results with high bitrate files in the enhanced player vs the stock tvOS player.

The downside is that the enhanced player doesn't support spatial audio when I'm using AirPods, but that's pretty much an edge-case problem.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



I think enhanced got passed down to regular users now and is on by default.

Delzuma
Dec 4, 2004

Infuse is a great player for 4K files on appleTV , can’t recommend it highly enough.

Violator
May 15, 2003


Delzuma posted:

Infuse is a great player for 4K files on appleTV , can’t recommend it highly enough.

Good suggestion.

I have limited 4K Plex experience because I’ve never been able to get any 4K content to play on my AppleTV 4K Plex app. Plex will play 4K content on my AppleTV HD, iPhone, iPad, and Mac. Other apps like HBO Max will play 4K HDR content on the AppleTV 4K just fine. But the Plex app won’t play any 4K content and always just shows the timeline stuck at either 4 or 8 seconds.

I had given up because I got tired of wasting time and bandwidth on huge files that I couldn’t get to work. But based on the recent conversations in thread I gave Infuse a try and it played the handful of files I had immediately. Not thrilled to have to subscribe to another app to get something to work that Plex should do oh well I guess.

kri kri
Jul 18, 2007

Violator posted:

Good suggestion.

I have limited 4K Plex experience because I’ve never been able to get any 4K content to play on my AppleTV 4K Plex app. Plex will play 4K content on my AppleTV HD, iPhone, iPad, and Mac. Other apps like HBO Max will play 4K HDR content on the AppleTV 4K just fine. But the Plex app won’t play any 4K content and always just shows the timeline stuck at either 4 or 8 seconds.

I had given up because I got tired of wasting time and bandwidth on huge files that I couldn’t get to work. But based on the recent conversations in thread I gave Infuse a try and it played the handful of files I had immediately. Not thrilled to have to subscribe to another app to get something to work that Plex should do oh well I guess.

You don’t need to sub just purchase the one-time purchase

Violator
May 15, 2003


kri kri posted:

You don’t need to sub just purchase the one-time purchase

$80 for the lifetime purchase or $10 a year. I’m leaning towards doing yearly and then hoping Plex can play 4K more reliably within the next few years since I only need the app for one device.

Dicty Bojangles
Apr 14, 2001

MrMC can do 4K, too, and is cheaper. It’s Kodi without plugins, so it can be listed on the App Store.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Wonder if we can get to the bottom of why some people have issues with 4K stuff on A4K and others don’t. I have a bunch of stuff from various sources (all untouched, either web or disc) that I haven’t had time to play. I’ll throw em on for 5 minutes each this week and see how many play fine and if any have issues.

Looking deep into these things can help, before there was a problem with discs that had 3reference frame encodes. Remuxes of these would play like garbage on a few platforms (ATV and Shield included), but it was correlated and fixed.

univbee
Jun 3, 2004




There's a lot of stuff involved with 4K x265 encodes in particular that's very finnicky. Bitrates can hit some pretty high points in some encodes which can be beyond what some devices like the Apple 4K are designed to handle. They can bottleneck/buffer or screw up the playback even if the network itself is powerful enough to handle the transferring of the actual data. The same can happen with 1080p x264 encodes on some (especially non-4K) devices but is rarer and is where the "level" setting comes into play, which basically forces certain limitations with the encode in terms of data volume, like it's considered safest to encode 1080p x264 with level 4.0 which caps the video bitrate at 25 megabits per second.

I know that Dolby Vision is a whole other can of worms because there are numerous ways it can be encoded and most streaming devices can only do a subset of them.

Violator
May 15, 2003


I think I figured it out?

Did some googling and found this:
https://techidaily.com/plex-not-play-4k-with-atv4k/

quote:

4K/UHD content matching the following will Direct Play on Apple TV 4K:
Container: MP4
Resolution: 3840×2160 or smaller
Video Encoding: HEVC (H.265)
Video Frame Rate: 30fps
Video Bit Depth: 8

I checked all three (wow! big collection!) 4K files I have that don't work and the resolution, encoding, and frame rate where at or below those specs. But each had a Video Bit Depth of 10.

I then downloaded some sample 4K files:
https://4kmedia.org/the-world-in-hdr-uhd-4k-demo/ (10 bit depth)
https://4kmedia.org/into-the-cave-of-wonders-uhd-4k-demo/ (8 bit depth)

Plex played the 8 bit depth file immediately but froze on the 10 bit depth file just like the three 4k files in my collection.

Can anyone confirm that they can play 4k 10-bit files in Plex on an AppleTV4k? Or is this potentially the issue?

TheScott2K
Oct 26, 2003

I'm just saying, there's a nonzero chance Trump has a really toad penis.
Limiting my 4K activities to discs and streaming for the time being, there's just so many wrinkles between encoding, Plex, and client devices. Even bigger mess than 1080p in '07 or so.

univbee
Jun 3, 2004




TheScott2K posted:

Limiting my 4K activities to discs and streaming for the time being, there's just so many wrinkles between encoding, Plex, and client devices. Even bigger mess than 1080p in '07 or so.

I'm definitely similar, but I've had better luck recently. Still, the only 4K stuff I have on Plex is largely stuff that isn't available to me on either disc or a streaming service, which in my case does include some fringe things like French dubs of stuff where they're absent via other methods.

Sand Monster
Apr 13, 2008

Say I have two versions of what is essentially the same movie on discs -- for example, the extended version of the LOTR movies, and the corresponding theatrical version. Plex matches to the title, but what if I want both versions available? Is there a built-in mechanism for having this or do I need to "create" separate versions in Plex somehow?

univbee
Jun 3, 2004




Sand Monster posted:

Say I have two versions of what is essentially the same movie on discs -- for example, the extended version of the LOTR movies, and the corresponding theatrical version. Plex matches to the title, but what if I want both versions available? Is there a built-in mechanism for having this or do I need to "create" separate versions in Plex somehow?

There isn't an automatic way to do it, but you can "split movie" which will give you two (or more) identical copies each pointing to a different file. Go into the properties to confirm which item is pointing to which file and manually update the metadata accordingly, usually movies will at minimum offer alternate cover art for each cut.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Violator posted:

Can anyone confirm that they can play 4k 10-bit files in Plex on an AppleTV4k? Or is this potentially the issue?

Not going to be as simple as that I don't think, 10bit is pretty much the default for stuff being remuxed off discs. I also (non 4K, mind) do all my blu-ray stuff to HEVC 10bit with no issue.

Taima
Dec 31, 2006

tfw you're peeing next to someone in the lineup and they don't know
Is there a way to make Windows 11 queue up moving of large remux files?

It's real dumb, Windows just auto-moves them all at once simultaneously, causing everything to run horrifically slow. The only way around it is to pause and then re-enable each individual file move as it goes across the server, which is... ok? But pretty dumb

CatHorse
Jan 5, 2008

Taima posted:

Is there a way to make Windows 11 queue up moving of large remux files?

It's real dumb, Windows just auto-moves them all at once simultaneously, causing everything to run horrifically slow. The only way around it is to pause and then re-enable each individual file move as it goes across the server, which is... ok? But pretty dumb

Windows doesn't auto move anything. I assume you are copying files? Then select select the ones you need and copy/cut paste them together.

OldSenileGuy
Mar 13, 2001
Has anyone had any success getting Atmos or 5.1 music tracks to play over Plex through AppleTV?

I have an Atmos .mka music file and some 5.1 .flac files. Both of them are recognized in Plex and their metadata correctly reads 7.1 or 5.1, but when I play them through Apple TV, my receiver only sees a Stereo signal. Despite the Plex dashboard claiming it is Direct Play-ing a 5.1 or 7.1 signal.

The only thing I can think of is maybe there's a bug (or feature?) in the tvOS Plex player where when it is playing a music (as opposed to video) file, it automatically defaults to stereo output?

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Gonna put that down to the Achilles heel of Apple TV ownership, and them just being real pains in the butt over regulating what audio signals can be sent. It’s the single bad aspect of the device imo.

OldSenileGuy
Mar 13, 2001
Yeah, I know AppleTV kinda sucks in that I can't bitstream audio to the receiver. But it has usable workarounds for 5.1/Atmos audio when it's part of a (usually .mkv) video file. So it's weird that these aren't working.

When I have access to my TV again, I'll have to try them in the TV's built-in Plex app to see if they work there. They would be going over eARC from the TV to the receiver, so that might have it's own problems.

Also, my first instinct when running into the problem was to try Infuse. And that's how I learned that Infuse apparently doesn't support audio-only files.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Oh lord, earc Apple TV and atmos… that’s a tricky combo for sure! I didn’t know that about infuse either, intriguing. Maybe suggest it on their forum?

Going back to previous chat, I tried a bunch of unplayed 4K files today and each one of them seemed to have no issue. Tried one I know caused issues beforehand and yep, crashed straight to the ATV menu so nothing much has changed compatibility wise I think.

FCKGW
May 21, 2006

Taima posted:

Is there a way to make Windows 11 queue up moving of large remux files?

It's real dumb, Windows just auto-moves them all at once simultaneously, causing everything to run horrifically slow. The only way around it is to pause and then re-enable each individual file move as it goes across the server, which is... ok? But pretty dumb

Get something like Teracopy that lets you queue up files to move sequentially instead of all at once.
https://www.codesector.com/teracopy

Violator
May 15, 2003


EL BROMANCE posted:

Not going to be as simple as that I don't think, 10bit is pretty much the default for stuff being remuxed off discs. I also (non 4K, mind) do all my blu-ray stuff to HEVC 10bit with no issue.

drat. Digging deeper into it. Whenever I try to play a 4k video in Plex on the AppleTV 4k, I see this in the Technical Details pull-down:

quote:

Source: Transcode
Quality: 640x480 @ 18.6 Mbps
Video: Copy (HEVC)
Audio: Copy (EAC3)
Player: AVPlayer, The Enhanced Video Player cannot be used when Automatically Adjust Quality is enabled
Transcode Reason: App cannot direct play this item. No direct play video profile exists for protocol http, with container mkv, and video codec hevc.

The bitrate is different for each file. I have tried:

- 'Disable video stream transcoding' in settings to force transcoding not to happen, get same error
- 'Transcoder Quality: Prefer higher quality encoding' and 'Use hardware acceleration when available' to avoid the "...when Automatically adjust..." error, get same error

I turned on verbose logging and am not getting any errors. But I do see this:

quote:

[Transcode] MDE: Selected protocol hls; container: mp4
[Transcode] MDE: analyzing media item 6085
[Transcode] MDE: Shark (1975): no direct play video profile exists for http/mkv/hevc
[Transcode] MDE: Shark (1975): no direct play video profile exists for http/mkv/hevc/ac3
[Transcode] Shark - audio.channels limitation applies: 8 > 6
[Transcode] MDE: analyzing media item 2561
[Transcode] MDE: Shark (1975): no direct play video profile exists for http/mkv/h264
[Transcode] MDE: Shark (1975): no direct play video profile exists for http/mkv/h264/dca
[Transcode] MDE: Shark (1975): no remuxable profile found, so video stream will be transcoded
[Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
[Transcode] Codecs: testing h264 (decoder) with hwdevice videotoolbox
[Transcode] Scaled up video bitrate to 21700Kbps based on 1.500000x fudge factor.
[Transcode] MDE: Cannot direct stream audio stream due to codec dca when profile only allows aac
[Transcode] Streaming Resource: Reached Decision id=398 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. No direct play video profile exists for protocol http, with container mkv, and video codec hevc. Transcode=1001,Direct play not available; Conversion OK.) media=(id=6085 part=(id=62994 decision=transcode container=mp4 protocol=hls streams=(Video=(id=138727 decision=copy width=3840 height=1632) Audio=(id=138729 decision=copy channels=6 rate=48000))))
[Transcode] MDE: Selected protocol hls; container: mp4
[Transcode] MDE: analyzing media item 6085
[Transcode] MDE: Shark (1975): Direct Play is disabled
[Transcode] MDE: Shark (1975): media must be transcoded in order to use the hls protocol
[Transcode] MDE: Shark (1975): no direct play video profile exists for http/mkv/hevc
[Transcode] MDE: Shark (1975): no direct play video profile exists for http/mkv/hevc/ac3

and here is the file info that seems relevant:

quote:

Bitrate 47935 kbps
Width 3840
Height 1632
Video Resolution 4K
Container MKV
Video Frame Rate 24p
Video Profile main 10
Codec HEVC
English (AC3 5.1)

Any suggestions? I'm close to giving up and just using Infuse for 4k content since this seems like a potential rabbit hole that may not be worth going down. Just so weird that these files play on every other device, including an older AppleTV HD.

cruft
Oct 25, 2007

I want to drop a big friendly "howdy" to anyone just joining this thread because of Star Trek: Discovery!

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Violator posted:

drat. Digging deeper into it. Whenever I try to play a 4k video in Plex on the AppleTV 4k, I see this in the Technical Details pull-down:

Grab a copy of MediaInfo, put it into text mode and stick a file in and dump what it spits out in here. Maybe someone will spot something that is triggering the issues. A 480p HEVC file really shouldn’t cause any headaches on a modern Apple TV, but something must be wonky.

astral
Apr 26, 2004

Violator posted:

Player: AVPlayer, The Enhanced Video Player cannot be used when Automatically Adjust Quality is enabled

Have you already tried taking it off of 'automatically adjust quality' and using the enhanced player, instead? This seems like the root issue.

e:

quote:

The bitrate is different for each file. I have tried:

- 'Disable video stream transcoding' in settings to force transcoding not to happen, get same error
- 'Transcoder Quality: Prefer higher quality encoding' and 'Use hardware acceleration when available' to avoid the "...when Automatically adjust..." error, get same error

Is your Plex client set to not automatically adjust quality? It sounds like you're only adjusting server settings there.

EL BROMANCE
Jun 10, 2006

COWABUNGA DUDES!
🥷🐢😬



Ah yeah you shouldn’t need it to be adjusting quality on a stable home network. You’d think it wouldn’t have to kick in because of those levels, but if it can’t run the enhanced player full stop that’s definitely not a good thing.

Violator
May 15, 2003


astral posted:

Is your Plex client set to not automatically adjust quality? It sounds like you're only adjusting server settings there.

Well gently caress me, that was it. Thanks very much guys, I really appreciate the help in getting this figured out. It's been bugging me for months but I didn't really know where to dig into. This is wonderful.

TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down
If I have an UltraHD Bluray rip in iso, what's the best approach to getting it to play in Plex at the highest quality if space isn't a concern? Handbrake into an MKV? Are there certain settings that I should configure to make sure it plays the best?

univbee
Jun 3, 2004




TraderStav posted:

If I have an UltraHD Bluray rip in iso, what's the best approach to getting it to play in Plex at the highest quality if space isn't a concern? Handbrake into an MKV? Are there certain settings that I should configure to make sure it plays the best?

This depends on your client's ability to direct play raw UltraHD material. You can use MKVToolNix to do a 1:1 Remux of the contents (which would give you an HDR10 version of the film). In my experience the video itself generally can play OK but if you're playing to wireless devices the bitrate might be too spicy for that and require a re-encode. Audio is spottier, you might need to stick with Dolby Digital 5.1. Subtitles you'll need to OCR into SRT format, although if you're re-encoding you can burn them into the screen.

TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down

univbee posted:

This depends on your client's ability to direct play raw UltraHD material. You can use MKVToolNix to do a 1:1 Remux of the contents (which would give you an HDR10 version of the film). In my experience the video itself generally can play OK but if you're playing to wireless devices the bitrate might be too spicy for that and require a re-encode. Audio is spottier, you might need to stick with Dolby Digital 5.1. Subtitles you'll need to OCR into SRT format, although if you're re-encoding you can burn them into the screen.

Thanks for the quick response and some stuff to go on for my own research. The playback device is a hardwired 2021 AppleTV. If the movie has Atmos should I not even bother still in this situation?

univbee
Jun 3, 2004




TraderStav posted:

Thanks for the quick response and some stuff to go on for my own research. The playback device is a hardwired 2021 AppleTV. If the movie has Atmos should I not even bother still in this situation?

I don't believe it works in the format that's on UHD Blu-rays (it does on webrips with DDP-style Atmos) but I might be wrong on that, you can always do a test remux since it only takes a few minutes and see what results that gives you.

Adbot
ADBOT LOVES YOU

TraderStav
May 19, 2006

It feels like I was standing my entire life and I just sat down

univbee posted:

I don't believe it works in the format that's on UHD Blu-rays (it does on webrips with DDP-style Atmos) but I might be wrong on that, you can always do a test remux since it only takes a few minutes and see what results that gives you.

Thanks! I'll play around.

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