Skip to content

Instantly share code, notes, and snippets.

@Quentin-M
Created July 27, 2021 03:48
Show Gist options
  • Save Quentin-M/7e4cad9b8b5e47e8270ad8cb802daccb to your computer and use it in GitHub Desktop.
Save Quentin-M/7e4cad9b8b5e47e8270ad8cb802daccb to your computer and use it in GitHub Desktop.
iPad Pro 12.9 (2021 / M1) + PleX - Sync'ing 4K HVEC / H.265 content without transcoding
<?xml version="1.0" encoding="utf-8"?>
<Client name="iOS">
<!--
Description: Allows sync'ing / downloading any PleX content, including 4K HVEC HDR10 content, to the iPad Pro 12.9 with M1 chip.
Author: Quentin Machu (https://github.com/Quentin-M)
Disclaimer: There might be a few combinations of unplayable content as I haven't tested rigorously, but that ain't my goal today.
Instructions: Replace iOS.xml in /usr/lib/plexmediaserver/Resources/Profiles/ (or use /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Profiles), profit $$$ while the battery lasts (if it does).
-->
<Settings>
<Setting name="DirectPlayStreamSelection" value="true" />
<Setting name="StreamUnselectedIncompatibleAudioStreams" value="true" />
</Settings>
<TranscodeTargets>
<VideoProfile container="mkv" codec="h264,h265" audioCodec="flac" />
<MusicProfile container="alac" codec="alac" />
<PhotoProfile container="jpeg" />
<SubtitleProfile container="webvtt" subtitleCodec="webvtt"/>
</TranscodeTargets>
<DirectPlayProfiles>
<VideoProfile container="mkv,mov,mp4,mpegts,mpeg,mpegvideo,avi,flv,ogg" codec="h265,h264,hevc,vp8,vp9,h263,mpeg1video,mpeg2video,mpeg4,vc1" audioCodec="aac,aac_latm,ac3,alac,flac,dca,vorbis,opus,eac3,mp1,mp2,mp3" subtitleCodec="ass,dvb_subtitle,vobsub,eia_608,pgs,microdvd,movtext,ssa,srt" />
<VideoProfile protocol="hls" container="mkv,mov,mp4,mpegts,mpeg,mpegvideo,avi,flv,ogg" codec="h265,h264,hevc,vp8,vp9,h263,mpeg1video,mpeg2video,mpeg4,vc1" audioCodec="aac,aac_latm,ac3,alac,flac,dca,vorbis,opus,eac3,mp1,mp2,mp3" subtitleCodec="ass,dvb_subtitle,vobsub,eia_608,pgs,microdvd,movtext,ssa,srt" />
<MusicProfile container="mp3" codec="mp3" />
<MusicProfile container="m4a" codec="aac,alac" />
<MusicProfile container="mp4" codec="aac,he-aac,ac3,eac3,alac" />
<MusicProfile container="flac,mkv" codec="flac" />
<PhotoProfile container="jpeg" />
</DirectPlayProfiles>
<CodecProfiles>
<VideoCodec name="*">
<Limitations>
<UpperBound name="video.width" value="3840" isRequired="true"/>
<UpperBound name="video.height" value="2160" isRequired="true"/>
<UpperBound name="video.bitDepth" value="10" />
<UpperBound name="video.bitrate" value="999999"/>
</Limitations>
</VideoCodec>
<VideoAudioCodec name="*">
<Limitations>
<UpperBound name="audio.channels" value="2" onlyTranscodes="true" />
</Limitations>
</VideoAudioCodec>
</CodecProfiles>
</Client>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment