-
Notifications
You must be signed in to change notification settings - Fork 17
/
PlayStation 3.xml
87 lines (87 loc) · 4.07 KB
/
PlayStation 3.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="utf-8"?>
<Client name="PlayStation 3">
<!-- Author: Plex Inc. -->
<!-- http://manuals.playstation.net/document/en/ps3/current/video/filetypes.html -->
<!-- https://support.us.playstation.com/app/answers/detail/a_id/351/~/supported-music-and-audio-formats -->
<!-- That list doesn't seem complete or accurate though... -->
<Identification>
<Header name="User-Agent" substring="PLAYSTATION 3" />
<Header name="X-AV-Client-Info" substring="PLAYSTATION 3" />
</Identification>
<DeviceDescription>
<X-DlnaDoc>DMS-1.50</X-DlnaDoc>
<X-DlnaCap />
<Sony-AggregationFlags>10</Sony-AggregationFlags>
</DeviceDescription>
<TranscodeTargets>
<!-- While PS3 supports multichannel ac3, it doesn't seem to like it when remuxed into mpegts -->
<VideoProfile container="mpegts" codec="h264" audioCodec="mp3" />
<MusicProfile container="s16be" codec="pcm_s16be">
<!-- aka LPCM -->
<!-- Transcoding to mp3 sort of works, but only if we lie to the PS3 and tell it we're not actually transcoding.
Then it accepts the metadata, but issues byte-range requests, which we ignore thanks to IgnoreTranscodeByteRangeRequests.
Then playback inexplicably fails at various points through the track. It *might* work if we knew the content-length precisely,
but we don't. We mostly do for LPCM, so LPCM it is. -->
<Setting name="EstimateContentLength" value="true" />
</MusicProfile>
<PhotoProfile container="jpeg" />
</TranscodeTargets>
<Settings>
<Setting name="AlbumArtPN" value="JPEG_TN" />
<Setting name="EmitSinglePhotoResource" value="true" />
</Settings>
<DirectPlayProfiles>
<VideoProfile container="avi" codec="mpeg4" audioCodec="mp2,mp3" />
<VideoProfile container="mpegts" codec="mpeg1video,mpeg2video,h264" audioCodec="ac3,mp2,mp3,aac" />
<VideoProfile container="mpeg" codec="mpeg1video,mpeg2video" audioCodec="mp2" />
<VideoProfile container="mp4" codec="h264,mpeg4" audioCodec="aac,ac3" />
<MusicProfile container="mp3" codec="mp3" />
<MusicProfile container="mp4" codec="aac" />
<MusicProfile container="asf" codec="wmav2,wmapro,wmavoice" />
<MusicProfile container="wav" codec="pcm" />
<PhotoProfile container="jpeg,png,gif,bmp,tiff" />
</DirectPlayProfiles>
<CodecProfiles>
<!-- TODO - These limitations don't seem to be documented, might need to find through experimentation -->
<VideoCodec name="h264">
<Limitations>
<UpperBound name="video.width" value="1920" />
<UpperBound name="video.height" value="1080" />
<UpperBound name="video.frameRate" value="30" isRequired="false" />
<UpperBound name="video.bitrate" value="15360" isRequired="false" />
<UpperBound name="video.level" value="41" isRequired="false" />
</Limitations>
</VideoCodec>
<VideoAudioCodec name="ac3">
<Limitations>
<UpperBound name="audio.channels" value="6" isRequired="false" />
<UpperBound name="audio.bitrate" value="640" isRequired="false" />
</Limitations>
</VideoAudioCodec>
<VideoAudioCodec name="wmapro">
<Limitations>
<UpperBound name="audio.channels" value="2" />
</Limitations>
</VideoAudioCodec>
<VideoAudioCodec name="aac">
<Limitations>
<!-- The PS3 appears to be quite happy playing 6-channel aac -->
<NotMatch name="audio.profile" substring="he-aac" isRequired="false" />
</Limitations>
</VideoAudioCodec>
</CodecProfiles>
<ContainerProfiles>
<PhotoContainer name="*">
<Limitations>
<UpperBound name="media.width" value="1920" />
<UpperBound name="media.height" value="1080" />
</Limitations>
</PhotoContainer>
</ContainerProfiles>
<DlnaMediaProfiles>
<!-- PS3 will play AVI, but likes to see this mime type -->
<DlnaVideoProfile container="avi" mimeType="video/divx" pn="AVI" />
<DlnaVideoProfile container="mp4,mov" videoCodec="*" audioCodec="aac" mimeType="video/mp4" pn="" />
<DlnaMusicProfile container="wav" mimeType="audio/wav" />
</DlnaMediaProfiles>
</Client>