Setting up audio-only outputs - MediaConvert
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Setting up audio-only outputs

You set up an audio-only output in the same way that you set up an output that contains video, except that you don't include video or captions.

MediaConvert generates the following files for audio-only outputs:

  • File output groups: One separate audio-only file for each output.

  • HLS output groups: A single rendition in the ABR stack for each output.

  • DASH ISO output groups: A single rendition in the ABR stack for each output.

Note

For AAC streaming outputs, the initial segment is longer in duration than the others. This is because, with AAC, the initial segment must contain silent AAC pre-roll samples before the audible part of the segment. MediaConvert accounts for these extra samples in the timestamps, so the audio plays back correctly.

To create an audio-only output (console)
  1. To confirm that MediaConvert supports your input files, consult the input table in Supported codecs and containers for audio-only outputs.

  2. Set up your job as described in Configuring jobs in MediaConvert, but with the following differences:

    • Remove the Video tab in the Encoding settings section of your output.

    • Choose a supported output container and audio codec from the output table in Supported codecs and containers for audio-only outputs.

    • Include only one group of audio settings per output. That is, don't choose Add audio to create an Audio 2 tab under Encoding settings.

  3. If your outputs are in an HLS output group, choose a container for the audio-only output.

    Under Output settings, in the Audio section, for Container for audio-only output, choose MPEG-2 Transport Stream to create a file in an MPEG2-TS container. Keep the default value Automatic to create a raw audio-only file with no container.

To create an audio-only output (API, SDK, and Amazon CLI)
  1. To confirm that MediaConvert supports your input files, consult the input table in Supported codecs and containers for audio-only outputs.

  2. Set up your JSON job specification. Either manually edit your JSON file, or use the console to generate it as follows:

    1. Follow the previous procedure for the console.

    2. In the Job pane on the left, under Job settings, choose Show job JSON.

    The JSON job specification for audio-only jobs differs from standard jobs as follows:

    • Exclude each instance of VideoDescription and its children from the Outputs portion of your job JSON.

    • For each output, include only one child group of audio settings under AudioDescriptions.

    • For audio-only outputs in an HLS output group, specify a container for the audio-only output. Under Outputs, OutputSettings, HlsSettings include the property HlsAudioOnlyContainer. Set it to M2TS to create a file in an MPEG2-TS container. Set it to AUTOMATIC to create a raw audio-only file with no container. AUTOMATIC is the default behavior.