Class TranscoderOutput

java.lang.Object
org.craftercms.studio.api.v1.aws.elastictranscoder.TranscoderOutput

public class TranscoderOutput extends Object
Holds the information for a specific output a transcoder should generate.
Author:
avasquez
  • Constructor Details

    • TranscoderOutput

      public TranscoderOutput()
  • Method Details

    • getPresetId

      public String getPresetId()
      Returns the ID of the preset with the transcoding configuration.
    • setPresetId

      public void setPresetId(String presetId)
      Sets the ID of the preset with the transcoding configuration.
    • getOutputKeySuffix

      public String getOutputKeySuffix()
      Returns the key suffix for files generated for this output (e.g. -small, -medium, -large)
      Returns:
      output key suffix
    • setOutputKeySuffix

      public void setOutputKeySuffix(String outputKeySuffix)
      Sets the key suffix for files generated for this output (e.g. -small, -medium, -large)
      Parameters:
      outputKeySuffix - output key suffix
    • getThumbnailSuffixFormat

      public String getThumbnailSuffixFormat()
      Returns the thumbnail suffix format for this output. If nothing is specified, no thumbnails will be generated. The format should at least contain the macro {count} (required by AWS). {resolution} can also be specified. E.g. -{resolution}-{count}.jpg
      Returns:
      thumbnail suffix format
    • setThumbnailSuffixFormat

      public void setThumbnailSuffixFormat(String thumbnailSuffixFormat)
      Sets the thumbnail suffix format for this output. If nothing is specified, no thumbnails will be generated. The format should at least contain the macro {count} (required by AWS). {resolution} can also be specified. E.g. -{resolution}-{count}.jpg
      Parameters:
      thumbnailSuffixFormat - thumbnail suffix format