Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mediaconch-profile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
mediaconch-profile
Commits
51e48dbd
Commit
51e48dbd
authored
1 month ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- added FLAC container / file support, see 'Handreichung retrodigitalisierte Tondokumente', v1.0
parent
2383ef11
No related branches found
No related tags found
No related merge requests found
Pipeline
#10078
passed
1 month ago
Stage: build-env
Stage: package-profiles
Stage: test-package
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SLUB_mediaconch_policy_retrodigitized_audio.xml
+42
-4
42 additions, 4 deletions
SLUB_mediaconch_policy_retrodigitized_audio.xml
with
42 additions
and
4 deletions
SLUB_mediaconch_policy_retrodigitized_audio.xml
+
42
−
4
View file @
51e48dbd
<?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 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 checks either
- 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)
- else a FLAC
- if a FLAC-file fulfills the needs for Audio retrodigitization:
- Container format is FLAC with error detection (CRC)
- Audio format is 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 any policy violations or suggestions, please send an email to langzeitarchiv@slub-dresden.de
Hint: this policy is well tested with mediaconch v
18.0 and v2
2.0
9
Hint: this policy is well tested with mediaconch v2
4
.0
6
</description>
<policy
type=
"and"
name=
"FLAC-Container, FLAC-codec, error detection"
>
<policy
type=
"and"
name=
"Container"
>
<policy
type=
"or"
name=
"FileExtension"
>
<rule
name=
"General/FileExtension is flac"
value=
"FileExtension"
tracktype=
"General"
occurrence=
"*"
operator=
"="
>
flac
</rule>
</policy>
<rule
name=
"Container is FLAC"
value=
"Format"
tracktype=
"General"
occurrence=
"*"
operator=
"="
>
FLAC
</rule>
</policy>
<policy
type=
"and"
name=
"Audio"
>
<rule
name=
"General/AudioCount is 1"
value=
"AudioCount"
tracktype=
"General"
occurrence=
"*"
operator=
">="
>
1
</rule>
<rule
name=
"Audio/Compression_Mode is Lossless"
value=
"Compression_Mode"
tracktype=
"Audio"
occurrence=
"*"
operator=
"="
>
Lossless
</rule>
<policy
type=
"or"
name=
"Audio is FLAC"
>
<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=
"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
type=
"and"
name=
"MKV, FFV1 Intra, PCM/FLAC, error detection"
>
<policy
type=
"and"
name=
"Container"
>
<policy
type=
"or"
name=
"FileExtension"
>
...
...
@@ -26,6 +63,7 @@
</policy>
<policy
type=
"and"
name=
"Audio"
>
<rule
name=
"General/AudioCount is 1"
value=
"AudioCount"
tracktype=
"General"
occurrence=
"*"
operator=
">="
>
1
</rule>
<rule
name=
"Audio/Compression_Mode is Lossless"
value=
"Compression_Mode"
tracktype=
"Audio"
occurrence=
"*"
operator=
"="
>
Lossless
</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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment