Interface Container.Builder

  • Method Details

    • duration

      Container.Builder duration(Double duration)
      The total duration of your media file, in seconds.
      Parameters:
      duration - The total duration of your media file, in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      Container.Builder format(String format)
      The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM or MXF. Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.
      Parameters:
      format - The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM or MXF. Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Container.Builder format(Format format)
      The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM or MXF. Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.
      Parameters:
      format - The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM or MXF. Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tracks

      Details about each track (video, audio, or data) in the media file.
      Parameters:
      tracks - Details about each track (video, audio, or data) in the media file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tracks

      Container.Builder tracks(Track... tracks)
      Details about each track (video, audio, or data) in the media file.
      Parameters:
      tracks - Details about each track (video, audio, or data) in the media file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tracks

      Details about each track (video, audio, or data) in the media file. This is a convenience method that creates an instance of the Track.Builder avoiding the need to create one manually via Track.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tracks(List<Track>).

      Parameters:
      tracks - a consumer that will call methods on Track.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: