-
Notifications
You must be signed in to change notification settings - Fork 27
/
makebroadcast_policies.xml
74 lines (74 loc) · 6.23 KB
/
makebroadcast_policies.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
<?xml version="1.0"?>
<policy type="and" name="Check Validity of makebroadcast files">
<description>This policy tests files made using makebroadcast and checks their validity</description>
<policy type="and" name="True for both XDCam and IMX">
<rule name="Is it MPEG-4?" value="Format" tracktype="General" operator="=">MPEG-4</rule>
<policy type="or" name="Writing Library is not stated or not QuickTime">
<rule name="Is Writing_Library not Apple QuickTime" value="Writing_library" tracktype="General" operator="!=">Apple QuickTime</rule>
<rule name="Is Writing_Library not used?" value="Writing_library" tracktype="General" operator="must not exist"/>
</policy>
<rule name="Is it QuickTime?" value="Format_Profile" tracktype="General" operator="=">QuickTime</rule>
<rule name="Is the CodecID qt?" value="CodecID" tracktype="General" operator="=">qt </rule>
<rule name="Is the framerate 29.970?" value="FrameRate" tracktype="General" operator="=">29.970</rule>
<rule name="Is the video stream first?" value="StreamOrder" tracktype="Video" operator="=">0</rule>
<rule name="Is the video format MPEG?" value="Format" tracktype="Video" operator="=">MPEG Video</rule>
<rule name="Is the video format version 2?" value="Format_Version" tracktype="Video" operator="=">2</rule>
<rule name="Is the picture set to frame?" value="Format_Settings_PictureStructure" tracktype="Video" operator="=">Frame</rule>
<rule name="Is the video bitrate CBR?" value="BitRate_Mode" tracktype="Video" operator="=">CBR</rule>
<rule name="Is the rotation 0?" value="Rotation" tracktype="Video" operator="=">0.000</rule>
<rule name="Is the framerate mode CFR?" value="FrameRate_Mode" tracktype="Video" operator="=">CFR</rule>
<rule name="Is the framerate 29.970?" value="FrameRate" tracktype="Video" operator="=">29.970</rule>
<rule name="Is the colorspace YUV?" value="ColorSpace" tracktype="Video" operator="=">YUV</rule>
<rule name="Is the chroma subsampling 4:2:2?" value="ChromaSubsampling" tracktype="Video" operator="=">4:2:2</rule>
<rule name="Is the bitdepth 8?" value="BitDepth" tracktype="Video" operator="=">8</rule>
<rule name="Is the audio stream after the video stream?" value="StreamOrder" tracktype="Audio" operator="=">1</rule>
<rule name="Is the audio PCM?" value="Format" tracktype="Audio" operator="=">PCM</rule>
<rule name="Is the audio signed?" value="Format_Settings_Sign" tracktype="Audio" operator="=">Signed</rule>
<rule name="Is the audio bitrate CBR?" value="BitRate_Mode" tracktype="Audio" operator="=">CBR</rule>
<rule name="Is the sampling rate 48Hz?" value="SamplingRate" tracktype="Audio" operator="=">48000</rule>
<rule name="Is the format profile correct?" value="Format_Profile" tracktype="Video" operator="=">4:2:2</rule>
<policy type="or" name="True for either XDCam or IMF">
<policy type="and" name="True about XDCam">
<rule name="Is it XDCAM HD422?" value="Format_Commercial_IfAny" tracktype="Video" operator="=">XDCAM HD422</rule>
<rule name="Is the format level correct?" value="Format_Level" tracktype="Video" operator="=">High</rule>
<rule name="Is the CodecId correct?" value="CodecID" tracktype="Video" operator="=">xd5b</rule>
<rule name="Is the width 1920?" value="Width" tracktype="Video" operator="=">1920</rule>
<rule name="Is the height 1080?" value="Height" tracktype="Video" operator="=">1080</rule>
<rule name="Is the pixel aspect ratio 1.000?" value="PixelAspectRatio" tracktype="Video" operator="=">1.000</rule>
<rule name="Is the display aspect ratio 1.778?" value="DisplayAspectRatio" tracktype="Video" operator="=">1.778</rule>
<policy type="or" name="Is the bitrate or maximum bitrate 50MB?">
<rule name="Is the bitrate 50MB?" value="BitRate" tracktype="Video" operator="=">50000000</rule>
<rule name="Is the bitrate maximum 50MB?" value="BitRate_Maximum" tracktype="Video" operator="=">50000000</rule>
</policy>
</policy>
<policy type="and" name="True about IMX">
<rule name="Is the format level correct?" value="Format_Level" tracktype="Video" operator="=">Main</rule>
<rule name="Is the CodecId correct?" value="CodecID" tracktype="Video" operator="=">mx3n</rule>
<rule name="Is the bitrate 30MB?" value="BitRate" tracktype="Video" operator="=">30000000</rule>
<rule name="Is the width 720?" value="Width" tracktype="Video" operator="=">720</rule>
<rule name="Is the height 486?" value="Height" tracktype="Video" operator="=">486</rule>
<rule name="Is the original height 512?" value="Height_Original" tracktype="Video" operator="=">512</rule>
<rule name="Is the sampled width 720?" value="Sampled_Width" tracktype="Video" operator="=">720</rule>
<rule name="Is the sampled height 512?" value="Sampled_Height" tracktype="Video" operator="=">512</rule>
<rule name="Is the pixel aspect ratio 0.948?" value="PixelAspectRatio" tracktype="Video" operator="=">0.948</rule>
<rule name="Is the display aspect ratio 1.404?" value="DisplayAspectRatio" tracktype="Video" operator="=">1.404</rule>
</policy>
</policy>
<policy type="or" name="Audio bit depth is 16 or 24?">
<rule name="Bit Depth is 16?" value="BitDepth" tracktype="Audio" operator="=">16</rule>
<rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" operator="=">24</rule>
</policy>
<policy type="or" name="Audio CodecID is sowt or in24?">
<rule name="CodecID is sowt?" value="CodecID" tracktype="Audio" operator="=">sowt</rule>
<rule name="CodecID is in24?" value="CodecID" tracktype="Audio" operator="=">in24</rule>
</policy>
<policy type="or" name="2 or 4 channels of audio?">
<rule name="2 channels of audio?" value="Channels" tracktype="Audio" operator="=">2</rule>
<rule name="4 channels of audio?" value="Channels" tracktype="Audio" operator="=">4</rule>
</policy>
<policy type="or" name="Progressive or Interlaced Top Field First?">
<rule name="Is it progressive?" value="ScanType" tracktype="Video" operator="=">Progressive</rule>
<rule name="Is it interlaced top field first?" value="ScanOrder" tracktype="Video" operator="=">TFF</rule>
</policy>
</policy>
</policy>