

# Complete the settings for each input
<a name="creating-a-channel-step2a"></a>

As soon as you attach the input on the **Attach input** sections, the **Input attachment** section closes and the **General input settings** section appears for that input. You must complete these fields to configure the input:
+ Configure the input connection.
+ Identify the video, audio, and captions to extract from the input.

**To configure the input**

1. Complete the fields as required. See the topics links below. For details about a field, choose the **Info** link next to the field on the MediaLive console:
   + For most fields, the default values are sufficient. 
   + However, if you want to include audio and captions in the outputs, you must complete the **Audio selectors** and **Caption selectors** sections; the defaults do not specify enough information.

1. Complete the following field in the **General settings** section in the navigation pane:
   + **Global configuration **- **Input loss behavior**. These fields configure how the channel behaves when it stops receiving content from any input. For more details, see [Handling loss of video input](feature-input-loss.md). These fields apply to all inputs, therefore you only need to set them once for the entire channel.

1. If you are setting up the channel with multiple inputs, add more inputs to the channel. For guidelines about implementing input switching, see [Setting up for input switching](scheduled-input-switching.md).

1. When ready, go to the [next step](creating-a-channel-step3.md).

**Topics**
+ [Input settings—Network input settings](input-network-input.md)
+ [Input settings—Other settings](input-other-settings.md)
+ [Input settings—Video selector](input-video-selector.md)
+ [Input settings—Audio selectors](input-audio-selectors.md)
+ [Input settings—Caption selectors](input-caption-selectors.md)

# Input settings—Network input settings
<a name="input-network-input"></a>

The fields in the Network input settings section apply only to HLS inputs and multicast inputs. 
+ For HLS inputs, all the fields except **Multicast input settings** apply.
+ For multicast inputs, only the **Multicast input settings** applies.

# Input settings—Other settings
<a name="input-other-settings"></a>

The fields that are not within the **Network input settings** section apply to all inputs. For details about a field, choose the **Info** link next to the field.

# Input settings—Video selector
<a name="input-video-selector"></a>

This section lets you identify the video to extract from the input, and lets you enable the optional color space feature. 

1. In **Video selector**, choose **Video selector**. More fields appear. 

1. Complete **Selector settings** as specified in the table after this procedure. 

   Keep in mind that there is no button to add more video selectors because you can extract only one video asset from the input.

1. For all input types, complete **Color space** and **Color space usage**, but only if you want to configure the handling of color space. For more information, see [Handling complex color space conversions](color-space.md).

**Determining whether you need to create a video selector**

When you planned the channel, you should have [identified the video](channel-map-output-source.md) that you need to extract from this input. 

You must now determine if you need to create a *video selector*, to identify the specific asset to extract from the input. Some input types require selectors, some input types don't require them.

The following table specifies whether you need to create a video selector. 

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/medialive/latest/ug/input-video-selector.html)

# Input settings—Audio selectors
<a name="input-audio-selectors"></a>

If you want to extract audio from the input, this section is required. You create one or more audio selectors to identify the audio asset to extract. Typically, you identify different languages from the input, but you could also extract different audio codecs (such as AAC and Dolby).

You can create a maximum of 20 audio selectors in one channel.

**To identify the audio to extract**

1. Decide if you need to create any audio selectors. When you planned the channel, you should have [identified the audio assets](channel-map-output-source.md) that you need to extract from this input. 

   The following table specifies whether you need to create an audio selector in order to extract that audio. In the table, find your input type and read across the row for guidance.    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/medialive/latest/ug/input-audio-selectors.html)

   If the input contains more than one audio asset and you don't create a selector, MediaLive selects the first audio it encounters.

1. Choose **Add audio selector** once for each audio that you want to extract from the input.

   If you are creating a channel with multiple inputs, then you must extract the same audio languages from every input. For example, you must extract English and Spanish audio from every input. 

1. In **Audio selector name**, enter a name that describes the audio that you are extracting.

   If you are creating a channel with multiple inputs, then you must assign the identical name to the selector in every input. For example, create a selector called **audio-english** in every input, and a selector called **audio-spanish** in every input.

1. In **Selector Settings**, choose the appropriate type of selector, then complete the field that appears.
   + If you choose **Audio track selection**, then choose **Add tracks** to add a selector for each track you want to extract. 
   + If you choose **Audio pid selection**, enter the PID for the audio asset.
   + If you choose **Audio language selection**, enter the three-letter ISO code for the language of the audio asset to extract. Then complete **Language selection policy**. 

# Input settings—Caption selectors
<a name="input-caption-selectors"></a>

If you want to extract captions from the input or to specify an external file as the source of the captions, this section is required. You create one or more captions selectors to identify the captions to extract. Typically, you identify different languages in each selector, but you could also identify different captions formats. 

For each captions item that you want to extract or include, choose the **Add captions** selector. 

**To identify the caption assets to extract**

1. Choose **Add caption selector** once for each captions asset that you want to extract from the input.

   If you are creating a channel with multiple inputs, then you must extract the same captions languages from every input. For example, you must extract English and Spanish captions from every input. 

1. In **Caption selector name**, enter a name that describes the captions that you are extracting.

   If you are creating a channel with multiple inputs, then you must assign the identical name to the selector in every input. For example, create a selector called **captions-english** in every input, and a selector called **captions-spanish** in every input.

1. In **Selector Settings**, select the format of the captions asset to extract. Then complete the fields that apply to that format.

For more information about setting up an input for captions, see [Including captions in a channel](captions.md), specifically [Create captions selectors in the inputs](identify-captions-in-the-input.md).