I am trying to determine if there is a programmatic way to remove file references for media that has been deleted. (The same as when you select the files using Interplay Access and remove the references with no media).
We have a workflow situation with two of our products that use AMT and Web Services. Our transcoding application is used to replace a media format for assets. We do this with AMT to add the new format and then use web services to delete the previous media format. (eg. add DNxHD to an asset that is XDCAM50 (with AMT) and then with successful transcode, use Web Services to remove the XDCAM50 media.
Other application uses web services to obtain a list of files associated with an asset. (This of course shows all file links including the XDCAM50). This is an archive application and for now it treats the file links with media that was deleted as "offline" that MAY come back online later. So warning messages are logged.
The customer is manually removing file references for the media that was deleted with our application to avoid this issue. Thisis tedious of course with hundreds or more clips.
Are there any mechanisms that a 3rd party can use to perform the file reference removal? Any other approaches with Avid tools to do this "in bulk" if no mechanism for 3rd parties?
Any ideas or feedback is always appreciated!!!
Yes, this would be a handy addition to the Web Services functionality. In the meantime you could probably do it programmatically by checking out the AAF, rewriting it without the offline resolution, and checking it back in.
Now rewriting an AAF ain't terribly easy, but I do a certain amount of it using the "Media Authoring with Java" API (MAJ): https://github.com/AMWA-TV/maj
Thank you for the feedback on this condition. I have tried variations doing what you suggested (both exported with Access and created with our tools built with Avid's AAF toolkit) and unfortunately it didn't seem to remove references. That said, I will do some additional experiments with your idea.
At a high level, it seems that once a format is checked in to the database, deletion of the original source files causes an "offline" condition and the file references are kept unless manually removed. It seems to be by design. Maybe place holders for archive restores? I am hoping that someone can explain if this is indeed so...
Tried to no avail the idea of using AAF check in to "remove" the media links (AAF has a format different than the removed media). This adds the new format but does not remove the offline links.
Reading through older posts, I noticed a similar question asked in November 2016 with a response from Rob G. indicating that removal of offline media links is not possible with Web Services. We'll have to rethink a few things.
Thanks to all for reading.
Yes, you're right, filemobs removal is not avaialble through IPWS. Moreover offline filemobs should not impact any workflows as they are clearly marked as offline after media deletion.
Let me know if this is not what you see. Also there is no way to bulk delete them in Access as filemobs view is not a part of any existing workflow so users should not pay attention to them.
Thank you for taking the time to respond! The IPWS offline status does indeed work quite well and seems to accurately reflect that media is no longer on shared storage.
However, there is one workflow that we are trying to resolve... This has to do with archival requests for assets with media that was PERMANENTLY deleted. Offline status can exist for other conditions besides permanent media removal (e.g. archived somewhere else and then media is deleted but the file reference is left). What does "offline" really mean. Yes the media is deleted from shared storage but was the intent to delete it forever? or is it stored elsewhere and hence can be brought back "online". In our case the user indeed intended for the format to be deleted forever before archival.
Currently our archival application receives a request to archive an asset (an associated media). The application can see that some files are "offline" but does not know why (could be moved elsewhere? deleted permanently? etc.) so our archive application generates a warning that some media is offline for an archive request. For some specific customer workflows, they are using another of our products to convert ALL XDCAM50 media for existing assets to DNxHD and then post conversion, we use IPWS to delete the XDCAM50. We use AMT to "add" the resolution to an existing asset so both references end up being there.
The client then archives a root folder containing sometimes hundreds of assets and this causes hundreds of warnings about offline media (the XDCAM 50 in this case). Our dilemma is that could the reference be "offline" for another reason (hence the philosophy about a warning) OR was it deleted with the intent of it being removed completely. for now we give the user an option suppress offline media warnings... which can be the solution to this...
My question was generated with the intent of deleting file mob references when the media is PERMANENTLY deleted as a resolution to this particular workflow situation.
Any suggestions about a different approach are always welcome.
© Copyright 2011 Avid Technology, Inc.
Site Map |
Find a Reseller