12-20-2013 06:40 AM
Hi all, it there a way to force conversion of media asset by remote client call? If not, how to do it using local API?
Tnx a lot! M-
01-13-2014 06:53 AM
Hi,
There is no operation yet to trigger the conversions of Pictures or Videos.
For Videos, you can use the VideoService:
VideoService#launchConvertion
to launch a specific conversionVideoService#launchAutomaticConversions
to launch all the registered automatic conversionsFor Pictures, the easiest way for now is to reset the main blob on the Picture: that will trigger all the default conversions:
BlobHolder blobHolder = doc.getAdapter(BlobHolder.class);
if (blobHolder.getBlob() != null) {
blobHolder.setBlob(blobHolder.getBlob());
documentManager.saveDocument(doc);
documentManager.save();
}
01-13-2014 06:53 AM
Hi,
There is no operation yet to trigger the conversions of Pictures or Videos.
For Videos, you can use the VideoService:
VideoService#launchConvertion
to launch a specific conversionVideoService#launchAutomaticConversions
to launch all the registered automatic conversionsFor Pictures, the easiest way for now is to reset the main blob on the Picture: that will trigger all the default conversions:
BlobHolder blobHolder = doc.getAdapter(BlobHolder.class);
if (blobHolder.getBlob() != null) {
blobHolder.setBlob(blobHolder.getBlob());
documentManager.saveDocument(doc);
documentManager.save();
}
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.