Server Version#:1.19.1.2645-ccb6eb67e
Player Version#: 2.16
tvOS and iOS has had support for multichannel AAC for a while, how soon before we can set audio.channels=6 ? both platforms handle downmixing nicely. this would save server CPU time transcoding to AC3. much of my content is encoded w/ hevc+aac in mp4 containers.
iOS can also support direct playback of h265/hevc in mp4 containers. how long before we can put that in the mainline xml as well? reduces server cpu and network utilization for the h264 conversions. also allows offline mode for content without transcoding.
This would be super helpful, I’ve been manually editing these files for over two years (support was added in iOS 11, 2017!!) now and it feels like it’s more than time for this to be default behavior.
Pretty much what nadams5855 said. Works great, I use an AppleTV 4K as my main playback device and it passes HEVC (h265) and full 5.1 audio without any issue, no transcode. It’s really a bummer on the default settings that it will transcode all audio down to just stereo, and I just can’t understand why.
Thank you very much for posting this. I am in the process of modifying it to work on MacOS and running into an issue I can’t figure out. The sed command gives me an error:
sed: 1: "/Applications/Plex\ Med ...": extra characters at the end of P command
I searched this error and found some answers but unfortunately they don’t seem to apply here as there is no “p” command that I see in your sed argument. I am thinking the sed command is interpreting the path as part of the command but that would be odd. Here is the complete line:
for macOS, sed -Ei '' instead of sed -Ei. -i on macOS is expecting a file extension.
from the man page:
-i extension
Edit files in-place, saving backups with the specified extension.
If a zero-length extension is given, no backup will be saved. It
is not recommended to give a zero-length extension when in-place
editing files, as you risk corruption or partial content in situ-
ations where disk space is exhausted, etc.
i think combining the two sed search and replace into one command would be tough. you’re welcome to give it a whirl though. this script isn’t the only solution (really, plex integrating these changes to mainline xmls would be best!). i’m sure there’s better/other ways to do it.
I thought editing iOS.xml might be the solution to streaming some HEVC files that I have to iOS. Unfortunately, it didn’t solve the problem. In fact it seems to make matters worse. I am trying to narrow it down. One potential issue is the video stream:
HEVC is now working without modifying anything. I think the many updates to both Plex Server and the Plex iPhone app have resolved these issues, and possibly in combination with iOS 13.5. Thinking I will keep things locked down right here.
iOS 13.5
Plex iOS 7.1
Plex Server Version 1.19.4.2935