/usr/share/gupnp-dlna-2.0/dlna-profiles/mpeg1.xml is in libgupnp-dlna-2.0-3 0.10.2-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 88 89 90 | <?xml version="1.0"?>
<dlna-profiles>
<include ref="common.xml" />
<restrictions>
<restriction id="mpeg1" type="video">
<field name="name" type="string">
<value>video/mpeg</value>
</field>
<field name="mpegversion" type="int">
<value>1</value>
</field>
<field name="bitrate" type="int" used="in-strict">
<!-- This isn't exactly as in the spec, but should catch more compliant
streams -->
<range min="1150000" max="1152000" />
</field>
</restriction>
</restrictions>
<dlna-profile name="MPEG1" mime="video/mpeg">
<restriction type="container">
<field name="name" type="string">
<value>video/mpeg</value>
</field>
<field name="mpegversion" type="int">
<value>1</value>
</field>
<field name="systemstream" type="boolean">
<value>true</value>
</field>
</restriction>
<restriction type="audio">
<field name="name" type="string">
<value>audio/mpeg</value>
</field>
<field name="mpegversion" type="int">
<value>1</value>
</field>
<field name="mpegaudioversion" type="int">
<value>1</value>
</field>
<field name="layer" type="int">
<value>2</value>
</field>
<field name="channels" type="int">
<value>2</value>
</field>
<field name="rate" type="int" used="in-strict">
<value>44100</value>
</field>
<field name="bitrate" type="int" used="in-strict">
<value>224000</value>
</field>
</restriction>
<restriction type="video" used="in-strict">
<parent name="mpeg1" />
<parent name="CIF" />
<field name="framerate" type="fraction">
<value>25/1</value>
</field>
</restriction>
<restriction type="video" used="in-strict">
<parent name="mpeg1" />
<parent name="525SIF" />
<field name="framerate" type="fraction">
<value>30000/1001</value>
</field>
</restriction>
<restriction type="video" used="in-strict">
<parent name="mpeg1" />
<parent name="525SIF" />
<field name="framerate" type="fraction">
<value>24000/1001</value>
</field>
</restriction>
<restriction type="video" used="in-relaxed">
<parent name="mpeg1" />
</restriction>
</dlna-profile>
</dlna-profiles>
|