nypl / ami-preservation Goto Github PK
View Code? Open in Web Editor NEWRepo for NYPL's Audio and Moving Image Preservation Unit. Documentation Site:
Home Page: https://nypl.github.io/ami-preservation/
Repo for NYPL's Audio and Moving Image Preservation Unit. Documentation Site:
Home Page: https://nypl.github.io/ami-preservation/
reasons for doing this are pretty clear; also the change has already been made at ami-tools.
Instructions here:
https://github.com/github/renaming
echo "Total transferred: " ; snowballEdge describe-device --profile MPS-XFR3 | jq '.DeviceCapacities[] | select( .Name == "HDD Storage") | (.Total - .Available)/1e12'
=FILTER(D:D,SEARCH("invalid",D:D,1))
example: column D (above) contains 10000 lines of text; need to filter out every line that describes an invalid file
e.g. "abc_123456_v01_pm.json is invalid" in order to get a list of every invalid json file. This will search column D and drop a list into the cells below where this formula is entered.
put the actual command here
https://nypl.github.io/ami-preservation/pages/qualityControl/qc-workflow.html#mounting-drives-read-only
aws s3 sync --exclude '*' --include '*_sc*' --include '*_em*' /source/path/ s3://ami-carnegie-servicecopies/
change to allow either 0 or 2 audio channels
On https://nypl.github.io/ami-preservation/pages/mps/qc-workflow.html,
all of the following links essentially go here: https://github.com/NYPL/ami-preservation
Under 'Mounting Drives Read-Only'
Under 'Media specification validation (MediaConch)' (2 links)
Under 'Generating a QC list'
Under 'Content Inspection'
Under 'SPOT CHECKING CONTENT & JSON'
Under LOGGING QC FAILURES & FLAGS
Under 'MEDIA INGEST PREPARATION'
Add to specs: protocol for digitizing endless-loop cassettes (i.e. cartridges, compact cassettes etc.):
ERROR - There is no media file found at /Volumes/lpasync/!-PAMI/InHouse/2022_004_pami_222_scl5356/512856/data/EditMasters/scb_512856_v01f01s02_em.wav
The above error was encountered because the assetReferenceFilename in the JSON metadata listed the filename as 'scb_512856_v01f01s02_em.wav' but the filename was actually 'scb_512856_v01f01s02_em.flac'. The error message is correct, but one must know that the tool is looking for the filename as listed in the JSON metadata, to confirm a match.
use child page template
example, to create a filter to search for the term 'invalid' in column 'A', where column A has a header in cell A1 (partial match, so it will find any cell with this word):
=filter(A2:A,search("invalid",A2:A))
Update specs to clarify this
per vendor meeting notes: https://docs.google.com/document/d/1fQtxKQKPestGvwcx9pO8MUJ5ncNmvvN6LWyscn5_Dko/edit?disco=AAAAK7yAJCY
Hi all,
For about 6 months now I'm the 'maintainer' of the reference FLAC implementation at https://github.com/xiph/flac I get a lot of feedback from users, but almost exclusively from people maintaining their own, private, relatively small audio collection, and I'd like some feedback from the archiving community.
Because of that I visited the NTTW conference this week. I was pointed by Andrew Weaver to this particular github repo. I'm not sure an issue at this repository is the best place for such feedback, if not, perhaps we can get in touch?
The reason I reach out beyond the community I can currently reach is because of the '--keep-foreign-metadata' option in FLAC, which enables storing BWF metadata (and other WAV metadata) in a FLAC file. I would like to improve on it, but am unsure how. Besides that, you might have some pointers for me on specific improvements that might be beneficial for your use cases.
Thanks in advance
currently -c:a copy
but should be -c:a pcm_s24le
This code errors if the folder already exists (e.g. multiple tag files)
Change to
os.makedirs(tag_dir, exist_ok=True)
leading commas: find path/to/dir/of/json -type f -iname '*.json' -exec gsed -i 's/{,/{/g' {} \;
trailing commas: find /Volumes/NYPL454416/jsonCommaIssue_audio/ -type f -iname '*.json' -exec any-json --input-format=hjson {} {} \;
i.e. "}," and when there are too many commas after objects
TOC includes media groups only for film.
Sometimes files are placed in the wrong folder, e.g. example_sc.json
is put in PreservationMasters/
split_projects
could potentially address this by moving files based on their file name.
Instead of
new_file_path = os.path.join(source_directory, cms_id, file_path)
...
if old_file_path.endswith(('mkv', 'json', 'mp4', 'dv', 'flac')):
shutil.move(old_file_path, new_file_path)
it could be
if old_file_path.endswith(('mkv', 'json', 'mp4', 'dv', 'flac')):
if os.path.basename(old_file_path).endswith('_em'):
new_file_path = os.path.join(source_directory, cms_id, 'EditMasters')
elif ... ('_pm'):
...
elif .. ('_sc'):
...
os.makedirs(new_file_path)
shutil.move(old_file_path, new_file_path)
ajv validate --all-errors --multiple-of-precision=0 --verbose -s
...
On https://nypl.github.io/ami-preservation/pages/mps/outsourced-digitization.html
Official Kodak guide only goes up to 2016, I think.. We need a way to document newer years.
Possible Kodak Edge Code dates for recent years (unconfirmed as of 2022 via Mark Toscano / AMIA-L):
2020 = KN
2021 = NM
2022 = DK
(confirmed?)
2017 = ET
2018 = AM
2019 = SN
@rdmarino / @cgmcnamara - might be worth discussing for future film docs updates (not that we get many new prints..)
copied from issue on ami-specs https://github.com/NYPL/ami-specifications/issues/19
Define a folder and file name scheme for any metadata about digitized objects that should not go into the payload. Examples include QC Tools reports, extracted timecode, ffmpeg logs.
Proposal:
Top level directory named metadata. Files in the directory should have the same name as the file they are related to, up until the extension, e.g. abc_123456_v01_pm.mkv would have a qctool report named abc_123456_v01_pm.qctools.tar.gz. Checksums for any files in the metadata are optional and should be written to the tagmanifest (as part of bagit spec)
Example:
581608
├── bag-info.txt
├── bagit.txt
├── data
│ ├── PreservationMasters
│ │ ├── myt_581608_v01_pm.json
│ │ └── myt_581608_v01_pm.mkv
│ └── ServiceCopies
│ ├── myt_581608_v01_sc.json
│ └── myt_581608_v01_sc.mp4
├── manifest-md5.txt
├── metadata
│ ├── myt_581608_v01_pm_rp188any_frame_timecodes.txt
│ └── myt_581608_v01_pm.qctools.tar.gz
└── tagmanifest-md5.txt
On https://nypl.github.io/ami-preservation/pages/mps/outsourced-digitization.html:
Under 'Project Creation'
Under 'Project Preparation and Logistics'
Under 'Project tracking'
Under 'Project Close-Out,' 'Quality Control'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.