-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtvOS.xml
37 lines (37 loc) · 1.99 KB
/
tvOS.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<Client name="tvOS">
<!-- This profile is used by A10X-based tvOS (Apple TV 4K) devices with the MPV ("experimental") video player. For more details, please see: https://freetime.mikeconnelly.com/archives/8172
Transcoding assumptions:
container format: mkv because it supports most video/audio codecs & subtitles
video codec: keep in native formats to avoid quality loss and server CPU load associated with transcoding (e.g. h264,h265,vc1)
audio codec: if a codec is not supported natively by Apple TV (e.g. lossless codecs like TrueHD or DTS-MA, then transcode to FLAC
(neither container nor lossless audio codec transcoding have material impact on performance)
-->
<TranscodeTargets>
<VideoProfile container="mkv" codec="h264,h265,hevc,mpeg2video,mpeg4,vc1" audioCodec="flac" subtitleCodec="ass,dvb_subtitle,vobsub,eia_608,pgs,microdvd,movtext,ssa,srt" />
<MusicProfile container="flac" codec="flac" />
<PhotoProfile container="jpeg" />
</TranscodeTargets>
<DirectPlayProfiles>
<VideoProfile container="mkv,mov,mp4,mpegts,mpeg,mpegvideo,avi,flv,ogg" codec="h264,h265,hevc,vp9,h263,mpeg1video,mpeg2video,mpeg4,vc1" audioCodec="aac,ac3,alac,flac" 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>