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 Detail

      • startJob

        TranscoderJob startJob​(String filename,
                               InputStream content,
                               TranscoderProfile profile)
                        throws AwsException
        Starts a transcoder job for the specified file, based on the given TranscoderProfile. It first uploads the file to the input bucket in S3 before the job is created.
        Parameters:
        filename - the video's file name
        content - the file of the video
        profile - 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