Forked from jfeilbach/gist:18b08ea0ed9eaf844d643ab092905973
Created
February 13, 2021 22:11
-
-
Save Torstein-Eide/be8bfccca96f6d3c30d0b621f28d2ee7 to your computer and use it in GitHub Desktop.
tvOS.xml for plex (modified) for use with AppleTV 4k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Client name="tvOS"> | |
<!-- Author: Plex Inc. --> | |
<!-- This profile is used by A10X-based tvOS (Apple TV 4K) devices using the MPV ("experimental") video player. Currently, this requires a Plex Pass subscription. --> | |
<!-- Because Plex does not currently support TrueHD or DTS-MA playback in the client, this audio is transcoded to FLAC. --> | |
<Settings> | |
<Setting name="DirectPlayStreamSelection" value="true" /> | |
<Setting name="StreamUnselectedIncompatibleAudioStreams" value="true" /> | |
</Settings> | |
<TranscodeTargets> | |
<VideoProfile container="mkv" codec="h264,h265" audioCodec="flac" /> | |
<MusicProfile container="flac" codec="flac" /> | |
<PhotoProfile container="jpeg" /> | |
<SubtitleProfile container="webvtt" subtitleCodec="webvtt"/> | |
</TranscodeTargets> | |
<DirectPlayProfiles> | |
<VideoProfile container="mkv,mov,mp4,mpegts,mpeg,mpegvideo,avi,flv,ogg" codec="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" /> | |
<UpperBound name="video.height" value="2160" /> | |
<UpperBound name="video.bitDepth" value="10" /> | |
</Limitations> | |
</VideoCodec> | |
<VideoAudioCodec name="*"> | |
<Limitations> | |
<UpperBound name="audio.channels" value="8" /> | |
</Limitations> | |
</VideoAudioCodec> | |
</CodecProfiles> | |
</Client> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment