Class AudioEncoderAac


  • public final class AudioEncoderAac
    extends AudioEncoderBase
    A custom preset for encoding audio with the AAC codec.
    • Constructor Detail

      • AudioEncoderAac

        public AudioEncoderAac()
    • Method Detail

      • withBitrateKbps

        public AudioEncoderAac withBitrateKbps​(String bitrateKbps)
        Set the bitrateKbps property: Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
        Overrides:
        withBitrateKbps in class AudioEncoderBase
        Parameters:
        bitrateKbps - the bitrateKbps value to set.
        Returns:
        the AudioEncoderBase object itself.