Add ability to manage metadata in object representation table without having to upload a file directly. For Western Front/Belkin so they can manage preservation metadata and export METS xml from their CA system while still managing large video files using LTO.
Confirmed that this is not yet needed by Belkin - so there is still some time left, e.g. after we get feedback from Western Front (they do not have a deadline for this but generally said “end of summer”)
Just wanted to check in on this. Would October 10 be an ok deadline for this? I think Catherine is looking to try and wrap backend up by end of October
To be clear, they want to be able to create a placeholder ca_object_representation record and also let the Mediainfo / exiftool tools extract metadata (ideally). So upload the huge file, extract metadata, and then discard the file.
This is implemented in GitHub/develop branch. Two new new media_processing.conf settings are added, which may be set on a per-media version basis:
SKIP_WHEN_FILE_LARGER_THAN skips processing of a version when the uploaded file is greater than the number of bytes specified here
REPLACE_WITH_VERSION remaps all calls to the version to another extant version.
When SKIP_WHEN_FILE_LARGER_THAN is used REPLACE_WITH_VERSION is only honored if the size of the uploaded file exceeds the stated limit. When REPLACE_WITH_VERSION is used without SKIP_WHEN_FILE_LARGER_THAN the version is always skipped and remapped.
We can set REPLACE_WITH_VERSION on the “original” version config for quicktime and mpeg-4 to skip storage of the “original” and force any reference to the “original” version to return a derivative, avoiding brokeness in the user interface.