All Products
Search
Document Center

Intelligent Media Services:Get started with channel assembly

Last Updated:Feb 24, 2025

This topic walks you through the basic steps to get started with MediaWeaver channel assembly.

Procedure

To use channel assembly, perform the following steps:

  1. Activate Intelligent Media Services (IMS).

  2. Prepare live or video-on-demand (VOD) sources.

  3. Create a source location and add sources to it.

    Configure source groups based on the package configurations to categorize your media sources.

  4. Create a channel.

  5. Schedule programs in the channel.

    Programs associate media sources with channels. A channel can contain multiple sources, and a source can be added to multiple channels.

  6. Start the channel.

  7. Test the channel.

Preparations

  • Activate IMS. For more information, see Activate IMS.

  • Prepare live or VOD sources.

Note

You must provide the path to the M3U8 master playlist for each source. All M3U8 master playlists in a channel must have the same number of media playlists and identical bitrate variants. To learn more about master and media playlists, see Supported protocol.

Configure a channel

Step 1: Add media sources

Perform the following steps to add the media sources that you want to play in a channel:

  1. Log on to the IMS console and select a region in the upper-left corner based on your business requirements.

  2. In the left-side navigation pane, select MediaWeaver > Channel Assembly > Source Locations. Create a source location, which represents the origin server where the master playlist is stored.

    image

    Example:

    • Source Location Name: AliChannelAssemblySourceLocations

    • Base URL: The URL of the origin server. For example, if the path of the master playlist is http://myresource.aliyundoc.com/video1.m3u8, enter http://myresource.aliyundoc.com.

  3. Click the source location name (AliChannelAssemblySourceLocations) to access the source location details page.

  4. To add VOD sources to the source location, click the VOD Source tab and then click Add VOD Source.

    image

  5. Configure the parameters in the following image based on your business requirements.image

    Example:

    • Name: FirstSource

    • Source Group Name: PlayerSource

      Make a note of this name. You will reference it when you create your channel's output.

    • Relative Path: The relative path from the base URL of the source location to the master playlist. For example, if the path of the master playlist is http://myresource.aliyundoc.com/video1.m3u8, enter /video1.m3u8.

  6. Click OK to add the VOD source.

If you want to add more VOD sources, repeat steps 4 to 6 in the procedure.

Step 2: Create a channel

  1. In the left-side navigation pane, choose MediaWeaver > Channel Assembly > Channels.

  2. Click Create Channel.image

  3. Configure the parameters in the following image based on your business requirements.image

    Example:

    • Name: AliChannelAssemblyChannels

    • Tier: Basic

    • Playback Mode: Loop

    • Access Control: Disabled

    • Add Output:

      • Manifest Name: index

      • Source Group Name: PlayerSource

        The value must be the same as the source group name specified for the package configuration of the source.

      • Manifest settings: This example uses the default settings.

Step 3: Configure channel programs

After adding media sources and creating a channel, add programs to the channel. Each program contains a VOD source or a live source from your source locations.

  1. Click the channel name (AliChannelAssemblyChannels) to access the channel details page.

  2. On the Program & Schedule tab, click Add Program. image

  3. Configure the parameters in the following image based on your business requirements.image

    Example:

    • Name: FirstProgram

    • Source Location: AliChannelAssemblySourceLocations

    • VOD Source: FirstSource

    • Schedule Configuration: This example uses the default settings.

    • Ad Breaks: In this example, no ad breaks are inserted. You can add one later.

  4. Click OK to add the program.

If you want to add more programs in the channel, repeat steps 2 to 4 in the procedure.

Programs added are displayed on the Program & Schedule tab.

image

Test a channel

Step 1: Start a channel

Before you can access the channel's stream, you must start your channel. 

To do so, click the channel name to access its details page, then click Start.

image

When the channel state turns to Running, the channel is started.

image

Step 2: Play the channel

  1. Click the channel name to access its details page, then click the Output tab.

  2. Use the Playback URL provided in the console to play the channel's stream. A player that supports the HTTP Live Streaming (HLS) protocol is required.

    image

FAQs

Why isn't the channel's stream playing properly?

  • You must provide the path to the M3U8 master playlists for the media assets. All M3U8 master playlists in a channel must contain the same number of media playlists and the same bitrate variants. To learn more about master and media playlists, see Supported protocol.

  • Before you can access the channel's stream, you must start your channel. Check if the channel has been started.

Why is the video playback stuttering?

  • Check your network environment. To reduce latency and enhance the viewer experience, we recommend using a content delivery network (CDN).

Other playback issues

  • To troubleshoot playback issues, go to the channel details page and click the Alert tab to view the running records. Alerts and error messages are provided.

References

This topic introduces the basic steps for using channel assembly. To learn details about source, channel, and program configurations, see Feature configurations.

You are charged fees for channel assembly. For more information, see Billing of channel assembly.