Package org.opencastproject.crop.api
Interface CropService
public interface CropService
Api for cropping implementations.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.Jobcrop(org.opencastproject.mediapackage.Track track) Takes the given track and returns the job that can be used to get the resulting mpeg7 catalog
-
Field Details
-
JOB_TYPE
Job type- See Also:
-
-
Method Details
-
crop
org.opencastproject.job.api.Job crop(org.opencastproject.mediapackage.Track track) throws CropException, org.opencastproject.mediapackage.MediaPackageException Takes the given track and returns the job that can be used to get the resulting mpeg7 catalog- Parameters:
track- track to crop- Returns:
- the job with which we can obtain the extracted metadata
- Throws:
CropException- if the track could not be croppedorg.opencastproject.mediapackage.MediaPackageException- if the track is invalid
-