Class AnimateServiceRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.animate.remote.AnimateServiceRemoteImpl
- All Implemented Interfaces:
AnimateService
Create video animations using Synfig
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase
RemoteBase.HttpClientClosingInputStream -
Field Summary
Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase
client, elementsFromHttpResponse, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.animate.api.AnimateService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, getResponse, getResponse, runRequest, setRemoteServiceManager, setTrustedHttpClient
-
Constructor Details
-
AnimateServiceRemoteImpl
public AnimateServiceRemoteImpl()Creates a new animate service instance.
-
-
Method Details
-
animate
public Job animate(URI animation, Map<String, String> metadata, List<String> options) throws AnimateServiceExceptionDescription copied from interface:AnimateServiceGenerate animated video clip based on an Synfig animation file and a set of metadata.- Specified by:
animatein interfaceAnimateService- Parameters:
animation- Location of the animation file to usemetadata- Map of metadata used for replacementsoptions- List of Synfig command line arguments- Returns:
- Animate service job.
- Throws:
AnimateServiceException- If something went wrong during the animation
-