Interface ElasticTranscoder
- All Known Implementing Classes:
ElasticTranscoderImpl
public interface ElasticTranscoder
Proxy to AWS Elastic Transcoder (and S3) that enables the creation of transcoder jobs based on a
TranscoderProfiles.- Author:
- avasquez
-
Method Summary
Modifier and TypeMethodDescriptionstartJob(String filename, InputStream content, TranscoderProfile profile) Starts a transcoder job for the specified file, based on the givenTranscoderProfile.
-
Method Details
-
startJob
TranscoderJob startJob(String filename, InputStream content, TranscoderProfile profile) throws AwsException Starts a transcoder job for the specified file, based on the givenTranscoderProfile. It first uploads the file to the input bucket in S3 before the job is created.- Parameters:
filename- the video's file namecontent- the file of the videoprofile- the transcoding profile- Returns:
- the metadata of the transcoder job. It's important to point out that returning the job info doesn't mean that the job has been completed. To monitor the progress of the job the returned job ID can be used.
- Throws:
AwsException- if an error occurred
-