Batch Updating Media

Hello,

We have a large collection of videos that have been imported as individual items (around 3000 of them) on our local institutional installation of Omeka S. We imported these using sideload.

We want to edit these video files now - all of them - by adjusting the bitrate and resolution - to compress them basically to take up less storage. We have access to where the files are stored with their omeka generated file name. I have the CSV file of the filename and omeka item ID.

My question is, about the safest/most efficient way to do this.

Because I have access to where the files are stored, would it be wise for me to edit them on the actual server store. I am afraid then the techincal metadata attached within Omeka S will not match, but perhaps Easy Admin can then re-index the media and update all of that metadata.

Otherwise I imagine I can do a more standard batch delete of all the files, and then use a CSV import with the omeka ITEM id to upload the updated batch of files?

Thanks for your time,

Sanjin

You certainly can delete them and then do a batch update to the parent item (or a batch media import) with CSV Import.

Replacing them directly on the filesystem will work, but as you say the database will still have the original values for certain metadata like the hash of the file and filesize. You could update those directly also, or could decide that those things being inaccurate isn’t an issue for your usecase.

I do believe that Easy Admin, as you suggest, has functions for updating filesize/hash, but I’m not a user of that module. Its module page does list those functionalities, though.

1 Like