diff --git a/HINTS b/HINTS index 9749ef4877cf797f359810892311b8ec0f1d3174..e771827ebdd7c89391bc1f6b63c0c7d209261cc0 100644 --- a/HINTS +++ b/HINTS @@ -1,7 +1,7 @@ the policy format of mediaconch is not well documented yet, here some observations (date: 2017-02-20) -- within the policy-xml there are no XML-comments allowed +- within the policy-xml, no XML-comments are allowed (will be fixed in upcoming mediaconch version) - tag <description /> is only allowed on top level, otherwise it will be @@ -11,9 +11,9 @@ the policy format of mediaconch is not well documented yet, here some observatio <description>foo</description> <rule name="bar" value="baz" tracktype="General" occurrence="*" operator="=">1</rule> </policy> - will always "true", also if <rule name="bar" .. /> fails. + will always "true", even if <rule name="bar" .. /> fails. -- to express that either a stream should not exist or exist with given properties, try this: +- to express that either a stream should not exist or should exist with given properties, try this: <policy type="or" name="Audio"> <rule name="Audio does not exist" value="Default" tracktype="Audio" occurrence="*" operator="must not exist"/> <policy type="or" name="Audio exist"> @@ -22,10 +22,10 @@ the policy format of mediaconch is not well documented yet, here some observatio </policy> Expected video-sizes: -- a good source about videosizes could be https://de.wikipedia.org/wiki/Digital_Intermediate +- a good source about videosizes can be found at https://de.wikipedia.org/wiki/Digital_Intermediate Preservation policy for video material of SLUB: -- there is no policy offically released yet, please be patient… :) +- there is no policy officially released yet, please be patient… :) Howto check files against policy: - you need an installed mediaconch diff --git a/README.md b/README.md index 2bd7af864f783168c0bcb0f8384f2c1b3718c973..13dfc47819ccaffdcb67de20aa03d7e6557baf5f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -Mediaconch policies to fullfill needs of SLUBArchiv preservation requirements -============================================================================= +Mediaconch policies to fulfill the needs of SLUBArchiv preservation requirements +================================================================================ based on: * system policy "Example MKV FFV1 digitization policy" by mediaconch diff --git a/SLUB_mediaconch_policy_retrodigitized_film16mm.xml b/SLUB_mediaconch_policy_retrodigitized_film16mm.xml index c09355fb86d689fb508f39c875ca7aa0523c1c7a..a554015f574023f5f8246323b414089a2727f306 100644 --- a/SLUB_mediaconch_policy_retrodigitized_film16mm.xml +++ b/SLUB_mediaconch_policy_retrodigitized_film16mm.xml @@ -1,30 +1,30 @@ <?xml version="1.0"?> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized film 16mm" license="CC-BY-SA-4.0+"> <description>SLUB related policy to test that the video file is suitable for archiving purposes. - This checks if a MKV/FFV1v3 fullfill needs for 16mm retrodigitization (also Super16, Normal16,…): + This checks if a MKV/FFV1v3 fulfills the needs for 16mm retrodigitization (also Super16, Normal16,…): - Container format is Matroska with error detection (CRC) - Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) - Audio format is PCM (unfortunately it can not contain error detection) or FLAC (it has CRC by design) This policy is based on: - Example MKV FFV1 digitization policy.xml - Video file is MKV + FFV1-Intra + PCM or FLAC with CRC32 everywhere.xml - If there are some policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de + If there are any policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de </description> <policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection"> <policy type="and" name="Container"> <rule name="General/FileExtension is mkv" value="FileExtension" tracktype="General" occurrence="*" operator="=">mkv</rule> <rule name="Container is MKV" value="Format" tracktype="General" occurrence="*" operator="=">Matroska</rule> - <rule name="Unique ID is present?" value="UniqueID" tracktype="General" occurrence="*"/> + <rule name="Unique ID is present" value="UniqueID" tracktype="General" occurrence="*"/> <rule name="Container uses error detection" value="extra/ErrorDetectionType" tracktype="General" occurrence="*" operator="=">Per level 1</rule> <rule name="General/Format_Version is 4" value="Format_Version" tracktype="General" occurrence="*" operator="=">4</rule> <rule name="General/FrameRate is 24.000" value="FrameRate" tracktype="General" occurrence="*" operator="=">24.000</rule> </policy> <policy type="and" name="Video"> <rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule> - <rule name="FFV1 is version 3.4 or later?" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> + <rule name="FFV1 is version 3.4 or later" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> <rule name="GOP size of 1" value="Format_Settings_GOP" tracktype="Video" occurrence="*" operator="=">N=1</rule> <rule name="Video uses error detection" value="extra/ErrorDetectionType" tracktype="Video" occurrence="*" operator="=">Per slice</rule> - <rule name="Frame Rate is Constant?" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> + <rule name="Frame Rate is Constant" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> <rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</rule> <rule name="Video/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule> @@ -36,8 +36,8 @@ </policy> </policy> <rule name="Video/PixelAspectRatio is 1.000" value="PixelAspectRatio" tracktype="Video" occurrence="*" operator="=">1</rule> - <rule name="ColorSpace is RGB?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule> - <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule> + <rule name="ColorSpace is RGB" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule> + <rule name="Bit Depth is 16" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule> </policy> </policy> @@ -49,14 +49,14 @@ <rule name="Audio is PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule> <rule name="Audio is FLAC" value="Format" tracktype="Audio" occurrence="*" operator="=">FLAC</rule> </policy> - <rule name="Audio is 48000 Hz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> - <policy type="or" name="Audio is Stereo or Mono?"> - <rule name="Audio is mono?" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> - <rule name="Audio is stereo?" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> + <rule name="Audio is 48000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> + <policy type="or" name="Audio is Stereo or Mono"> + <rule name="Audio is mono" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> + <rule name="Audio is stereo" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> </policy> - <policy type="or" name="Audio Bit Depth is 16 or 24?"> - <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> - <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> + <policy type="or" name="Audio Bit Depth is 16 or 24"> + <rule name="Bit Depth is 16" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> + <rule name="Bit Depth is 24" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> </policy> </policy> </policy> diff --git a/SLUB_mediaconch_policy_retrodigitized_film35mm.xml b/SLUB_mediaconch_policy_retrodigitized_film35mm.xml index 1e9b84186fe48772c54e245fcdf940b4ae218e6e..2b69fd31d465518402eeb92ce5c395271ce9be96 100644 --- a/SLUB_mediaconch_policy_retrodigitized_film35mm.xml +++ b/SLUB_mediaconch_policy_retrodigitized_film35mm.xml @@ -1,20 +1,20 @@ <?xml version="1.0"?> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized film 35mm" license="CC-BY-SA-4.0+"> <description>SLUB related policy to test that the video file is suitable for archiving purposes. - This checks if a MKV/FFV1v3 fullfill needs for 35mm retrodigitization: + This checks if a MKV/FFV1v3 fulfills the needs for 35mm retrodigitization: - Container format is Matroska with error detection (CRC) - Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) This policy is based on: - Example MKV FFV1 digitization policy.xml - Video file is MKV + FFV1-Intra + PCM or FLAC with CRC32 everywhere.xml - If there are some policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de + If there are any policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de </description> <policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection"> <policy type="and" name="Container"> <rule name="General/FileExtension is mkv" value="FileExtension" tracktype="General" occurrence="*" operator="=">mkv</rule> <rule name="Container is MKV" value="Format" tracktype="General" occurrence="*" operator="=">Matroska</rule> - <rule name="Unique ID is present?" value="UniqueID" tracktype="General" occurrence="*"/> + <rule name="Unique ID is present" value="UniqueID" tracktype="General" occurrence="*"/> <rule name="Container uses error detection" value="extra/ErrorDetectionType" tracktype="General" occurrence="*" operator="=">Per level 1</rule> <rule name="General/Format_Version is 4" value="Format_Version" tracktype="General" occurrence="*" operator="=">4</rule> @@ -23,10 +23,10 @@ <policy type="and" name="Video"> <rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule> - <rule name="FFV1 is version 3.4 or later?" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> + <rule name="FFV1 is version 3.4 or later" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> <rule name="GOP size of 1" value="Format_Settings_GOP" tracktype="Video" occurrence="*" operator="=">N=1</rule> <rule name="Video uses error detection" value="extra/ErrorDetectionType" tracktype="Video" occurrence="*" operator="=">Per slice</rule> - <rule name="Frame Rate is Constant?" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> + <rule name="Frame Rate is Constant" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> <rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</rule> <rule name="Video/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule> @@ -42,8 +42,8 @@ </policy> </policy> <rule name="Video/PixelAspectRatio is 1.000" value="PixelAspectRatio" tracktype="Video" occurrence="*" operator="=">1</rule> - <rule name="ColorSpace is RGB?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule> - <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule> + <rule name="ColorSpace is RGB" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule> + <rule name="Bit Depth is 16" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule> </policy> </policy> @@ -56,14 +56,14 @@ <rule name="Audio is PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule> <rule name="Audio is FLAC" value="Format" tracktype="Audio" occurrence="*" operator="=">FLAC</rule> </policy> - <rule name="Audio is 48000 Hz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> - <policy type="or" name="Audio is Stereo or Mono?"> - <rule name="Audio is mono?" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> - <rule name="Audio is stereo?" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> + <rule name="Audio is 48000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> + <policy type="or" name="Audio is Stereo or Mono"> + <rule name="Audio is mono" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> + <rule name="Audio is stereo" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> </policy> - <policy type="or" name="Audio Bit Depth is 16 or 24?"> - <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> - <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> + <policy type="or" name="Audio Bit Depth is 16 or 24"> + <rule name="Bit Depth is 16" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> + <rule name="Bit Depth is 24" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> </policy> </policy> </policy> diff --git a/SLUB_mediaconch_policy_retrodigitized_film8mm.xml b/SLUB_mediaconch_policy_retrodigitized_film8mm.xml index cce0d947565b74219f4bf11be5fcd868e24397ff..084dcba5846b6cf4fb0c09db4aaef150843e31d5 100644 --- a/SLUB_mediaconch_policy_retrodigitized_film8mm.xml +++ b/SLUB_mediaconch_policy_retrodigitized_film8mm.xml @@ -1,30 +1,30 @@ <?xml version="1.0"?> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized film ~8mm" license="CC-BY-SA-4.0+"> <description>SLUB related policy to test that the video file is suitable for archiving purposes. - This checks if a MKV/FFV1v3 fullfill needs for 8mm retrodigitization (also Super8, Normal8, 9,5mm…): + This checks if a MKV/FFV1v3 fulfills the needs for 8mm retrodigitization (also Super8, Normal8, 9,5mm…): - Container format is Matroska with error detection (CRC) - Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) - Audio format is PCM (unfortunately it can not contain error detection) or FLAC (it has CRC by design) This policy is based on: - Example MKV FFV1 digitization policy.xml - Video file is MKV + FFV1-Intra + PCM or FLAC with CRC32 everywhere.xml - If there are some policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de + If there are any policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de </description> <policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection"> <policy type="and" name="Container"> <rule name="General/FileExtension is mkv" value="FileExtension" tracktype="General" occurrence="*" operator="=">mkv</rule> <rule name="Container is MKV" value="Format" tracktype="General" occurrence="*" operator="=">Matroska</rule> - <rule name="Unique ID is present?" value="UniqueID" tracktype="General" occurrence="*"/> + <rule name="Unique ID is present" value="UniqueID" tracktype="General" occurrence="*"/> <rule name="Container uses error detection" value="extra/ErrorDetectionType" tracktype="General" occurrence="*" operator="=">Per level 1</rule> <rule name="General/Format_Version is 4" value="Format_Version" tracktype="General" occurrence="*" operator="=">4</rule> <rule name="General/FrameRate is 24.000" value="FrameRate" tracktype="General" occurrence="*" operator="=">24.000</rule> </policy> <policy type="and" name="Video"> <rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule> - <rule name="FFV1 is version 3.4 or later?" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> + <rule name="FFV1 is version 3.4 or later" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> <rule name="GOP size of 1" value="Format_Settings_GOP" tracktype="Video" occurrence="*" operator="=">N=1</rule> <rule name="Video uses error detection" value="extra/ErrorDetectionType" tracktype="Video" occurrence="*" operator="=">Per slice</rule> - <rule name="Frame Rate is Constant?" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> + <rule name="Frame Rate is Constant" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> <rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</rule> <rule name="Video/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule> @@ -37,14 +37,14 @@ </policy> <policy type="or" name="YUV or RGB"> <policy type="and" name="YUV"> - <rule name="ColorSpace is YUV?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> - <rule name="Chroma Subsampling is 4:4:4?" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:4:4</rule> + <rule name="ColorSpace is YUV" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> + <rule name="Chroma Subsampling is 4:4:4" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:4:4</rule> </policy> <policy type="and" name="RGB"> - <rule name="ColorSpace is RGB?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule> + <rule name="ColorSpace is RGB" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule> </policy> </policy> - <rule name="Bit Depth is 10?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule> + <rule name="Bit Depth is 10" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule> </policy> </policy> @@ -56,14 +56,14 @@ <rule name="Audio is PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule> <rule name="Audio is FLAC" value="Format" tracktype="Audio" occurrence="*" operator="=">FLAC</rule> </policy> - <rule name="Audio is 48000 Hz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> - <policy type="or" name="Audio is Stereo or Mono?"> - <rule name="Audio is mono?" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> - <rule name="Audio is stereo?" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> + <rule name="Audio is 48000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> + <policy type="or" name="Audio is Stereo or Mono"> + <rule name="Audio is mono" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> + <rule name="Audio is stereo" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> </policy> - <policy type="or" name="Audio Bit Depth is 16 or 24?"> - <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> - <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> + <policy type="or" name="Audio Bit Depth is 16 or 24"> + <rule name="Bit Depth is 16" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> + <rule name="Bit Depth is 24" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> </policy> </policy> </policy> diff --git a/SLUB_mediaconch_policy_retrodigitized_video.xml b/SLUB_mediaconch_policy_retrodigitized_video.xml index 75ebca717116c27b3f747a4335960f7717aa7dab..eb9aa4b23fbd6570fb6a2bfbe0076d370ab45260 100644 --- a/SLUB_mediaconch_policy_retrodigitized_video.xml +++ b/SLUB_mediaconch_policy_retrodigitized_video.xml @@ -1,30 +1,30 @@ <?xml version="1.0"?> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized video ((S)VHS/Betamax/Betacam/Video2000)" license="CC-BY-SA-4.0+"> <description>SLUB related policy to test that the video file is suitable for archiving purposes. - This checks if a MKV/FFV1v3 fullfill needs for Video retrodigitization: + This checks if a MKV/FFV1v3 fulfills the needs for Video retrodigitization: - Container format is Matroska with error detection (CRC) - Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) - Audio format is PCM (unfortunately it can not contain error detection) or FLAC (it has CRC by design) This policy is based on: - Example MKV FFV1 digitization policy.xml - Video file is MKV + FFV1-Intra + PCM or FLAC with CRC32 everywhere.xml - If there are some policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de + If there are any policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de </description> <policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection"> <policy type="and" name="Container"> <rule name="General/FileExtension is mkv" value="FileExtension" tracktype="General" occurrence="*" operator="=">mkv</rule> <rule name="Container is MKV" value="Format" tracktype="General" occurrence="*" operator="=">Matroska</rule> - <rule name="Unique ID is present?" value="UniqueID" tracktype="General" occurrence="*"/> + <rule name="Unique ID is present" value="UniqueID" tracktype="General" occurrence="*"/> <rule name="Container uses error detection" value="extra/ErrorDetectionType" tracktype="General" occurrence="*" operator="=">Per level 1</rule> <rule name="General/Format_Version is 4" value="Format_Version" tracktype="General" occurrence="*" operator="=">4</rule> </policy> <policy type="and" name="Video"> <rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule> - <rule name="FFV1 is version 3.4 or later?" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> + <rule name="FFV1 is version 3.4 or later" value="Format_Version" tracktype="Video" occurrence="*" operator=">=">3.4</rule> <rule name="GOP size of 1" value="Format_Settings_GOP" tracktype="Video" occurrence="*" operator="=">N=1</rule> <rule name="Video uses error detection" value="extra/ErrorDetectionType" tracktype="Video" occurrence="*" operator="=">Per slice</rule> - <rule name="Frame Rate is Constant?" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> + <rule name="Frame Rate is Constant" value="FrameRate_Mode" tracktype="Video" occurrence="*" operator="=">CFR</rule> <rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</rule> <rule name="Video/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule> @@ -42,10 +42,10 @@ </policy> <policy type="and" name="YUV"> - <rule name="ColorSpace is YUV?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> - <rule name="Chroma Subsampling is 4:2:2?" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:2:2</rule> + <rule name="ColorSpace is YUV" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> + <rule name="Chroma Subsampling is 4:2:2" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:2:2</rule> </policy> - <rule name="Bit Depth is 10?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule> + <rule name="Bit Depth is 10" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule> </policy> <policy type="or" name="Audio"> @@ -54,14 +54,14 @@ <rule name="Audio is PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule> <rule name="Audio is FLAC" value="Format" tracktype="Audio" occurrence="*" operator="=">FLAC</rule> </policy> - <rule name="Audio is 48000 Hz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> - <policy type="or" name="Audio is Stereo or Mono?"> - <rule name="Audio is mono?" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> - <rule name="Audio is stereo?" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> + <rule name="Audio is 48000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> + <policy type="or" name="Audio is Stereo or Mono"> + <rule name="Audio is mono" value="Channels" tracktype="Audio" occurrence="*" operator="=">1</rule> + <rule name="Audio is stereo" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule> </policy> - <policy type="or" name="Audio Bit Depth is 16 or 24?"> - <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> - <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> + <policy type="or" name="Audio Bit Depth is 16 or 24"> + <rule name="Bit Depth is 16" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> + <rule name="Bit Depth is 24" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> </policy> </policy> </policy>