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

- fixed to our needs

parent 8a345d3a
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- SLUB version 2017-01 --> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized film 16mm" license="CC-BY-SA-4.0+">
<policy type="or" name="Video file is MKV + FFV1v3 + 16bitRGB with CRC32" license="CC-BY-SA-4.0+">
<description>SLUB related policy to test that the video file is suitable for archiving purposes. <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,…):
- Container format is Matroska with error detection (CRC) - Container format is Matroska with error detection (CRC)
- Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) - 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) - Audio format is PCM (unfortunately it can not contain error detection) or FLAC (it has CRC by design)
...@@ -28,24 +28,20 @@ ...@@ -28,24 +28,20 @@
<rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</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/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule>
<policy type="or" name="Video is 4k/16bit RGB or less 2k/10bit YUV"> <policy type="or" name="Video is 2k/16bit RGB">
<policy type="and" name="YUV"> <policy type="or" name="typical Resolutions">
<rule name="ColorSpace is YUV?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> <policy type="and" name="2K HD Format (2048x1080)">
<rule name="Chroma Subsampling is 4:2:2?" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:2:2</rule> <rule name="Video/Width is 2048" value="Width" tracktype="Video" occurrence="*" operator="=">2048</rule>
<policy type="or" name="Bit Depth is 8 or 10?"> <rule name="Video/Height is 1080" value="Height" tracktype="Video" occurrence="*" operator="=">1080</rule>
<rule name="Bit Depth is 8?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">8</rule>
<rule name="Bit Depth is 10?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule>
</policy> </policy>
</policy> </policy>
<policy type="and" name="RGB"> <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="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> <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule>
</policy> </policy>
</policy> </policy>
</policy>
<policy type="or" name="Audio exist or not"> <policy type="or" name="Audio">
<policy type="and" name="Audio exist">
<rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="=">1</rule> <rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="=">1</rule>
<policy type="or" name="Audio is PCM or FLAC"> <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 PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule>
...@@ -61,9 +57,5 @@ ...@@ -61,9 +57,5 @@
<rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule>
</policy> </policy>
</policy> </policy>
<policy type="or" name="Audio is not included">
<rule name="General/AudioCount is 0" value="AudioCount" tracktype="General" occurrence="*" operator="=">0</rule>
</policy>
</policy>
</policy> </policy>
</policy> </policy>
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- SLUB version 2017-01 --> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized film 35mm" license="CC-BY-SA-4.0+">
<policy type="or" name="Video file is MKV + FFV1v3 + 16bitRGB with CRC32" license="CC-BY-SA-4.0+">
<description>SLUB related policy to test that the video file is suitable for archiving purposes. <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:
- Container format is Matroska with error detection (CRC) - Container format is Matroska with error detection (CRC)
- Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) - 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: This policy is based on:
- Example MKV FFV1 digitization policy.xml - Example MKV FFV1 digitization policy.xml
- Video file is MKV + FFV1-Intra + PCM or FLAC with CRC32 everywhere.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 some policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de
</description> </description>
<policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection"> <policy type="and" name="MKV, FFV1 Intra, PCM/FLAC, error detection">
<policy type="and" name="Container"> <policy type="and" name="Container">
<rule name="General/FileExtension is mkv" value="FileExtension" tracktype="General" occurrence="*" operator="=">mkv</rule> <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="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="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/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> <rule name="General/FrameRate is 24.000" value="FrameRate" tracktype="General" occurrence="*" operator="=">24.000</rule>
</policy> </policy>
<policy type="and" name="Video"> <policy type="and" name="Video">
<rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule> <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="&gt;=">3.4</rule> <rule name="FFV1 is version 3.4 or later?" value="Format_Version" tracktype="Video" occurrence="*" operator="&gt;=">3.4</rule>
...@@ -28,24 +30,25 @@ ...@@ -28,24 +30,25 @@
<rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</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/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule>
<policy type="or" name="Video is 4k/16bit RGB or less 2k/10bit YUV"> <policy type="and" name="Video is >=4k/16bit RGB">
<policy type="and" name="YUV"> <policy type="or" name="typical Resolutions">
<rule name="ColorSpace is YUV?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> <policy type="and" name="4K Akademy Format (4048x2990)">
<rule name="Chroma Subsampling is 4:2:2?" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:2:2</rule> <rule name="Video/Width is 4048" value="Width" tracktype="Video" occurrence="*" operator="=">4048</rule>
<policy type="or" name="Bit Depth is 8 or 10?"> <rule name="Video/Height is 2990" value="Height" tracktype="Video" occurrence="*" operator="=">2990</rule>
<rule name="Bit Depth is 8?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">8</rule>
<rule name="Bit Depth is 10?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule>
</policy> </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>
<policy type="and" name="RGB"> </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="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> <rule name="Bit Depth is 16?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">16</rule>
</policy> </policy>
</policy> </policy>
</policy>
<policy type="or" name="Audio exist or not"> <policy type="or" name="Audio">
<policy type="and" name="Audio exist">
<rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="=">1</rule> <rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="=">1</rule>
<policy type="or" name="Audio is PCM or FLAC"> <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 PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule>
...@@ -61,9 +64,5 @@ ...@@ -61,9 +64,5 @@
<rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule>
</policy> </policy>
</policy> </policy>
<policy type="or" name="Audio is not included">
<rule name="General/AudioCount is 0" value="AudioCount" tracktype="General" occurrence="*" operator="=">0</rule>
</policy>
</policy>
</policy> </policy>
</policy> </policy>
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- SLUB version 2017-01 --> <policy type="or" name="SLUB Policy for MKV/FFV1v3, retrodigitized video ((S)VHS/Betamax/Betacam/Video2000)" license="CC-BY-SA-4.0+">
<policy type="or" name="Video file is MKV + FFV1v3 + 16bitRGB with CRC32" license="CC-BY-SA-4.0+">
<description>SLUB related policy to test that the video file is suitable for archiving purposes. <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:
- Container format is Matroska with error detection (CRC) - Container format is Matroska with error detection (CRC)
- Video format is FFV1 with error detection (CRC) and with Intra mode (each frame is independent) - 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) - Audio format is PCM (unfortunately it can not contain error detection) or FLAC (it has CRC by design)
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<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="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/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>
<policy type="and" name="Video"> <policy type="and" name="Video">
<rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule> <rule name="Video is FFV1" value="Format" tracktype="Video" occurrence="*" operator="=">FFV1</rule>
...@@ -28,24 +28,27 @@ ...@@ -28,24 +28,27 @@
<rule name="Video/ScanType is Progressive" value="ScanType" tracktype="Video" occurrence="*" operator="=">Progressive</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/Compression_Mode is Lossless" value="Compression_Mode" tracktype="Video" occurrence="*" operator="=">Lossless</rule>
<policy type="or" name="Video is 4k/16bit RGB or less 2k/10bit YUV"> <policy type="or" name="Video is PAL/NTSC">
<policy type="and" name="YUV"> <policy type="and" name="PAL">
<rule name="ColorSpace is YUV?" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule> <rule name="Video/Width is =768" value="Width" tracktype="Video" occurrence="*" operator="=">768</rule>
<rule name="Chroma Subsampling is 4:2:2?" value="ChromaSubsampling" tracktype="Video" occurrence="*" operator="=">4:2:2</rule> <rule name="Video/Height is =576" value="Height" tracktype="Video" occurrence="*" operator="=">576</rule>
<policy type="or" name="Bit Depth is 8 or 10?"> <rule name="General/FrameRate is 25.000" value="FrameRate" tracktype="General" occurrence="*" operator="=">25.000</rule>
<rule name="Bit Depth is 8?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">8</rule>
<rule name="Bit Depth is 10?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule>
</policy> </policy>
<policy type="and" name="NTSC">
<rule name="Video/Width is =640" value="Width" tracktype="Video" occurrence="*" operator="=">640</rule>
<rule name="Video/Height is =480" value="Height" tracktype="Video" occurrence="*" operator="=">480</rule>
<rule name="General/FrameRate is 30.000" value="FrameRate" tracktype="General" occurrence="*" operator="=">30.000</rule>
</policy> </policy>
<policy type="and" name="RGB">
<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="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>
</policy> </policy>
<rule name="Bit Depth is 10?" value="BitDepth" tracktype="Video" occurrence="*" operator="=">10</rule>
</policy> </policy>
<policy type="or" name="Audio exist or not">
<policy type="and" name="Audio exist"> <policy type="or" name="Audio">
<rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="=">1</rule> <rule name="General/AudioCount is 1" value="AudioCount" tracktype="General" occurrence="*" operator="=">1</rule>
<policy type="or" name="Audio is PCM or FLAC"> <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 PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule>
...@@ -61,9 +64,5 @@ ...@@ -61,9 +64,5 @@
<rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule> <rule name="Bit Depth is 24?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule>
</policy> </policy>
</policy> </policy>
<policy type="or" name="Audio is not included">
<rule name="General/AudioCount is 0" value="AudioCount" tracktype="General" occurrence="*" operator="=">0</rule>
</policy>
</policy>
</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