Class PresetAudio


  • public final class PresetAudio
    extends java.lang.Object
    • Method Detail

      • audioPackingMode

        public java.util.Optional<java.lang.String> audioPackingMode()
        Returns:
        The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.
      • bitRate

        public java.util.Optional<java.lang.String> bitRate()
        Returns:
        The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
      • channels

        public java.util.Optional<java.lang.String> channels()
        Returns:
        The number of audio channels in the output file
      • codec

        public java.util.Optional<java.lang.String> codec()
        Returns:
        The audio codec for the output file. Valid values are `AAC`, `flac`, `mp2`, `mp3`, `pcm`, and `vorbis`.
      • sampleRate

        public java.util.Optional<java.lang.String> sampleRate()
        Returns:
        The sample rate of the audio stream in the output file, in hertz. Valid values are: `auto`, `22050`, `32000`, `44100`, `48000`, `96000`