Select Git revision
SLUB_mediaconch_policy_retrodigitized_film35mm.xml
SLUB_mediaconch_policy_retrodigitized_film35mm.xml 7.73 KiB
<?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 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 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="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 type="and" name="FrameRate from 14Hz till 32Hz">
<rule name="General/FrameRate is 14.000 or greater" value="FrameRate" tracktype="General" occurrence="*" operator=">=">14.000</rule>
<rule name="General/FrameRate is 32.000 or lower" value="FrameRate" tracktype="General" occurrence="*" operator="<=">32.000</rule>
</policy>
</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="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="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>
<rule name="Video/FrameRate is 24.000" value="FrameRate" tracktype="Video" occurrence="*" operator="=">24.000</rule>
<policy type="and" name="Video is >=4k/16bit RGB">
<policy type="or" name="typical Resolutions">
<policy type="and" name="4K Akademy Format (4048x2990)">
<rule name="Video/Width is 4048" value="Width" tracktype="Video" occurrence="*" operator="=">4048</rule>
<rule name="Video/Height is 2990" value="Height" tracktype="Video" occurrence="*" operator="=">2990</rule>
</policy>
<policy type="and" name="4K Format Fa. CinepostProduction (4096x3200)">
<rule name="Video/Width is 4096" value="Width" tracktype="Video" occurrence="*" operator="=">4096</rule>
<rule name="Video/Height is 3200" value="Height" tracktype="Video" occurrence="*" operator="=">3200</rule>
<rule name="Video/DisplayAspectRatio is 1.280" value="DisplayAspectRatio" tracktype="Video" occurrence="*" operator="=">1.280</rule>
</policy>
<policy type="and" name="4K Format Fa. Omnimago (4096x3460)">
<rule name="Video/Width is 4096" value="Width" tracktype="Video" occurrence="*" operator="=">4096</rule>
<rule name="Video/Height is 3460" value="Height" tracktype="Video" occurrence="*" operator="=">3460</rule>
<rule name="Video/DisplayAspectRatio is 1.184" value="DisplayAspectRatio" tracktype="Video" occurrence="*" operator="=">1.184</rule>
</policy>
<policy type="and" name="4K Format Fa. Omnimago (4096x2976)">
<rule name="Video/Width is 4096" value="Width" tracktype="Video" occurrence="*" operator="=">4096</rule>
<rule name="Video/Height is 2976" value="Height" tracktype="Video" occurrence="*" operator="=">2976</rule>
<rule name="Video/DisplayAspectRatio is 1.376" value="DisplayAspectRatio" tracktype="Video" occurrence="*" operator="=">1.376</rule>
</policy>
<policy type="and" name="6k (volle Filmbreite, 6608x3476)">
<rule name="Video/Width is 6698" value="Width" tracktype="Video" occurrence="*" operator="=">6608</rule>
<rule name="Video/Height is 3476" value="Height" tracktype="Video" occurrence="*" operator="=">3476</rule>
</policy>
<policy type="and" name="35mm Film, 80 lines/mm (1760x1280)">
<rule name="Video/Width is at least 1760" value="Width" tracktype="Video" occurrence="*" operator=">">1759</rule>
<rule name="Video/Height is at least 1280" value="Height" tracktype="Video" occurrence="*" operator=">">1279</rule>
</policy>
</policy>
<rule name="Video/PixelAspectRatio is 1.000" value="PixelAspectRatio" tracktype="Video" occurrence="*" operator="=">1.000</rule>
<rule name="ColorSpace is RGB" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">RGB</rule>
<!-- <rule name="Chroma Subsampling is 4:4:4" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:4:4</rule> -->
<rule name="Bit Depth is 16" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule>
</policy>
</policy>
<policy type="or" name="Audio">
<rule name="Audio does not exist" value="AudioCount" tracktype="General" occurrence="*" operator="must not exist"/>
<policy type="and" name="Audio exist">
<rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator=">=">1</rule>
<policy type="or" name="Audio is PCM or FLAC">
<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>
<policy name="Audio is multiple of 48kHz till 192kHz" type="or">
<rule name="Audio is 48000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule>
<rule name="Audio is 96000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">96000</rule>
<rule name="Audio is 144000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">144000</rule>
<rule name="Audio is 192000 Hz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">192000</rule>
</policy>
<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>
</policy>
</policy>
</policy>
</policy>