AudioEncoder
One configured and opened audio encoder. Some codecs require a fixed input chunk size (AAC: 1024 samples). For those, route frames through FilterGraph.buildAudio and call FilterGraph.setOutputFrameSize with frameSize (Transcoder does this automatically).
One configured and opened audio encoder. Some codecs require a fixed input chunk size (AAC: 1024 samples). For those, route frames through FilterGraph.buildAudio and call FilterGraph.setOutputFrameSize with frameSize (Transcoder does this automatically).
One configured and opened audio encoder. Some codecs require a fixed input chunk size (AAC: 1024 samples). For those, route frames through FilterGraph.buildAudio and call FilterGraph.setOutputFrameSize with frameSize (Transcoder does this automatically).
One configured and opened audio encoder. Some codecs require a fixed input chunk size (AAC: 1024 samples). For those, route frames through FilterGraph.buildAudio and call FilterGraph.setOutputFrameSize with frameSize (Transcoder does this automatically).
Properties
The channel layout the encoder opened with, as an FFmpeg channel mask: the spec's AudioEncoderSpec.channelLayoutMask, or FFmpeg's default layout for channels.
The channel layout the encoder opened with, as an FFmpeg channel mask: the spec's AudioEncoderSpec.channelLayoutMask, or FFmpeg's default layout for channels.
The channel layout the encoder opened with, as an FFmpeg channel mask: the spec's AudioEncoderSpec.channelLayoutMask, or FFmpeg's default layout for channels.
The channel layout the encoder opened with, as an FFmpeg channel mask: the spec's AudioEncoderSpec.channelLayoutMask, or FFmpeg's default layout for channels.
Samples the codec wants per frame; 0 when the codec takes arbitrary chunk sizes.
Samples the codec wants per frame; 0 when the codec takes arbitrary chunk sizes.
Samples the codec wants per frame; 0 when the codec takes arbitrary chunk sizes.
The sample format actually negotiated (resolves AudioEncoderSpec.sampleFormat = None).
The sample format actually negotiated (resolves AudioEncoderSpec.sampleFormat = None).
The sample format actually negotiated (resolves AudioEncoderSpec.sampleFormat = None).
The sample format actually negotiated (resolves AudioEncoderSpec.sampleFormat = None).
The sample rate the encoder opened with.
The sample rate the encoder opened with.
The sample rate the encoder opened with.
The sample rate the encoder opened with.