forked from mediamicroservices/mm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeyoutube_policies.xml
15 lines (15 loc) · 1.13 KB
/
makeyoutube_policies.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0"?>
<policy type="and" name="Check validity of makeyoutube files">
<description>This policy tests files made using makeyoutube and checks their validity</description>
<policy type="and" name="True for makeyoutube">
<rule name="Is it MPEG-4?" value="Format" tracktype="General" operator="=">MPEG-4</rule>
<rule name="Is it base media?" value="Format_Profile" tracktype="General" operator="=">Base Media</rule>
<rule name="Is the video AVC?" value="Format" tracktype="Video" operator="=">AVC</rule>
<rule name="Is the video codec id correct?" value="CodecID" tracktype="Video" operator="=">avc1</rule>
<rule name="Is it YUV?" value="ColorSpace" tracktype="Video" operator="=">YUV</rule>
<rule name="Is it 8 bit?" value="BitDepth" tracktype="Video" operator="=">8</rule>
<rule name="Is the chroma subsampling 4:2:0?" value="ChromaSubsampling" tracktype="Video" operator="=">4:2:0</rule>
<rule name="Is the audio AAC?" value="Format" tracktype="Audio" operator="=">AAC</rule>
<rule name="Is the sample rate 48khz?" value="SamplingRate" tracktype="Audio" operator="=">48000</rule>
</policy>
</policy>