diff options
author | Jens Georg <jensg@openismus.com> | 2013-05-08 14:29:55 +0200 |
---|---|---|
committer | Jens Georg <jensg@openismus.com> | 2013-05-08 14:29:55 +0200 |
commit | cf462bbb237dbfc7979d7469e5d0e88083ca6ac3 (patch) | |
tree | 07a6d8e1141958e05d66c1232f8e6ef1b12ec0bc | |
parent | 011f59108c0a5cd5920406cb81ecabf50068602c (diff) | |
download | gupnp-dlna-cf462bbb237dbfc7979d7469e5d0e88083ca6ac3.tar.gz |
Add MPEG_PS_{NTSC,PAL} profiles
-rw-r--r-- | data/Makefile.am | 1 | ||||
-rw-r--r-- | data/mpeg-ps.xml | 353 |
2 files changed, 354 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 9b5d05b..640fa9e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -11,6 +11,7 @@ dlnaprofiles = mp3.xml \ mpeg1.xml \ avc.xml \ mpeg-ts.xml \ + mpeg-ps.xml \ mpeg4.xml \ jpeg.xml \ png.xml diff --git a/data/mpeg-ps.xml b/data/mpeg-ps.xml new file mode 100644 index 0000000..c6c2f8f --- /dev/null +++ b/data/mpeg-ps.xml @@ -0,0 +1,353 @@ +<?xml version="1.0"?> + +<dlna-profiles> + <include ref="common.xml" /> + + <restrictions> + <restriction id="MPEG_PS" type="container"> + <field name="name" type="string"> + <value>video/mpeg</value> + </field> + <field name="systemstream" type="boolean"> + <value>true</value> + </field> + <field name="mpegversion" type="int"> + <value>2</value> + </field> + </restriction> + + <restriction id="MPEG_PS_VIDEO" type="video"> + <field name="name" type="string"> + <value>video/mpeg</value> + </field> + <field name="systemstream" type="boolean"> + <value>false</value> + </field> + <field name="mpegversion" type="int"> + <value>2</value> + </field> + <field name="profile" type="string"> + <value>simple</value> + <value>main</value> + </field> + <field name="level" type="string"> + <value>low</value> + <value>main</value> + </field> + <field name="bitrate" type="int" used="in-strict"> + <range min="1" max="9800000" /> + </field> + </restriction> + + <!-- SD resolutions --> + <!-- NA region --> + <restriction id="720x480" type="video"> + <parent name="525_D1" /> + <field name="framerate" type="fraction"> + <value>30000/1001</value> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>32/27</value> + <value>8/9</value> + </field> + </restriction> + + <restriction id="704x480" type="video"> + <parent name="525_4SIF" /> + <field name="framerate" type="fraction"> + <value>24000/1001</value> <!-- Note: only valid for interlaced=false --> + <value>24/1</value> + <value>30000/1001</value> + <value>30/1</value> + <value>60000/1001</value> <!-- Note: only valid for interlaced=false --> + <value>60/1</value> <!-- Note: only valid for interlaced=false --> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>40/33</value> + <value>10/11</value> + </field> + </restriction> + + <restriction id="640x480" type="video"> + <parent name="VGA" /> + <field name="framerate" type="fraction"> + <value>24000/1001</value> <!-- Note: only valid for interlaced=false --> + <value>24/1</value> + <value>30000/1001</value> + <value>30/1</value> + <value>60000/1001</value> <!-- Note: only valid for interlaced=false --> + <value>60/1</value> <!-- Note: only valid for interlaced=false --> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>1/1</value> + <value>4/3</value> + </field> + </restriction> + + <restriction id="544x480" type="video"> + <parent name="525_3/4D1" /> + <field name="framerate" type="fraction"> + <value>30000/1001</value> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>80/51</value> + <value>20/17</value> + </field> + </restriction> + + <restriction id="480x480" type="video"> + <parent name="525_2/3D1" /> + <field name="framerate" type="fraction"> + <value>30000/1001</value> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>16/9</value> + <value>4/3</value> + </field> + </restriction> + + <restriction id="352x480" type="video"> + <parent name="525_1/2D1" /> + <field name="framerate" type="fraction"> + <value>30000/1001</value> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>80/33</value> + <value>20/11</value> + </field> + </restriction> + + <restriction id="352x240" type="video"> + <parent name="525SIF" /> + <field name="framerate" type="fraction"> + <value>30000/1001</value> + </field> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>16/11</value> + <value>12/11</value> + </field> + </restriction> + + + <!-- EU region --> + <restriction id="EU_FPS" type="video"> + <field name="framerate" type="fraction"> + <value>25/1</value> + </field> + </restriction> + + <restriction id="720x576" type="video"> + <parent name="625_D1" /> + <parent name="EU_FPS" /> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>64/45</value> + <value>16/15</value> + </field> + </restriction> + + <restriction id="704x576" type="video"> + <parent name="625_4SIF" /> + <parent name="EU_FPS" /> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>64/45</value> + <value>16/15</value> + </field> + </restriction> + + <restriction id="544x576" type="video"> + <parent name="625_3/4D1" /> + <parent name="EU_FPS" /> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>32/17</value> + <value>24/17</value> + </field> + </restriction> + + <restriction id="480x576" type="video"> + <parent name="625_2/3D1" /> + <parent name="EU_FPS" /> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>32/15</value> + <value>8/5</value> + </field> + </restriction> + + <restriction id="352x576" type="video"> + <parent name="625_1/2D1" /> + <parent name="EU_FPS" /> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>32/11</value> + <value>24/11</value> + </field> + </restriction> + + <restriction id="352x288" type="video"> + <parent name="CIF" /> + <parent name="EU_FPS" /> + <field name="pixel-aspect-ratio" type="fraction" used="in-strict"> + <value>16/11</value> + <value>12/11</value> + </field> + </restriction> + + <restriction id="MPEG_PS_AUDIO" type="audio"> + <field name="rate" type="int"> + <value>48000</value> + </field> + </restriction> + </restrictions> + + <dlna-profile name="MPEG_PS_PAL" mime="video/mpeg"> + <parent name="MPEG_PS" /> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + <field name="name" type="string"> + <value>audio/x-ac3</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/x-private1-ac3</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/ac3</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/mpeg</value> + </field> + <field name="mpegversion" type="int"> + <value>1</value> + <value>2</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/x-private1-lpcm</value> + </field> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="720x576" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="704x576" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="544x576" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="480x576" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="352x576" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="352x288" /> + </restriction> + </dlna-profile> + + <dlna-profile name="MPEG_PS_NTSC" mime="video/mpeg"> + <parent name="MPEG_PS" /> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + <field name="name" type="string"> + <value>audio/x-ac3</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/x-private1-ac3</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/ac3</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/mpeg</value> + </field> + <field name="mpegversion" type="int"> + <value>1</value> + <value>2</value> + </field> + </restriction> + + <restriction type="audio"> + <parent name="MPEG_PS_AUDIO" /> + + <field name="name" type="string"> + <value>audio/x-private1-lpcm</value> + </field> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="720x480" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="704x480" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="480x480" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="544x480" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="352x480" /> + </restriction> + + <restriction type="video"> + <parent name="MPEG_PS_VIDEO" /> + <parent name="352x240" /> + </restriction> + </dlna-profile> +</dlna-profiles> |