Skip to content
Snippets Groups Projects
Commit 5a6f8476 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed

parent 14d65e71
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0"?>
<policy type="or" name="SLUB Policy for MKV/linear PCM, retrodigitized audio" license="CC-BY-SA-4.0+">
<description>SLUB related policy to test that the audio file is suitable for archiving purposes.
This checks if a MKV/linear PCM fulfills the needs for Audio retrodigitization:
This checks if a Matroska/linear PCM fulfills the needs for Audio retrodigitization:
- Container format is Matroska with error detection (CRC)
- Audio format is PCM (unfortunately it can not contain error detection) or FLAC (it has CRC by design)
This policy is based on:
......@@ -12,16 +12,13 @@
<policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection">
<policy type="and" name="Container">
<policy type="or" name="FileExtension">
<rule name="General/FileExtension is mkv" value="FileExtension" tracktype="General" occurrence="*" operator="=">mkv</rule>
<rule name="General/FileExtension is mka" value="FileExtension" tracktype="General" occurrence="*" operator="=">mka</rule>
</policy>
<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="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="Audio">
<rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="&gt;=">1</rule>
<policy type="or" name="Audio is PCM or FLAC">
......@@ -38,7 +35,10 @@
<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>
<rule name="Bit Depth is 24" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule>
<policy type="or" name="Bit Depth is at least 16 Bit">
<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>
</policy>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment